By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,647 Members | 1,643 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,647 IT Pros & Developers. It's quick & easy.

Compile error in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

P: n/a
Hi,
I'm new to .NET 2003 compiler. When I tried to compile my
program using DEBUG mode, I got the following errors in the
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug file as folows. I need help to resolve
them ASAP:

cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D "
WIN32" /D "_W
INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
D "MSVC" /D "__WIN32_
_" /D "__WINDOWS_H" /D "DKEXPORTING" /D "MSVC71" /Fd"..\db
_obj_v71/" /Fo"..\db_
obj_v71/" /FAsc /Fa"..\db_obj_v71
\DKException".cod /I "..\common" /I "..\coll" /
I "..\oqs" /I "..\fed" /I "..\logtool" /IC:PROGRA~1
\MICROS~1.NET\include /IC:PRO
GRA~1\MICROS~1.NET\\include /I e:\frnroot\include /I
e:\frnroot\inc "DKException
..cpp"
DKException.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and
Windows .NET Server)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : warn
ing C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2365: 'new' : redefinition; previous definition was
a 'member function'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2491: 'new' : definition of dllimport data not allowed
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2078: too many initializers
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2440: 'initializing' : cannot convert from 'int'
to 'void *'
Conversion from integral type to pointer type
requires reinterpret_cast,
C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2143: syntax error : missing ';' before '('
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(29) : erro
r C2226: syntax error : unexpected type 'size_t'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(30) : erro
r C2059: syntax error : ')'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : warn
ing C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C2365: 'new' : redefinition; previous definition was
a 'member function'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C2491: 'new' : definition of dllimport data not allowed
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C2078: too many initializers
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C2440: 'initializing' : cannot convert from 'int'
to 'void *'
Conversion from integral type to pointer type
requires reinterpret_cast,
C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C2143: syntax error : missing ';' before '['
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(33) : erro
r C3409: empty attribute block is not allowed
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(34) : warn
ing C4091: '' : ignored on left of 'unsigned int' when no
variable is declared
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(34) : erro
r C2143: syntax error : missing ';' before ','
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(34) : erro
r C2059: syntax error : ','
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug(34) : fata
l error C1004: unexpected end of file found
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.NET\VC7
\BIN\nmake.exe' : return
code '0x2'
Stop.

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.