]> git.saurik.com Git - bison.git/commitdiff
* m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Feb 2006 07:33:13 +0000 (07:33 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Feb 2006 07:33:13 +0000 (07:33 +0000)
that '#include <string>' works.

ChangeLog
m4/cxx.m4

index 880b95ed0ad6c8ce37329cec53ce010a4d36769e..f47e6844abc8e10b952a617b7a406ae6c6448b13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        Work around portability problems summarized by Nelson H. F. Beebe in
        <http://lists.gnu.org/archive/html/bug-bison/2005-09/msg00021.html>.
 
+       * m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check
+       that '#include <string>' 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
index 695476d1984d45cb58e12c1b778cfebda1d6b174..a8eff8ee04fd016efff68af6481b5ef51c3f9a91 100644 (file)
--- a/m4/cxx.m4
+++ b/m4/cxx.m4
@@ -29,6 +29,7 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER],
       [AC_LANG_PROGRAM(
         [#include <cstdlib>
          #include <iostream>
+         #include <string>
          using namespace std;],
          [std::cerr << "";
           cout << "";])],