This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 PATCH] Implement LWG 2729 for pair.
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: Jonathan Wakely <jwakely at redhat dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Sep 2016 03:21:50 +0300
- Subject: Re: [v3 PATCH] Implement LWG 2729 for pair.
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUbe0zh4Y_2FRNyGaNh7Lcm6rKB9Tq_cVYUgPc-rSBzQqw@mail.gmail.com> <20160921103350.GL17376@redhat.com> <CAFk2RUYa5AWDTotQENOesA+bvWNRJWRs7gqV1hVvy-u1TgCgGQ@mail.gmail.com> <20160926125410.GQ17376@redhat.com> <CAKdteObcQm2hTvB4QJee2PEuUT7DOwHAmz8Wk+k0=p40sLWC=w@mail.gmail.com>
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.