Update check to turn off warning on gcc 4.8, too.
parent
5a71d58e25
commit
0b96a91b1c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue