glsl-optimizer: Fixed warnings.
This commit is contained in:
parent
8d56b09815
commit
9d3b70c1d1
@ -28,7 +28,7 @@ project "glslang"
|
||||
"/wd4715", -- warning C4715: 'spv::Builder::makeFpConstant': not all control paths return a value
|
||||
}
|
||||
|
||||
configuration { "not vs*" }
|
||||
configuration { "mingw* or linux or osx" }
|
||||
buildoptions {
|
||||
"-Wno-ignored-qualifiers",
|
||||
"-Wno-missing-field-initializers",
|
||||
@ -175,6 +175,11 @@ project "glsl-optimizer"
|
||||
configuration { "mingw* or linux or osx" }
|
||||
buildoptions {
|
||||
"-fno-strict-aliasing", -- glsl-optimizer has bugs if strict aliasing is used.
|
||||
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-misleading-indentation",
|
||||
"-Wno-sign-compare",
|
||||
"-Wno-unused-function",
|
||||
"-Wno-unused-parameter",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user