mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +00:00
* m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check
that '#include <string>' works.
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
Work around portability problems summarized by Nelson H. F. Beebe in
|
Work around portability problems summarized by Nelson H. F. Beebe in
|
||||||
<http://lists.gnu.org/archive/html/bug-bison/2005-09/msg00021.html>.
|
<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
|
* 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
|
porting problem to g++ 3.4.3 on Darwin 7.9.0, where g++ complained
|
||||||
"warning: sorry: semantics of inline function static data `const
|
"warning: sorry: semantics of inline function static data `const
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER],
|
|||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[#include <cstdlib>
|
[#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <string>
|
||||||
using namespace std;],
|
using namespace std;],
|
||||||
[std::cerr << "";
|
[std::cerr << "";
|
||||||
cout << "";])],
|
cout << "";])],
|
||||||
|
|||||||
Reference in New Issue
Block a user