[v3 PATCH] Implement LWG 2729 for pair.

Ville Voutilainen ville.voutilainen@gmail.com
Tue Sep 27 00:22:00 GMT 2016


On 27 September 2016 at 03:16, Christophe Lyon
<christophe.lyon@linaro.org> wrote:
>   20_util/declval/requirements/1_neg.cc  (test for errors, line 2263)
>   20_util/declval/requirements/1_neg.cc (test for excess errors)
>   20_util/make_signed/requirements/typedefs_neg.cc  (test for errors, line 1928)
>   20_util/make_signed/requirements/typedefs_neg.cc (test for excess errors)
>   20_util/make_unsigned/requirements/typedefs_neg.cc  (test for
> errors, line 1781)
>   20_util/make_unsigned/requirements/typedefs_neg.cc  (test for
> errors, line 1824)
>   20_util/make_unsigned/requirements/typedefs_neg.cc (test for excess errors)
>
> Error messages include:
> /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc3/aarch64-none-linux-gnu/libstdc++-v3/include/type_traits:2270:
> error: static assertion failed: declval() must not be used!
>
> Is it just because the pattern in dg-error is *-*-* ?


Argh, I'll take a look. These errors come from the testsuite expecting
certain line numbers in certain
library headers, and adding code to said headers shifts the error lines.



More information about the Libstdc++ mailing list