cc017 fails on GHC built with Hadrian
Specifically in the validate-x86_64-linux-deb8-hadrian
CI job.
--- /dev/null 2019-06-03 18:18:50.395150890 +0000
+++ "/tmp/ghctest-a8ya0e43/test spaces/testsuite/tests/ffi/should_compile/cc017.run/cc017.comp.stderr.normalised" 2019-06-03 20:02:42.909216827 +0000
@@ -0,0 +1 @@
+cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
When run with a make
-built compiler we see
=====> cc017(normal) 1 of 1 [0, 0, 0]
cd "ffi/should_compile/cc017.run" && "/mnt/work/ghc/ghc/inplace/bin/ghc-stage2" -c cc017.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output -XForeignFunctionInterface -optc-Wno-implicit -optc=-DC -optcxx=-DCXX -optcxx=-std=c++11