Compiling V:0.301 with VC++ 6 (C4182+C1076)
Moderator: Moderators
Compiling V:0.301 with VC++ 6 (C4182+C1076)
I use Microsoft Visual C++ 6.0 ,STLPort-4.5.1020, wtl7.0, and Core sdk.
My OS: winXPpro
V:0.301
When I compile I get this error.
--------------------Configuration: client - Win32 Debug--------------------
Compiling...
stdinc.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
c:\include\stdarg.h(23) : warning C4182: #include nesting level is 363 deep; possible infinite recursion
c:\include\stdarg.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
Error executing cl.exe.
DCPlusPlus.exe - 1 error(s), 1 warning(s)
---------------------------------------------------------------------------
How fix it?
Please help me.
Bye bye
My OS: winXPpro
V:0.301
When I compile I get this error.
--------------------Configuration: client - Win32 Debug--------------------
Compiling...
stdinc.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
c:\include\stdarg.h(23) : warning C4182: #include nesting level is 363 deep; possible infinite recursion
c:\include\stdarg.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
Error executing cl.exe.
DCPlusPlus.exe - 1 error(s), 1 warning(s)
---------------------------------------------------------------------------
How fix it?
Please help me.
Bye bye
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
SDK
I update my SDK from http://www.microsoft.com/msdownload/pla ... sdkupdate/
But when I compile I get the error (up there).
...any ideas?
The Windows SDK consists of the following components:
Core SDK
Internet Development SDK
IIS SDK
MDAC SDK
Windows Installer SDK
WMI SDK
Windows Media Services SDK
But when I compile I get the error (up there).
...any ideas?
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
My includes now:
But when I compile I get this error:
Please Help Me...
But when I compile I get this error:
Code: Select all
--------------------Configuration: client - Win32 Debug--------------------
Compiling...
stdinc.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
c:\stlport-4.5.1020\stl\_threads.h(120) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
c:\stlport-4.5.1020\stl\_threads.h(120) : see declaration of 'InterlockedIncrement'
c:\stlport-4.5.1020\stl\_threads.h(121) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
c:\stlport-4.5.1020\stl\_threads.h(121) : see declaration of 'InterlockedDecrement'
c:\stlport-4.5.1020\stl\_threads.h(122) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
c:\stlport-4.5.1020\stl\_threads.h(122) : see declaration of 'InterlockedExchange'
Error executing cl.exe.
DCPlusPlus.exe - 3 error(s), 0 warning(s)
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
joakim_tosteberg:
Thanks for your help, but my vc6 is fresh, and i use Visual Studio 6.0 Service Pack 5.
And i try compile with redownloaded dc++ source,
but i get errors (up there).
TheParanoidOne:
Thanks for your help, but if i add only "sdk/include" to my includes,
i get 188 errors, 29 warnings.
Ergo i think its a bad idea.
(Sorry for my English )
Thanks for your help, but my vc6 is fresh, and i use Visual Studio 6.0 Service Pack 5.
And i try compile with redownloaded dc++ source,
but i get errors (up there).
TheParanoidOne:
Thanks for your help, but if i add only "sdk/include" to my includes,
i get 188 errors, 29 warnings.
Ergo i think its a bad idea.
(Sorry for my English )
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us