From: Paul Eggert Date: Thu, 2 Feb 2006 07:33:13 +0000 (+0000) Subject: * m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check X-Git-Tag: v2.3b~465 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/8c86f0ef98ffa6b7a54e55aa54e44afed464a94e * m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check that '#include ' works. --- diff --git a/ChangeLog b/ChangeLog index 880b95ed..f47e6844 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ Work around portability problems summarized by Nelson H. F. Beebe in . + * m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check + that '#include ' works. + * data/lalr1.cc (yytranslate_): No longer inline, to work around a porting problem to g++ 3.4.3 on Darwin 7.9.0, where g++ complained "warning: sorry: semantics of inline function static data `const diff --git a/m4/cxx.m4 b/m4/cxx.m4 index 695476d1..a8eff8ee 100644 --- a/m4/cxx.m4 +++ b/m4/cxx.m4 @@ -29,6 +29,7 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER], [AC_LANG_PROGRAM( [#include #include + #include using namespace std;], [std::cerr << ""; cout << "";])],