|
|
|
|||||
|
The Linux installation nodes say:
C++ compiler ------------ - GCC 3.2; or - GCC 2.96 with STLport 4.5 I however need to evaluate Ice with GCC 2.95.3 as currently 2.96 is not an option for us. With 2.95 Ice compiles well until I get this: make[2]: Entering directory `/home/jukvaini/ice/Ice-1.0.1/src/Ice' pentium3-g++ -c -I.. -I../../include -I/home/jukvaini/ice/STLport-4.5.3/include/stlport -g -ftemplate-depth-128 -fPIC -Wall -D__linux__ Router.cpp Router.cpp: In function `void IceInternal::checkedCast(const Ice::ObjectPrx &, const _STL::string &, IceInternal::ProxyHandle<IceProxy::Ice::Router> &)': Router.cpp:58: `const class IceInternal::ProxyHandle<IceProxy::Ice::Object>' used where a `bool' was expected make[2]: *** [Router.o] Error 1 make[2]: Leaving directory `/home/jukvaini/ice/Ice-1.0.1/src/Ice' Which comes from Router.cpp code: 54 void 55 IceInternal::checkedCast(const ::Ice::ObjectPrx& b, ::Ice::RouterPrx& d) 56 { 57 d = 0; 58 if(b) 59 { TIA! ![]() |
|
|||||
|
I really doubt this is workable. There were SUBSTANTIAL changes to GCC between versions 2.95.3 and version 3.2. Many of them were around STL (which ice leverages heavily).
Why specifically can't you install GCC 3.2 or 3.3 on that machine? |
|
||||||
|
I made some changes to Ice, and now it compiles without problems with GCC 2.95.3. (Apparently GCC 2.95.3 has some problems with fully scoped names and operator bool.)
All tests work, except for tests that involve loading of shared libraries (plugins, IcePack). I'm sure we can fix this problem, too. If you like to have a snapshot version with support for GCC 2.95.3, please email me directly at marc@zeroc.com. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encoding Problem about Chinese, client compiled by Java, server compiled by C++ | richardma | Help Center | 6 | 12-20-2005 11:00 PM |
| Can ICE be compiled under Borland C++? | Hix-roll | Comments | 1 | 11-24-2005 10:53 PM |
| Pre-Compiled Headers | mario | Help Center | 9 | 11-10-2005 03:22 AM |
| Ice and native compiled Java (GJC) | taweili | Help Center | 0 | 02-02-2004 08:20 PM |