Bother. This is killing my build. I had to switch of –Werror.
Anyone know what is going on?
Simon
make --no-print-directory -f ghc.mk phase=1 phase_1_builds
inplace/bin/deriveConstants --gen-header -o includes/dist-derivedconstants/header/DerivedConstants.h --tmpdir includes/dist-derivedconstants/header/ --gcc-program "gcc" --gcc-flag -Wall --gcc-flag -Werror --gcc-flag -Werror=unused-but-set-variable --gcc-flag -Wno-error=inline --gcc-flag -std=gnu99 --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" --objdump-program "/usr/bin/objdump" --target-os "linux"
In file included from includes/Stg.h:213:0,
from includes/Rts.h:30,
from includes/dist-derivedconstants/header/tmp.c:13:
includes/stg/Types.h:31:2: error: #import is a deprecated GCC extension [-Werror=deprecated]
cc1: all warnings being treated as errors
Executing "gcc" failed
make[1]: *** [includes/dist-derivedconstants/header/DerivedConstants.h] Error 1
make: *** [all] Error 2
From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Simon Peyton Jones
Sent: 10 May 2016 09:44
To: ghc-devs