#16431 closed defect (wontfix)
ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token
Reported by: | dstndstn@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | blair (Blair Zajac) | |
Port: |
Description
Hi,
This is on OSX 10.3.
With gcc 3.3:
# ls -l /usr/bin/{gcc,g++} lrwxr-xr-x 1 root wheel 7 31 Aug 13:45 /usr/bin/g++ -> g++-3.3 lrwxr-xr-x 1 root wheel 7 31 Aug 13:45 /usr/bin/gcc -> gcc-3.3
# port install ice-cpp Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ice-cpp/work/Ice-3.3.0/cpp && make prefix='/opt/local' embedded_runpath_prefix='/opt/local' OPTIMIZE='yes' BZIP2_HOME='/opt/local' DB_HOME='/opt/local' EXPAT_HOME='/opt/local' OPENSSL_HOME='/opt/local' READLINE_HOME='/opt/local' USE_READLINE=yes MCPP_LIBS='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ice-cpp/work/mcpp-2.7/src/.libs/*.o' LDPLATFORMFLAGS= all && cd doc && make" returned error 2 Command output: /usr/include/gcc/darwin/3.3/c++/bits/stl_set.h:161: error: candidates are: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, _Alloc>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const _Key&) [with _Key = IceUtil::Timer::Token, _Compare = std::less<IceUtil::Timer::Token>, _Alloc = std::allocator<IceUtil::Timer::Token>] /usr/include/gcc/darwin/3.3/c++/bits/stl_set.h:165: error: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, _Alloc>::const_iterator std::set<_Key, _Compare, _Alloc>::insert(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, _Alloc>::const_iterator, const _Key&) [with _Key = IceUtil::Timer::Token, _Compare = std::less<IceUtil::Timer::Token>, _Alloc = std::allocator<IceUtil::Timer::Token>] Timer.cpp:138: error: assignment of function `IceUtil::Timer::Token token(...)' Timer.cpp:138: error: cannot convert `IceUtil::Timer::Token' to ` IceUtil::Timer::Token ()(...)' in assignment Timer.cpp:158: error: assignment of function `IceUtil::Timer::Token token(...)' Timer.cpp:158: error: cannot convert `const IceUtil::Timer::Token' to ` IceUtil::Timer::Token ()(...)' in assignment Timer.cpp:160: error: request for member `delay' in `token(...)', which is of non-class type `IceUtil::Timer::Token ()(...)' Timer.cpp:162: error: request for member `task' in `token(...)', which is of non-class type `IceUtil::Timer::Token ()(...)' Timer.cpp:177: error: request for member `task' in `token(...)', which is of non-class type `IceUtil::Timer::Token ()(...)' Timer.cpp:181: error: request for member `task' in `token(...)', which is of non-class type `IceUtil::Timer::Token ()(...)' make[2]: *** [Timer.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Error: Status 1 encountered during processing.
Thanks,
--dustin.
Change History (4)
comment:1 Changed 16 years ago by dstndstn@…
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to blair@… |
---|
Assigning to maintainer.
comment:3 Changed 16 years ago by blair (Blair Zajac)
Cc: | blair@… added |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Ice has this in the Ice-3.3.0/cpp/INSTALL.MACOSX
file:
C++ compiler ------------ Ice is expected to build properly with GCC 3.3 or later. However, only the GCC 4.0.1 compiler is officially supported on Mac OS X 10.5.x.
I'm not going to work on backporting this to 10.3, don't have the cycles. I know it compiles on 10.4.
If you supply a patch that fixes it, I could apply it to the portfile.
If you need Ice, you could also compile an older version by hand.
Regards, Blair
Note: See
TracTickets for help on using
tickets.
PS, MacPorts version is 1.600.