From 8ca528d9063404f392b3445766358702e63feed6 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 2 Jun 2015 13:50:23 -0400 Subject: [PATCH] re PR bootstrap/66319 (gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)') PR bootstrap/66319 * configure.ac: Use -std=gnu++98. From-SVN: r224039 --- ChangeLog | 5 +++++ configure | 2 +- configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9c9396aaa21..454483ffe73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-06-02 Jason Merrill + + PR bootstrap/66319 + * configure.ac: Use -std=gnu++98. + 2015-06-02 Szabolcs Nagy * MAINTAINERS (Write After Approval): Add myself. diff --git a/configure b/configure index 167b506002a..bced9de413e 100755 --- a/configure +++ b/configure @@ -5410,7 +5410,7 @@ esac # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a # C++98 compiler can still start the bootstrap. if test "$enable_bootstrap:$GXX" = "yes:yes"; then - CXX="$CXX -std=c++98" + CXX="$CXX -std=gnu++98" fi # Used for setting $lt_cv_objdir diff --git a/configure.ac b/configure.ac index 25093056279..7c06e6ba9fa 100644 --- a/configure.ac +++ b/configure.ac @@ -1445,7 +1445,7 @@ esac # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a # C++98 compiler can still start the bootstrap. if test "$enable_bootstrap:$GXX" = "yes:yes"; then - CXX="$CXX -std=c++98" + CXX="$CXX -std=gnu++98" fi # Used for setting $lt_cv_objdir -- 2.30.2