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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-09-28
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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?

Reply via email to