Disable warnings for newer GCC versions.
parent
1c814ccb22
commit
fd2e46584a
|
|
@ -25,6 +25,16 @@
|
|||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
// <FS:ND> Disable some warnings on newer GCC versions.
|
||||
// This might also trigger on something like 4.8, but I did not suchh a GCC to test anything lower than 4.9 and higher than 4.6
|
||||
#if LL_LINUX
|
||||
#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ ) >= 40900
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#endif
|
||||
// </FS:ND>
|
||||
|
||||
#include "linden_common.h"
|
||||
#include "llallocator_heap_profile.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue