dascandy / hippomocks

GNU Lesser General Public License v2.1
195 stars 67 forks source link

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

Open torbjoernk opened 6 years ago

torbjoernk commented 6 years ago

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.
dascandy commented 6 years ago

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

eduardoaugustojulio commented 2 years ago

Hey guys any news about this one?