mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 13:55:07 +00:00
On my machine, this test has never passed in hlc.gc grade, because you get
extra output from gcc 4.8.1. This diff shuts up this extra output.
configure.ac:
tests/DEFNS_FOR_TESTS.in:
Record whether the C compiler supports -fno-diagnostics-show-caret
in the new file tests/DEFNS_FOR_TESTS.
tests/Mmake.common:
Include tests/DEFNS_FOR_TESTS.
tests/invalid/Mmakefile:
When invoking the foreign_decl_line_number test, and the related test
foreign_type_line_number, specify -fno-diagnostics-show-caret
if this is supported by the C compiler.
2 lines
52 B
Plaintext
2 lines
52 B
Plaintext
CFLAGS_FOR_ERRMSG_FILTER=@CFLAGS_FOR_ERRMSG_FILTER@
|