Task #6009 (closed)
Bug: Ice deprecation warnings causing build to fail
Reported by: | cxallan | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | OMERO-Beta4.3.1 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-07-07 (1) |
Description
On later versions of GCC the ICE_DEPRECATED_API macros from Ice create warnings which with -Werror configured for the build cause the build to fail.
Compiling target/omero/API.os target/omero/API.cpp: In member function ‘virtual Ice::DispatchStatus IceDelegateD::omero::api::ServiceFactory::sharedResources(const Ice::Context*)::_DirectI::run(Ice::Object*)’: target/omero/API.cpp:82164: warning: ‘virtual omero::grid::SharedResourcesPrx omero::api::ServiceFactory::sharedResources(const Ice::Current&)’ is deprecated (declared at target/omero/API.h:32412) target/omero/API.cpp: In member function ‘virtual Ice::DispatchStatus IceDelegateD::omero::api::ServiceFactory::close(const Ice::Context*)::_DirectI::run(Ice::Object*)’: target/omero/API.cpp:82541: warning: ‘virtual void omero::api::ServiceFactory::close(const Ice::Current&)’ is deprecated (declared at target/omero/API.h:32427) target/omero/API.cpp: In member function ‘Ice::DispatchStatus omero::api::ServiceFactory::___sharedResources(IceInternal::Incoming&, const Ice::Current&)’: target/omero/API.cpp:99193: warning: ‘virtual omero::grid::SharedResourcesPrx omero::api::ServiceFactory::sharedResources(const Ice::Current&)’ is deprecated (declared at target/omero/API.h:32412) target/omero/API.cpp: In member function ‘Ice::DispatchStatus omero::api::ServiceFactory::___close(IceInternal::Incoming&, const Ice::Current&)’: target/omero/API.cpp:99292: warning: ‘virtual void omero::api::ServiceFactory::close(const Ice::Current&)’ is deprecated (declared at target/omero/API.h:32427)
Change History (3)
comment:1 Changed 13 years ago by Chris Allan <callan@…>
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 13 years ago by Chris Allan <callan@…>
(In [871e2c22b7fcd0ddfc3f13d8d55bc8e2d2c477f2/ome.git]on branches dev_4_1, dev_4_1_custom) Disable -Werror. (Closes #6009)
comment:3 Changed 12 years ago by Chris Allan <callan@…>
(In [871e2c22b7fcd0ddfc3f13d8d55bc8e2d2c477f2/ome.git]on branches 4_1, dev_4_1, dev_4_1_custom) Disable -Werror. (Closes #6009)
(In [871e2c22b7fcd0ddfc3f13d8d55bc8e2d2c477f2/ome.git] on branch dev_4_1) Disable -Werror. (Closes #6009)