From 16313cb2746ceed6bc1d25b52604642c14758e01 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Tue, 13 Mar 2018 08:52:30 -0400 Subject: [PATCH] Support compiler specific warning suppression flags --- testsuite/libffi.bhaible/bhaible.exp | 3 +++ 1 file changed, 3 insertions(+) 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 {