diff --git a/include/math_approx/src/log_approx.hpp b/include/math_approx/src/log_approx.hpp index ec558f0..6c65c33 100644 --- a/include/math_approx/src/log_approx.hpp +++ b/include/math_approx/src/log_approx.hpp @@ -55,6 +55,7 @@ namespace log_detail #if defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" // these methods require some type-punning +#pragma GCC diagnostic ignored "-Wuninitialized" #endif /** approximation for log(Base, x) (32-bit) */ diff --git a/include/math_approx/src/pow_approx.hpp b/include/math_approx/src/pow_approx.hpp index b4ba908..5cf7f11 100644 --- a/include/math_approx/src/pow_approx.hpp +++ b/include/math_approx/src/pow_approx.hpp @@ -72,6 +72,7 @@ namespace pow_detail #if defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" // these methods require some type-punning +#pragma GCC diagnostic ignored "-Wuninitialized" #endif /** approximation for pow(Base, x) (32-bit) */