mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Enable -Wshadow for GCC.
This commit is contained in:
@@ -403,6 +403,11 @@ function toolchain(_buildDir, _libDir)
|
|||||||
"NoExceptions",
|
"NoExceptions",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "*-gcc*" }
|
||||||
|
buildoptions {
|
||||||
|
"-Wshadow",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "mingw-*" }
|
configuration { "mingw-*" }
|
||||||
defines { "WIN32" }
|
defines { "WIN32" }
|
||||||
includedirs { path.join(bxDir, "include/compat/mingw") }
|
includedirs { path.join(bxDir, "include/compat/mingw") }
|
||||||
|
|||||||
Reference in New Issue
Block a user