Compiling Problems...

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

Moderator: Moderators

spideronz
Posts: 2
Joined: 2003-06-14 11:52

Compiling Problems...

Post by spideronz » 2003-06-14 11:57

So... I've installed the sdk support... copied the WTL include in the VC6 Include directory.... ed inserted the stlport directory above the standard vc directories... but stil appear this message error compiling:

Code: Select all

Compiling...
stdinc.cpp
c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
        c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(116) : see declaration of 'InterlockedIncrement'
c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
        c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(117) : see declaration of 'InterlockedDecrement'
c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
        c:\documents and settings\administrator\desktop\stlport-4.5.3-dcpp\stlport\stl\_threads.h(118) : see declaration of 'InterlockedExchange'
Error executing cl.exe.

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


Someone could help me about this problem?

I'm Using Vc6 on Win2k

Tnx in advance

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Re: Compiling Problems...

Post by GargoyleMT » 2003-06-14 14:29

Sorry, no clue here. I started with VS.NET, and other than initially setting up the include directories, it's given me no problems since then.

Why are you copying ATL into your VS6 directory? I just extract both that and STLport to two separate directories under C:\include\ (I'm a unix guy at heart) and include them there?

A Project clean and rebuild never hurt anyone either. :)

Who is online

Users browsing this forum: Google [Bot] and 0 guests