diff --git a/indra/llcommon/llallocator_heap_profile.cpp b/indra/llcommon/llallocator_heap_profile.cpp index df98ff28a2..b63d91caa6 100755 --- a/indra/llcommon/llallocator_heap_profile.cpp +++ b/indra/llcommon/llallocator_heap_profile.cpp @@ -27,9 +27,10 @@ // Disable some warnings on newer GCC versions. // This might also trigger on something like 4.8, but I did not such a GCC to test anything lower than 4.9 and higher than 4.6 +// It does trigger on 4.8. Not sure about 4.7. #if LL_LINUX #pragma GCC diagnostic ignored "-Wuninitialized" - #if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ ) >= 40900 + #if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ ) >= 40800 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #endif #endif