Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2020-01-10 Thread Jonathan Wakely
On 10/01/20 13:25 +0100, Christophe Lyon wrote: Hi, On Thu, 9 Jan 2020 at 22:21, Jonathan Wakely wrote: On 09/01/20 19:57 +, Jonathan Wakely wrote: >I'll commit the attached patch after more testing. And this follow-up to fix some fallout. I have noticed: FAIL: g++:g++.dg/cpp0x/std-la

Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2020-01-10 Thread Christophe Lyon
Hi, On Thu, 9 Jan 2020 at 22:21, Jonathan Wakely wrote: > > On 09/01/20 19:57 +, Jonathan Wakely wrote: > >I'll commit the attached patch after more testing. > > And this follow-up to fix some fallout. > I have noticed: FAIL: g++:g++.dg/cpp0x/std-layout1.C -std=c++2a (test for excess errors

Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2020-01-09 Thread Jonathan Wakely
On 09/01/20 19:57 +, Jonathan Wakely wrote: I'll commit the attached patch after more testing. And this follow-up to fix some fallout. commit 212e166cbeb4c7df38436563c3c51dbd4e0efc0d Author: Jonathan Wakely Date: Thu Jan 9 19:55:17 2020 + libstdc++: Fix testsuite failures and

Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2020-01-09 Thread Jonathan Wakely
On 04/12/19 17:56 -0500, JeanHeyd Meneide wrote: Dear Jonathan, Done! re-patched, below. Thanks! Some comments below. Best, JeanHeyd 2019-12-03 JeanHeyd "ThePhD" Meneide * include/bits/c++config: Add new _GLIBCXX20_DEPRECATED macro. * include/std/type_traits: Deprecate

Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2019-12-04 Thread JeanHeyd Meneide
Dear Jonathan, Done! re-patched, below. Best, JeanHeyd 2019-12-03 JeanHeyd "ThePhD" Meneide * include/bits/c++config: Add new _GLIBCXX20_DEPRECATED macro. * include/std/type_traits: Deprecate is_pod with message. * testuite/20_util/is_pod/deprecated-2a.cc (new): t

Re: [ PATCH ] [ C++ ] Implementing P0767 - deprecate POD

2019-12-04 Thread Jonathan Wakely
On 03/12/19 20:30 -0500, JeanHeyd Meneide wrote: This patch implements deprecate POD for the C++ Standard Library, Thanks. bringing libstdc++ that much closer to 2020 conformance 🎉! N.B. adding the attribute is not required for conformance. +#if defined(__DEPRECATED) && (__cplusplus > 201