Re: [Qemu-devel] [PATCH] configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang)

2019-04-27 Thread Richard Henderson
On 4/27/19 8:45 AM, Thomas Huth wrote: > Without the -Wno-typedef-redefinition option, clang complains if a typedef > gets redefined in gnu99 mode (since this is officially a C11 feature). This > used to also happen with older versions of GCC, but since we've bumped our > minimum GCC version to

[Qemu-devel] [PATCH] configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang)

2019-04-27 Thread Thomas Huth
Without the -Wno-typedef-redefinition option, clang complains if a typedef gets redefined in gnu99 mode (since this is officially a C11 feature). This used to also happen with older versions of GCC, but since we've bumped our minimum GCC version to 4.8, all versions of GCC that we support do not