hippomocks icon indicating copy to clipboard operation
hippomocks copied to clipboard

[cpp11 branch] std::uncaught_exception is deprecated in C++17

Open torbjoernk opened this issue 7 years ago • 2 comments

std::uncaught_exception is deprecated in C++17 and replaced by std::uncaught_exceptions (the plural form).

At least MSVC 14.14 is issuing warnings (C4996):

hippomocks\hippomocks.h(908): warning C4996: 'std::uncaught_exception': warning STL4006: std::uncaught_exception() is deprecated in C++17. It is superseded by std::uncaught_exceptions(), plural. You can define _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.

torbjoernk avatar Jul 11 '18 06:07 torbjoernk

Will get back to this and other issues when I get back from holidays.

dascandy avatar Jul 11 '18 08:07 dascandy

Hey guys any news about this one?

eduardoaugustojulio avatar May 23 '22 12:05 eduardoaugustojulio