diff mbox series

[PULL,5/8] audio/alsaaudio: Remove compiler check around pragma

Message ID 1544606032-16924-6-git-send-email-thuth@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,1/8] configure: Add a test for the minimum compiler version | expand

Commit Message

Thomas Huth Dec. 12, 2018, 9:13 a.m. UTC
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 | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 362a227..635be73 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -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"