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
This commit is contained in:
Jonathan Wakely 2015-07-29 15:56:11 +01:00 committed by Jonathan Wakely
parent c5ce61b0a5
commit 626b8d8a48
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2015-07-29 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/66829
* testsuite/lib/libstdc++.exp (v3-build_support): Compile
testsuite_shared.cc with -std=gnu++98.
2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com>
* include/bits/range_access.h: Change class to typename in every

View File

@ -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"
}