gcc/libstdc++-v3/testsuite/28_regex
Rainer Orth 931f1e377a libstdc++: Fix 28_regex/basic_regex/84110.cc on Solaris
28_regex/basic_regex/84110.cc currently FAILs on Solaris:

FAIL: 28_regex/basic_regex/84110.cc (test for excess errors)
UNRESOLVED: 28_regex/basic_regex/84110.cc compilation failed to produce executable

Excess errors:
/vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/28_regex/basic_regex/84110.cc:14: error: reference to 'extended' is ambiguous

The issue is seen in the full output:

/vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/28_regex/basic_regex/84110.cc: In function ‘void test01()’:
/vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/28_regex/basic_regex/84110.cc:14: error: reference to ‘extended’ is ambiguous
In file included from /var/gcc/regression/master/11.4-gcc-gas/build/gcc/include-fixed/math.h:391,
                 from /var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/cmath:45,
                 from /vol/gcc/src/hg/master/local/libstdc++-v3/include/precompiled/stdc++.h:41:
/usr/include/floatingpoint.h:73: note: candidates are: ‘typedef unsigned int extended [3]’

Fixed by disambiguating extended.  Tested on i386-pc-solaris2.11,
sparc-sun-solaris2.11, and x86_64-pc-linux-gnu.


2021-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	libstdc++-v3:
	* testsuite/28_regex/basic_regex/84110.cc (test01)
	[__cpp_exceptions]: Disambiguate extended.
2021-10-26 14:07:57 +02:00
..
algorithms libstdc++: Add missing _GLIBCXX_USE_WCHAR_T checks in testsuite 2021-10-09 00:57:48 +01:00
basic_regex libstdc++: Fix 28_regex/basic_regex/84110.cc on Solaris 2021-10-26 14:07:57 +02:00
constants Update copyright years. 2021-01-04 10:26:59 +01:00
headers/regex Update copyright years. 2021-01-04 10:26:59 +01:00
iterators Update copyright years. 2021-01-04 10:26:59 +01:00
match_results libstdc++: Rename files with the wrong extensions 2021-10-13 22:35:14 +01:00
regex_error Update copyright years. 2021-01-04 10:26:59 +01:00
requirements Update copyright years. 2021-01-04 10:26:59 +01:00
sub_match Update copyright years. 2021-01-04 10:26:59 +01:00
traits libstdc++: Reduce header dependencies in <regex> 2021-08-03 15:24:52 +01:00
init-list.cc Update copyright years. 2021-01-04 10:26:59 +01:00
range_access.cc libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
regression.cc Update copyright years. 2021-01-04 10:26:59 +01:00
simple_c++11.cc Update copyright years. 2021-01-04 10:26:59 +01:00