Archived

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

problem in compiling icestormS with vc6

i use vc++6.0sp5 to compile ice3.0.1 source code
and configure it with ThirdParty-3.0.1-VC60.msi
when it came to icestormS, the error came out
i've searched this forum for the reason but no answer is found out
thanks for the help in advance.

this is the Build Log below



Configuration: icestormS - Win32 Debug

Command Lines
Creating temporary file "C:\DOCUME~1\leya\LOCALS~1\Temp\RSP12F.tmp" with contents
[
/nologo /MDd /W3 /WX /Gm /GR /GX /Zi /Od /I ".." /I "../../include" /D "_USRDLL" /D "ICE_STORM_SERVICE_API_EXPORTS" /D "_CONSOLE" /D "_DEBUG" /D "WIN32_LEAN_AND_MEAN" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"E:\project\ICE\Ice-3.0.1\src\iceStorm\Service.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\leya\LOCALS~1\Temp\RSP12F.tmp"
Creating temporary file "C:\DOCUME~1\leya\LOCALS~1\Temp\RSP130.tmp" with contents
[
/nologo /dll /incremental:yes /pdb:"Debug/icestormservice30d.pdb" /debug /machine:I386 /out:"Debug/icestormservice30d.dll" /implib:"Debug/icestormserviced.lib" /FIXED:no
".\Debug\Flusher.obj"
".\Debug\IceStormInternal.obj"
".\Debug\LinkProxy.obj"
".\Debug\LinkRecord.obj"
".\Debug\LinkSubscriber.obj"
".\Debug\OnewayBatchSubscriber.obj"
".\Debug\OnewayProxy.obj"
".\Debug\OnewaySubscriber.obj"
".\Debug\PersistentTopicMap.obj"
".\Debug\QueuedProxy.obj"
".\Debug\Service.obj"
".\Debug\Subscriber.obj"
".\Debug\SubscriberFactory.obj"
".\Debug\TopicI.obj"
".\Debug\TopicManagerI.obj"
".\Debug\TraceLevels.obj"
".\Debug\TwowayProxy.obj"
"\project\ICE\Ice-3.0.1\src\ice\Debug\iced.lib"
"\project\ICE\Ice-3.0.1\src\icebox\Debug\iceboxd.lib"
".\Debug\icestormd.lib"
"\project\ICE\Ice-3.0.1\src\iceutil\Debug\iceutild.lib"
"\project\ICE\Ice-3.0.1\src\slice\Debug\sliced.lib"
"\project\ICE\Ice-3.0.1\src\freeze\Debug\freezed.lib"
]
Creating command line "link.exe @C:\DOCUME~1\leya\LOCALS~1\Temp\RSP130.tmp"

Output Window
Compiling...
Service.cpp
error C2220: warning treated as error - no object file generated
warning C4717: 'IceStorm::Service::operator=' : recursive on all control paths, function will cause runtime stack overflow
Error executing cl.exe.

Results
minimal - 1 error(s), 1 warning(s)

Comments

  • benoit
    benoit Rennes, France
    Hi and welcome to the forums!

    We're not geting this warning/error with Visual C++ 6.0 SP5. The first thing you should double check is that you indeed have the Service Pack 5 installed. To check this, you need to check the version of some DLLs, for example the version of the C:\Program Files\Microsoft Visual Studio\VC98\bin\c1.dll DLL should be 12.0.8867.0 if you have the SP5 installed.

    See also this Microsoft KB article for more information on how to figure out which service pack is installed.

    Cheers,
    Benoit.
  • thanks for your reply.
    i've installed sp5 yesterday, and i checked the version of c1.dll after your mention,it is exactly 12.0.8867.0, so i guess it's not the point.

    :)
  • benoit
    benoit Rennes, France
    I'm afraid I don't know what this warning is about and why you're getting it :( It definitely compiles without warnings on our developpment machines. Which Windows operating system version do you use?

    Also, we don't define any operator= for the IceStorm::Service class so I don't see how it could call itself. Perhaps you can try to define it (with an empty implementation for example) to see if the warning goes away. You could also try to compile Ice on another machine with Visual C++ 6 SP5 to see if you get the same warning.

    Cheers,
    Benoit.
  • ok, i will download the source code again and rebuild it.
    by the way, i am using windows xp sp2 as the OS.
    thank for your patience.
  • the problem is solved by installing sp6:)