Results 1 to 6 of 6

Thread: problem in compiling icestormS with vc6

  1. #1
    leya is offline Registered User
    Name: Leya Wang
    Organization: Wuhan Univ.
    Project: Scalable Communication
    Join Date
    Mar 2006
    Posts
    40

    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:perator=' : recursive on all control paths, function will cause runtime stack overflow
    Error executing cl.exe.

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

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

  3. #3
    leya is offline Registered User
    Name: Leya Wang
    Organization: Wuhan Univ.
    Project: Scalable Communication
    Join Date
    Mar 2006
    Posts
    40
    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.


  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

  5. #5
    leya is offline Registered User
    Name: Leya Wang
    Organization: Wuhan Univ.
    Project: Scalable Communication
    Join Date
    Mar 2006
    Posts
    40
    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.

  6. #6
    leya is offline Registered User
    Name: Leya Wang
    Organization: Wuhan Univ.
    Project: Scalable Communication
    Join Date
    Mar 2006
    Posts
    40
    the problem is solved by installing sp6

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem compiling C++
    By bobc in forum Comments
    Replies: 4
    Last Post: 06-22-2009, 09:08 AM
  2. Problem compiling Ice 3.3b
    By scottie in forum Bug Reports
    Replies: 6
    Last Post: 04-16-2008, 06:01 AM
  3. Publishing to replicated IceStorms
    By bigtim in forum Help Center
    Replies: 4
    Last Post: 02-13-2008, 11:19 AM
  4. Problem when use ice 2.1 and ace on vc6.0! help!
    By ralf3 in forum Help Center
    Replies: 9
    Last Post: 03-17-2005, 10:51 PM
  5. Problem compiling Icicle
    By andreynech in forum Help Center
    Replies: 10
    Last Post: 05-05-2004, 08:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •