Compiling with MS Visual C++ 2005 Express Beta 1

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

Moderator: Moderators

Locked
MatB
Posts: 2
Joined: 2004-10-22 03:26
Location: Germany

Compiling with MS Visual C++ 2005 Express Beta 1

Post by MatB » 2004-10-25 06:51

Hi folks!
I'm trying to build with VC++2005 but i have no luck. Maybe i'm missing something more than luck.
My include files are like this:
- the stl folder
- $(VCInstallDir)include
- $(VCInstallDir)\SDK\
- $(FrameworkSDKDir)include

with this configuration, it asks for the Winsock2.h (that comes with the Platform SDK).
As soon as i include the folder of the SDK (c:\Program Files\Microsoft SDK\include) i get thousand of errors, the firsts being:

------ Build started: Project: MakeDefs, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9002 : ignoring unknown option '/YXstdafx.h'
MakeDefs.cpp
c:\...\stl\stdexcept(72) : warning C4996: 'strncpy' was declared deprecated
c:\Programme\Microsoft Visual Studio 8\VC\include\string.h(121) : see declaration of 'strncpy'
c:\...\DCPlusPlus-0.4034-src\client\DCPlusPlus.h(41) : warning C4996: '_vsnprintf' was declared deprecated
c:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(304) : see declaration of '_vsnprintf'
c:\...\DCPlusPlus-0.4034-src\client\Text.h(94) : error C2143: syntax error : missing ',' before '*'
c:\...\DCPlusPlus-0.4034-src\client\Text.h(94) : error C2734: 'u_int8_t' : const object must be initialized if not extern
c:\...\DCPlusPlus-0.4034-src\client\Text.h(94) : error C2146: syntax error : missing ')' before identifier 'u_int8_t'

I simplified the paths above with "...".
It looks like a lot of grammar errors. Seems really strange to me.
Any idea?
Thanks,

MatB

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-10-25 07:17

None of the developers have access to VC++2005.

The following link might be useful:
http://dcplusplus.sourceforge.net/forum ... light=2005
The world is coming to an end. Please log off.

DC++ Guide | Words

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

Post by GargoyleMT » 2004-10-25 10:56

Mat, the Express Beta also does not include the ATL files you need to compile DC++. This is a FAQ on Microsoft's site where you had to sign up to download it.

And the ATL files from previous Visual Studio versions will not compile with it - they're even stricter on C++ compliance.

Locked