Refactor CMake code related to compiler warnings, enable some additional warnings
This commit is contained in:
parent
dcbb572b47
commit
a58e29f5d5
@ -23,12 +23,12 @@ namespace
|
|||||||
// Boost.Assert only declares the following two functions and let's us define them here.
|
// Boost.Assert only declares the following two functions and let's us define them here.
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
[[noreturn]] void
|
void
|
||||||
assertion_failed(char const *expr, char const *function, char const *file, long line)
|
assertion_failed(char const *expr, char const *function, char const *file, long line)
|
||||||
{
|
{
|
||||||
::assertion_failed_msg_helper(expr, "", function, file, 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)
|
char const *expr, char const *msg, char const *function, char const *file, long line)
|
||||||
{
|
{
|
||||||
::assertion_failed_msg_helper(expr, msg, function, file, line);
|
::assertion_failed_msg_helper(expr, msg, function, file, line);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user