don't use C++ flags on plain C files (nw)

This commit is contained in:
arbee 2018-05-01 21:40:43 -04:00
parent e651a1678d
commit 73beb07213

View File

@ -1038,9 +1038,11 @@ end
if (version >= 80000) then
buildoptions {
"-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others
"-Wno-class-memaccess", -- many instances in ImGui and BGFX
"-Wno-stringop-truncation", -- ImGui again
}
buildoptions_cpp {
"-Wno-class-memaccess", -- many instances in ImGui and BGFX
}
end
end
end