Fixed new clang warning

This commit is contained in:
Daniel Collin 2014-09-14 08:38:03 +02:00
parent 7c83e35085
commit b995f1b96c
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ local macosx = {
CPPDEFS = { "EMGUI_MACOSX" },
CCOPTS = {
"-Wall",
"-Wno-format-security",
"-Wno-deprecated-declarations", -- TickCount issue no Mountain Lion (needs to be fixed)
"-I.", "-DMACOSX", "-Wall",
{ "-O0", "-g"; Config = "*-*-debug" },

View File

@ -42,7 +42,7 @@ StaticLibrary {
},
CCOPTS = {
{ "-Werror", "-pedantic-errors", "-Wall"; Config = "macosx-clang-*" },
{ "-Werror", "-pedantic-errors", "-Wall", "-Wno-format-security"; Config = "macosx-clang-*" },
},
},
@ -89,7 +89,7 @@ Program {
},
CCOPTS = {
{ "-Werror", "-pedantic-errors", "-Wall"; Config = "macosx-clang-*" },
{ "-Werror", "-pedantic-errors", "-Wall", "-Wno-format-security"; Config = "macosx-clang-*" },
},
},