mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 05:05:36 +00:00
build: add -Wexpansion-to-defined
This warning is included in -Wall by clang, but not by GCC (which only enables it for -Wextra). Include it in the list of warnings we enable to minimize the differences between the compilers: Backports commit b98fcfd8840f290c406c32301340e96f00238a93 from qemu
This commit is contained in:
parent
9926281c05
commit
7b337b9c07
2
qemu/configure
vendored
2
qemu/configure
vendored
|
@ -702,7 +702,7 @@ gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits"
|
|||
gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags"
|
||||
gcc_flags="-Wmissing-include-dirs -Wempty-body -Wnested-externs $gcc_flags"
|
||||
gcc_flags="-Wendif-labels $gcc_flags"
|
||||
gcc_flags="-Wno-initializer-overrides $gcc_flags"
|
||||
gcc_flags="-Wno-initializer-overrides -Wexpansion-to-defined $gcc_flags"
|
||||
gcc_flags="-Wno-string-plus-int $gcc_flags"
|
||||
# Note that we do not add -Werror to gcc_flags here, because that would
|
||||
# enable it for all configure tests. If a configure test failed due
|
||||
|
|
Loading…
Reference in a new issue