Archived

This forum has been archived. Please start a new discussion on GitHub.

how can i compile ice file in vc6 IDE ?

i have created a console project ,and followed the Printer example, i add all those files into my console project, but when i compile the compile, many error occured


c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(187) : see declaration of 'InterlockedIncrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(188) : see declaration of 'InterlockedDecrement'
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
c:\ice-3.0.0-vc60\include\stlport\stl\_threads.h(189) : see declaration of 'InterlockedExchange'
c:\ice-3.0.0-vc60\include\ice\proxy.h(400) : error C2027: use of undefined type 'Object'

could anyone tell me how to compile it under vc6 ide, or i could only compile in command line?

Comments