Update check to turn off warning on gcc 4.8, too.

Tonya Souther 2015-05-24 17:35:37 -05:00
parent 5a71d58e25
commit 0b96a91b1c
1 changed files with 2 additions and 1 deletions

View File

@ -27,9 +27,10 @@
// <FS:ND> 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
//<FS:TS> 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