PR libstdc++/66829
* testsuite/lib/libstdc++.exp (v3-build_support): Compile
testsuite_shared.cc with -std=gnu++98.
From-SVN: r226354
+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
# 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"
}