Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #6009 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

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

(In [871e2c22b7fcd0ddfc3f13d8d55bc8e2d2c477f2/ome.git] on branch dev_4_1) Disable -Werror. (Closes #6009)

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)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65277 sec.)

We're Hiring!