Add pragma for GCC

master
Nicky 2022-03-02 14:46:06 +01:00
parent c5d16fe1e2
commit 0dfe0f888e
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ namespace
{
#ifdef __clang__
# pragma clang diagnostic ignored "-Wunused-function"
#endif
#if __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
void test_that_error_h_includes_enough_things_to_compile_a_message()
{