Commit 16313cb2746ceed6bc1d25b52604642c14758e01

Anthony Green 2018-03-13T08:52:30

Support compiler specific warning suppression flags

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/testsuite/libffi.bhaible/bhaible.exp b/testsuite/libffi.bhaible/bhaible.exp
index 67a0979..0ff4187 100644
--- a/testsuite/libffi.bhaible/bhaible.exp
+++ b/testsuite/libffi.bhaible/bhaible.exp
@@ -20,6 +20,9 @@ libffi-init
 global srcdir subdir
 global compiler_vendor
 
+# The conversion of this testsuite into a dejagnu compatible testsuite
+# was done in a pretty lazy fashion, and requires the use of compiler
+# flags to disable warnings for now.
 if { [string match $compiler_vendor "gnu"] } {
     set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized";
 } else {