yarv-dev-en:80
From: "Wilson Bilkovich" <wilsonb gmail.com>
Date: Sat, 25 Feb 2006 14:55:40 -0500
Subject: [yarv-dev-en:80] 474 and 475 build failure on Win32
Revisions 474 and 475 of the YARV trunk fail during compilation with this error:
e:/Projects\yarv\vm.c(958) : error C2275: 'yarv_control_frame_t' :
illegal use of this type as an expression
e:\Projects\yarv\yarvcore.h(316) : see declaration of
'yarv_control_frame_t'
e:/Projects\yarv\vm.c(958) : error C2065: 'cfp' : undeclared identifier
e:/Projects\yarv\vm.c(959) : error C2223: left of '->iseq' must point
to struct/union
e:/Projects\yarv\vm.c(959) : error C2223: left of '->lfp' must point
to struct/union
e:/Projects\yarv\vm.c(959) : error C2198: 'get_cref' : too few
arguments for call through pointer-to-function
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I started switching down one revision at a time, and 473 builds
correctly. It looks like this was introduced in the revision 474
changeset, probably the change from this comment:
* yarvcore.c : fix to initialize/free process of iseq
I've attached the 'nmake' session log for version 475.
Here's what my build environment looks like:
E:\ruby\build_yarv>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
E:\ruby\build_yarv>link
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
E:\ruby\build_yarv>nmake /?
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
E:\ruby\build_yarv>lib
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
E:\ruby\build_yarv>echo %LIB%
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\ATLMFC\LIB;C:\Program Fil
es\Microsoft Visual Studio .NET 2003\VC7\LIB;C:\Program Files\Microsoft Visual S
tudio .NET 2003\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .
NET 2003\SDK\v1.1\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.
1\Lib\
E:\ruby\build_yarv>echo %INCLUDE%
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\ATLMFC\INCLUDE;C:\Program
Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE;C:\Program Files\Microsoft
Visual Studio .NET 2003\VC7\PlatformSDK\include\prerelease;C:\Program Files\Micr
osoft Visual Studio .NET 2003\VC7\PlatformSDK\include;C:\Program Files\Microsoft
Visual Studio .NET 2003\SDK\v1.1\include;C:\Program Files\Microsoft Visual Stud
io .NET 2003\SDK\v1.1\include\
--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml
-> @ 80 2006-02-26 04:55 [wilsonb gmail.com ] 474 and 475 build failure on Win32 81 2006-02-27 22:21 ┗[ko1 atdot.net ]