Could anyone please guide me how to set the settings within VC6 to get rid of the following errors while building a DC++ .exe file?
--------------------Configuration: client - Win32 Debug--------------------
Compiling...
stdinc.cpp
e:\dc++compilingstuff\stlport\stl\_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
e:\dc++compilingstuff\stlport\stl\_threads.h(116) : see declaration of 'InterlockedIncrement'
e:\dc++compilingstuff\stlport\stl\_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
e:\dc++compilingstuff\stlport\stl\_threads.h(117) : see declaration of 'InterlockedDecrement'
e:\dc++compilingstuff\stlport\stl\_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
e:\dc++compilingstuff\stlport\stl\_threads.h(118) : see declaration of 'InterlockedExchange'
Error executing cl.exe.
DCPlusPlus.exe - 3 error(s), 0 warning(s)
I have updated the Platform SDK.
STL and WTL are also in the directories.
Greetz from Hell
PS: .NET2002 nor 2003 work for me
VC6 compiling problems
Moderator: Moderators
-
- Posts: 12
- Joined: 2003-01-05 18:50
- Contact:
VC6 compiling problems
HELL is where you belong
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Are you sure that you have included the sdk and stl _before_ normal includes?
If you want dc++ to compile with vs .net 2003 you´ll have to apply the patch t o stl port in THIS thread and then get the patch for dc++ HERE.
And be sure to read through both threads completly to get all information you need about the patching andd problems you can get(and how to solve them).
If you want dc++ to compile with vs .net 2003 you´ll have to apply the patch t o stl port in THIS thread and then get the patch for dc++ HERE.
And be sure to read through both threads completly to get all information you need about the patching andd problems you can get(and how to solve them).
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Posts: 12
- Joined: 2003-01-05 18:50
- Contact: