OSDN Git Service

audio/alsaaudio: Remove compiler check around pragma
authorThomas Huth <thuth@redhat.com>
Mon, 3 Dec 2018 13:11:06 +0000 (14:11 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 12 Dec 2018 09:01:13 +0000 (10:01 +0100)
Both GCC v4.8 and Clang v3.4 support the -Waddress option, so we do
not need the compiler version check here anymore.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
audio/alsaaudio.c

index 362a227..635be73 100644 (file)
@@ -28,9 +28,7 @@
 #include "audio.h"
 #include "trace.h"
 
-#if QEMU_GNUC_PREREQ(4, 3)
 #pragma GCC diagnostic ignored "-Waddress"
-#endif
 
 #define AUDIO_CAP "alsa"
 #include "audio_int.h"