[pypy-dev] Compilation errors

Ben.Young at risk.sungard.com Ben.Young at risk.sungard.com
Wed Aug 10 11:06:08 CEST 2005


Hi everyone,

Is anyone else getting compilation errors on any generated c program at 
the moment? This is happening on Windows, and has been going on for a 
couple of days. The errors are:

- - - - - - - - - - -  test_set_attr: recorded stdout - - - - - - - - - - 
- -
testing_1.c^M
c:\Documents and Settings\YoungB\dist\pypy\translator\c\src\ll_os.h(92) : 
warning C4013: 'getcwd' undefined; assuming extern returning
int^M
c:\Documents and Settings\YoungB\dist\pypy\translator\c\src\ll_os.h(92) : 
warning C4047: '=' : 'char *' differs in levels of indirectio
n from 'int'^M
c:\Documents and Settings\YoungB\dist\pypy\translator\c\src\ll_os.h(160) : 
warning C4244: 'return' : conversion from '__int64' to 'long
', possible loss of data^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(26) : error C2143: 
syntax error : missing ';' before 'type'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(34) : error C2143: 
syntax error : missing ';' before 'type'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(35) : error C2065: 
's' : undeclared identifier^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(35) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(36) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(37) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(38) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(39) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(40) : warning 
C4047: 'function' : 'char *' differs in levels of
 indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(42) : error C2065: 
'buf_size' : undeclared identifier^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(42) : warning 
C4047: '=' : 'char *' differs in levels of indire
ction from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(43) : warning 
C4047: 'function' : 'const char *' differs in lev
els of indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(45) : warning 
C4022: 'free' : pointer mismatch for actual param
eter 1^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(48) : warning 
C4047: '==' : 'char *' differs in levels of indir
ection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(53) : warning 
C4047: 'function' : 'const char *' differs in lev
els of indirection from 'int'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(60) : error C2143: 
syntax error : missing '{' before '*'^M
c:\Documents and 
Settings\YoungB\dist\pypy\translator\c\src\ll_strtod.h(104) : warning 
C4133: 'return' : incompatible types - from 'RPy
String *' to 'int *'^M

Not sure exactly what's causing the error, as visual studio never does a 
file "traceback".

Cheers,
Ben



More information about the Pypy-dev mailing list