mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: don't name C++ files *.c
* tests/synclines.at (syncline escapes): Here. Otherwise, Clang generates an error and skips the test.
This commit is contained in:
@@ -395,11 +395,11 @@ AT_BISON_OPTION_PUSHDEFS([%skeleton "$1"])
|
||||
# ICC is unable to handle these file names: it fails to pass them
|
||||
# properly to the linker, and is unable to save a file named this way.
|
||||
# Don't try with such compilers.
|
||||
AT_DATA([\"\\\"\".c],
|
||||
AT_DATA([\"\\\"\".AT_LANG_EXT],
|
||||
[[int main (void) { return 0; }
|
||||
]])
|
||||
|
||||
AT_CHECK([AT_CXX_IF([$CXX $CXXFLAGS], [$CC $CFLAGS]) $CPPFLAGS \"\\\"\".c -o \"\\\"\" ||
|
||||
AT_CHECK([AT_CXX_IF([$CXX $CXXFLAGS], [$CC $CFLAGS]) $CPPFLAGS \"\\\"\".]AT_LANG_EXT[ -o \"\\\"\" ||
|
||||
exit 77], [0], [ignore], [ignore])
|
||||
|
||||
AT_DATA_GRAMMAR([\"\\\"\".y],
|
||||
|
||||
Reference in New Issue
Block a user