diff --git a/include/disable_warnings.h b/include/disable_warnings.h index ff36f12..6526983 100644 --- a/include/disable_warnings.h +++ b/include/disable_warnings.h @@ -1,4 +1,4 @@ -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wunused-variable" -#pragma clang diagnostic ignored "-Wimplicit-function-declaration" +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wunused-variable" +#pragma GCC diagnostic ignored "-Wimplicit-function-declaration" #endif