https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67036

--- Comment #4 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Jonathan Wakely from comment #3)
> VC++ prints:
> 
> main.cpp(7): warning C4297: 'useless::~useless': function assumed not to
> throw an exception but does
> main.cpp(7): note: destructor or deallocator has a (possibly implicit)
> non-throwing exception specification
> main.cpp(10): warning C4100: 'argv': unreferenced formal parameter
> 
> This is roughly equivalent to GCC's (in both cases the warning is because
> the destructor is implicitly noexcept, so throwing will terminate).
> 
> So FIXED?

Yes, it sounds like it. Thanks.

Reply via email to