forked from AuroraMiddleware/gtk
build: Add -Wno-typedef-redefinition to build
Clang otherwise complains about this
This commit is contained in:
parent
822d67295a
commit
73d8f6a090
@ -237,6 +237,7 @@ if cc.get_id() == 'msvc'
|
|||||||
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||||
test_cflags = [
|
test_cflags = [
|
||||||
'-fno-strict-aliasing',
|
'-fno-strict-aliasing',
|
||||||
|
'-Wno-typedef-redefinition',
|
||||||
'-Wcast-align',
|
'-Wcast-align',
|
||||||
'-Wduplicated-branches',
|
'-Wduplicated-branches',
|
||||||
'-Wduplicated-cond',
|
'-Wduplicated-cond',
|
||||||
|
Loading…
Reference in New Issue
Block a user