Re: throw specification warnings

Michael Teske via omniORB-list <[email protected]> Tue, 10 Apr 2018 15:56:47 +0200
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <[email protected]>
Hi,


Am 09.04.18 um 17:48 schrieb Duncan Grisby:
> On Mon, 2018-04-09 at 16:00 +0200, Michael Teske via omniORB-list
> wrote:
> 
>> ../../../../include/omniORB4/internal/orbOptions.h:183:45: warning:
>> dynamic exception specifications are deprecated in C++11 [-
>> Wdeprecated]
>>    void getTraceLevel(int argc, char** argv) throw
>> (Unknown,BadParam);
>>
>> Unfortunately not only when building omniORB, but in my code as well.
>> Are there any plans to remove these? Or will a patch be accepted?
> 
> They are only used in orbOptions.h, which you shouldn't normally be
> #including into your application code.

You're right, it usually doesn't happen in omniorb-using code.

> They don't serve any useful purpose, and they will be removed in a
> future release, but they can't be removed in omniORB 4.2.x, because
> that may break binary compatibility on some compilers.
> 
> Duncan.

That's fine, thanks.

Greetings,
  Michael



_______________________________________________
omniORB-list mailing list
[email protected]
http://www.omniorb-support.com/mailman/listinfo/omniorb-list