From: Jonathan Wakely Date: Wed, 29 Jul 2015 14:56:11 +0000 (+0100) Subject: re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=626b8d8a48e3e2064666f849c122d1cc955ce615;p=gcc.git re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-check.cc) PR libstdc++/66829 * testsuite/lib/libstdc++.exp (v3-build_support): Compile testsuite_shared.cc with -std=gnu++98. From-SVN: r226354 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bf774bfba96..98758f41862 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-07-29 Jonathan Wakely + + PR libstdc++/66829 + * testsuite/lib/libstdc++.exp (v3-build_support): Compile + testsuite_shared.cc with -std=gnu++98. + 2015-07-29 Ville Voutilainen * include/bits/range_access.h: Change class to typename in every diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index d60062d7130..88738b739f1 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -668,7 +668,7 @@ proc v3-build_support { } { # Compile with "-w" so that warnings issued by the compiler # do not prevent compilation. if { [v3_target_compile $srcdir/util/$f $object_file "sharedlib" \ - [list "incdir=$srcdir" "additional_flags=-fno-inline -w -shared -fPIC -DPIC"]] + [list "incdir=$srcdir" "additional_flags=-fno-inline -w -shared -fPIC -DPIC -std=gnu++98"]] != "" } { error "could not compile $f" }