From 618f15cffe7a06a091dc58e193ec866fa525d48c Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 1 Dec 2011 14:18:12 +0100 Subject: [PATCH] Disable some not yet fixed warnings These spam the console, disable them for now. Some of these warnings need to be looked at instead of just adding code to prevent them. --- neo/SConstruct | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neo/SConstruct b/neo/SConstruct index 4c0edc27..c5156b30 100644 --- a/neo/SConstruct +++ b/neo/SConstruct @@ -326,6 +326,11 @@ if ( ID_NOLANADDRESS != '0' ): if ( ID_MCHECK == '1' ): BASECPPFLAGS.append( '-DID_MCHECK' ) +# TODO fix these warnings +BASECPPFLAGS.append('-Wno-sign-compare') +BASECPPFLAGS.append('-Wno-switch') +BASECPPFLAGS.append('-Wno-format-security') + # create the build environements g_base_env = Environment( ENV = os.environ, CC = CC, CXX = CXX, LINK = LINK, CPPFLAGS = BASECPPFLAGS, LINKFLAGS = BASELINKFLAGS, CPPPATH = CORECPPPATH, LIBPATH = CORELIBPATH ) scons_utils.SetupUtils( g_base_env )