C2733 error

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
korsch
Posts: 2
Joined: 2003-02-02 17:05

C2733 error

Post by korsch » 2003-02-02 17:09

I know it's come up before but I have installed and reinstalled the newest SDK but I still get this error compiling:

Compiling...
stdinc.cpp
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(116) : see declaration of 'InterlockedIncrement'
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(117) : see declaration of 'InterlockedDecrement'
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE\STLPORT\stl/_threads.h(118) : see declaration of 'InterlockedExchange'
Error executing cl.exe.

DCPlusPlus.exe - 3 error(s), 0 warning(s)

Maia
Posts: 2
Joined: 2003-02-07 07:47

Post by Maia » 2003-02-07 08:21

Hmmm ... maybe you need to register your SDK after installing it? ... try to read the following topic:

http://dcplusplus.sourceforge.net/forum ... .php?t=261
Every blade has its own dewdrop.

Locked