compile errors:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\errno.h(29) : error C2144: syntax error : missing ';' before type 'int'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\errno.h(29) : fatal error C1004: unexpected end of file found
Any ideas? suggestions? I remember having a similar problem on linux that required me to compile with -DXOPEN_SOURCE=500 but defining that in the win32 compile doesn't seem to help. I got the library to compile and link, but I can't get my project to compile and link.
Dave Huseby
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using VS 6.0 sp5 I'm getting the following linking warnings and compile errors that I have determined are part of the CC++ library:
linking warnings:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\cc++\thread.h(486): warning C4273 'waitThread' : inconsistent dll linkage. dllexport assumed.
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\cc++\thread.h(487): warning C4273 'delay' : inconsistent dll linkage. dllexport assumed.
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\cc++\thread.h(488): warning C4273 'yield' : inconsistent dll linkage. dllexport assumed.
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\cc++\thread.h(490): warning C4273 'getException' : inconsistent dll linkage. dllexport assumed.
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\cc++\thread.h(491): warning C4273 'setException' : inconsistent dll linkage. dllexport assumed.
compile errors:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\errno.h(29) : error C2144: syntax error : missing ';' before type 'int'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\errno.h(29) : fatal error C1004: unexpected end of file found
Any ideas? suggestions? I remember having a similar problem on linux that required me to compile with -DXOPEN_SOURCE=500 but defining that in the win32 compile doesn't seem to help. I got the library to compile and link, but I can't get my project to compile and link.
Dave Huseby
I fixed the compile errors...(always remember to put ; after typedef's :-) I'm still getting those link warnings tho...