zeroc-ice / ice

All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
https://zeroc.com
GNU General Public License v2.0
2k stars 592 forks source link

deprecated metadata on operation broken in C++ #2085

Open bernardnormier opened 2 months ago

bernardnormier commented 2 months ago

There are at least two issues:

src/IceGridLib/generated/Admin.cpp:5498:11: error: 'keepAlive' is deprecated: is deprecated [-Werror,-Wdeprecated-declarations]
    this->keepAlive(request.current());

From:

["deprecated"] idempotent void keepAlive();
 [[deprecated("is deprecated")]] virtual void keepAlive(const ::Ice::Current& current) = 0;
externl commented 2 months ago

Once this is fixed we also need to do: https://github.com/zeroc-ice/ice/pull/2087#pullrequestreview-2031264169

InsertCreativityHere commented 2 weeks ago

This was fixed in #2288.

InsertCreativityHere commented 2 weeks ago

But I'm leaving this open, because it's still broken in other languages. Once it's 'un-broken' it sounds like we want to deprecate: Glacier2::Router::refreshSession and IceGrid::Admin::keepAlive

I suspect we'll also want to deprecate IceGrid::Session::keepAlive.

Anything else?