Menu

Win32 linking warnings an compile errors...

Help
2001-04-25
2001-04-26
  • Dave Huseby

    Dave Huseby - 2001-04-25

    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

     
    • Dave Huseby

      Dave Huseby - 2001-04-26

      I fixed the compile errors...(always remember to put ; after typedef's :-)  I'm still getting those link warnings tho...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.