From 8c86f0ef98ffa6b7a54e55aa54e44afed464a94e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Feb 2006 07:33:13 +0000 Subject: [PATCH] * m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check that '#include ' works. --- ChangeLog | 3 +++ m4/cxx.m4 | 1 + 2 files changed, 4 insertions(+) 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 << "";])], -- 2.45.2