Files
mercury/tests/DEFNS_FOR_TESTS.in
Zoltan Somogyi 44fa78388d Make tests/invalid/foreign_decl_line_number pass.
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.
2015-02-01 04:03:55 +11:00

2 lines
52 B
Plaintext

CFLAGS_FOR_ERRMSG_FILTER=@CFLAGS_FOR_ERRMSG_FILTER@