Commit 70c303cb88e23aaee91c87c56b108c50ab4f3c2f

Anthony Green 2014-05-11T09:56:40

Fix testsuite for GCC 4.9.0

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/libffi.call/ffitest.h b/testsuite/libffi.call/ffitest.h
index 316e5c0..15d5e44 100644
--- a/testsuite/libffi.call/ffitest.h
+++ b/testsuite/libffi.call/ffitest.h
@@ -15,7 +15,7 @@
 
 #define MAX_ARGS 256
 
-#define CHECK(x) (!(x) ? (abort(), 1) : 0)
+#define CHECK(x) (void)(!(x) ? (abort(), 1) : 0)
 
 /* Define macros so that compilers other than gcc can run the tests.  */
 #undef __UNUSED__