]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: avoid some SunOS declaration conflicts.
authorBogdan <bogdro_rep@gmx.us>
Sun, 9 Jul 2023 16:57:15 +0000 (09:57 -0700)
committerKarl Berry <karl@freefriends.org>
Sun, 9 Jul 2023 16:57:15 +0000 (09:57 -0700)
commit65ad31d87bcde7ffee0c0fa02cb293665c63b85f
tree4158f2a4b8883685a9d11378e733df414063f014
parentc5f08e89e062f977983cef8da6d0746456ac29d6
tests: avoid some SunOS declaration conflicts.

This change: finishes fixing https://bugs.gnu.org/34151
  and https://bugs.gnu.org/30612 and https://bugs.gnu.org/42393;
fixes https://bugs.gnu.org/44795 and https://bugs.gnu.org/49755;
partially fixes https://bugs.gnu.org/45205
  and https://bugs.gnu.org/55073.
Still open: https://bugs.gnu.org/15256;

* t/lex-clean-cxx.sh: test __cplusplus, __sun, and __EXTERN_C__
before using extern "C" for the yylex decl, as explained at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45205#13.
* t/lex-depend-cxx.sh: likewise.

* t/yacc-cxx.sh: "using" std::exit, std::free, std::malloc.
* t/yacc-d-cxx.sh: likewise.
* t/yacc-mix-c-cxx.sh: likewise.

* NEWS: mention this.
NEWS
t/lex-clean-cxx.sh
t/lex-depend-cxx.sh
t/yacc-cxx.sh
t/yacc-d-cxx.sh
t/yacc-mix-c-cxx.sh