Refactor CMake code related to compiler warnings, enable some additional warnings

This commit is contained in:
Siarhei Fedartsou 2022-09-01 23:26:37 +02:00
parent dcbb572b47
commit a58e29f5d5

View File

@ -23,12 +23,12 @@ namespace
// Boost.Assert only declares the following two functions and let's us define them here.
namespace boost
{
[[noreturn]] void
void
assertion_failed(char const *expr, char const *function, char const *file, long line)
{
::assertion_failed_msg_helper(expr, "", function, file, line);
}
[[noreturn]] void assertion_failed_msg(
void assertion_failed_msg(
char const *expr, char const *msg, char const *function, char const *file, long line)
{
::assertion_failed_msg_helper(expr, msg, function, file, line);