glsl-optimizer: Fixed warnings.

This commit is contained in:
Branimir Karadžić 2018-03-17 14:40:38 -07:00
parent 8d56b09815
commit 9d3b70c1d1

View File

@ -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",
}