Disable warnings for newer GCC versions.

meow-7.2.2
Nicky 2015-05-10 17:39:08 +02:00
parent 1c814ccb22
commit fd2e46584a
1 changed files with 10 additions and 0 deletions

View File

@ -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"