[gambit-list] Gambit b13 win32 build report

Scott Graham sgraham at gmail.com
Sat May 14 13:48:00 EDT 2005


Hi

Gambit, as of beta 13 isn't quite buildable on windows using msvc. I'm
using the attached vs71 projects (which should be extracted to the
root of the gambit directory to be used). btw, the proj_msc.zip
project in 'misc' is out of date, and unlikely to be loadable by
anyone anymore anyway.

The errors I get are many like this:

_thread.c
c:\desktop\gambc40b13\lib\_thread.c(2479) : error C2065:
'___REGISTER_HOST_ENTRY' : undeclared identifier
c:\desktop\gambc40b13\lib\_thread.c(2479) : error C2146: syntax error
: missing ';' before identifier '___jump'
c:\desktop\gambc40b13\lib\_thread.c(2479) : error C2144: syntax error
: '<Unknown>' should be preceded by '<Unknown>'
c:\desktop\gambc40b13\lib\_thread.c(2479) : error C2144: syntax error
: '<Unknown>' should be preceded by '<Unknown>'
c:\desktop\gambc40b13\lib\_thread.c(2479) : error C2143: syntax error
: missing ';' before 'identifier'
...

Adding:

#define ___REGISTER_HOST_ENTRY

at line 3192 (in the #else of #ifdef ___USE_LABEL_VALUES) allows
compilation to succeed. I do not have any substantial Gambit code to
test with, but simple tests seemed to work ok.


Also, I get the following moderately concerning warning, which looks
to be becuase no device is set up when USE_POSIX isn't defined. I
don't know of a good fix for this:

c:\desktop\gambc40b13\lib\os_io.c(5527) : warning C4700: local
variable 'dev' used without having been initialized

thanks,
scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambit_msvc_project.zip
Type: application/zip
Size: 3808 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20050514/d5c9b001/attachment.zip>


More information about the Gambit-list mailing list