diff options
author | Jason Merrill <jason@redhat.com> | 2015-05-18 15:21:54 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-05-18 15:21:54 -0400 |
commit | 87734648c9b07cb1c1c30b1d77a38d4482f61e37 (patch) | |
tree | 2115abeb9c55c9837c0cb3a3f84825f0d46b9fbf | |
parent | 71c87d1c0f5048166870801c418ddfc52e396a9f (diff) | |
download | gcc-87734648c9b07cb1c1c30b1d77a38d4482f61e37.zip gcc-87734648c9b07cb1c1c30b1d77a38d4482f61e37.tar.gz gcc-87734648c9b07cb1c1c30b1d77a38d4482f61e37.tar.bz2 |
* Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98.
From-SVN: r223312
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/Makefile.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c00a878..7b55892 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-05-18 Jason Merrill <jason@redhat.com> + + * Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98. + 2015-05-18 Andreas Tobler <andreast@gcc.gnu.org> * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ab9b637..97b7dff 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -199,7 +199,7 @@ VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@ .-warn = $(STRICT_WARN) build-warn = $(STRICT_WARN) GCC_WARN_CFLAGS = $(LOOSE_WARN) $(C_LOOSE_WARN) $($(@D)-warn) $(if $(filter-out $(STRICT_WARN),$($(@D)-warn)),,$(C_STRICT_WARN)) $(NOCOMMON_FLAG) $($@-warn) -GCC_WARN_CXXFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn) +GCC_WARN_CXXFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn) -std=c++98 # These files are to have specific diagnostics suppressed, or are not to # be subject to -Werror: |