[PATCH] Fix tests that fail with -std=gnu++98 or -std=gnu++11

Jonathan Wakely jwakely@redhat.com
Thu Jun 6 15:36:00 GMT 2019


On 06/06/19 13:17 +0100, Jonathan Wakely wrote:
>	* testsuite/18_support/set_terminate.cc: Do not run for C++98 mode.
>	* testsuite/18_support/set_unexpected.cc: Likewise.
>	* testsuite/20_util/is_nothrow_invocable/value.cc: Test converting to
>	void.
>	* testsuite/20_util/is_nothrow_invocable/value_ext.cc: Fix constexpr
>	function to be valid in C++11.
>	* testsuite/26_numerics/complex/proj.cc: Do not run for C++98 mode.
>	* testsuite/experimental/names.cc: Do not run for C++98 mode. Do not
>	include Library Fundamentals or Networking headers in C++11 mode.
>	* testsuite/ext/char8_t/atomic-1.cc: Do not run for C++98 mode.

This should fix the last failures with -std=gnu++98.

Tested x86_64-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 9180 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190606/6318c251/attachment.bin>


More information about the Libstdc++ mailing list