build: disable some clang warnings for code not under our control

cmph is vendored and other one is bison/flex generated code.
Not much we can do here, so disable those warnings there.
This commit is contained in:
Christoph Reiter 2022-07-19 18:03:59 +02:00
parent a068c6c303
commit ac01cf93f4

View File

@ -43,6 +43,7 @@ if cc.get_id() != 'msvc'
'-Wno-cast-align', '-Wno-cast-align',
'-Wno-unused-function', '-Wno-unused-function',
'-Wno-return-type', '-Wno-return-type',
'-Wno-sometimes-uninitialized',
]) ])
endif endif