Fixed new clang warning
This commit is contained in:
parent
7c83e35085
commit
b995f1b96c
@ -3,6 +3,7 @@ local macosx = {
|
|||||||
CPPDEFS = { "EMGUI_MACOSX" },
|
CPPDEFS = { "EMGUI_MACOSX" },
|
||||||
CCOPTS = {
|
CCOPTS = {
|
||||||
"-Wall",
|
"-Wall",
|
||||||
|
"-Wno-format-security",
|
||||||
"-Wno-deprecated-declarations", -- TickCount issue no Mountain Lion (needs to be fixed)
|
"-Wno-deprecated-declarations", -- TickCount issue no Mountain Lion (needs to be fixed)
|
||||||
"-I.", "-DMACOSX", "-Wall",
|
"-I.", "-DMACOSX", "-Wall",
|
||||||
{ "-O0", "-g"; Config = "*-*-debug" },
|
{ "-O0", "-g"; Config = "*-*-debug" },
|
||||||
|
|||||||
@ -42,7 +42,7 @@ StaticLibrary {
|
|||||||
},
|
},
|
||||||
|
|
||||||
CCOPTS = {
|
CCOPTS = {
|
||||||
{ "-Werror", "-pedantic-errors", "-Wall"; Config = "macosx-clang-*" },
|
{ "-Werror", "-pedantic-errors", "-Wall", "-Wno-format-security"; Config = "macosx-clang-*" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ Program {
|
|||||||
},
|
},
|
||||||
|
|
||||||
CCOPTS = {
|
CCOPTS = {
|
||||||
{ "-Werror", "-pedantic-errors", "-Wall"; Config = "macosx-clang-*" },
|
{ "-Werror", "-pedantic-errors", "-Wall", "-Wno-format-security"; Config = "macosx-clang-*" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user