Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-06-01 Thread David Malcolm via Gcc-patches
On Wed, 2021-05-26 at 10:00 -0400, Jason Merrill via Gcc-patches wrote: > On 5/13/21 9:07 PM, Jason Merrill wrote: > > On 5/13/21 7:38 PM, Martin Sebor wrote: > > > On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: > > > > Ping. > > > > > > > > On 4/28/21 9:32 AM, Jason Merrill wrote: > > >

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-26 Thread Jason Merrill via Gcc-patches
On 5/26/21 3:18 PM, Martin Sebor wrote: On 5/26/21 8:00 AM, Jason Merrill wrote: On 5/13/21 9:07 PM, Jason Merrill wrote: On 5/13/21 7:38 PM, Martin Sebor wrote: On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: Ping. On 4/28/21 9:32 AM, Jason Merrill wrote:   -Wdeprecated-copy was de

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-26 Thread Martin Sebor via Gcc-patches
On 5/26/21 8:00 AM, Jason Merrill wrote: On 5/13/21 9:07 PM, Jason Merrill wrote: On 5/13/21 7:38 PM, Martin Sebor wrote: On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: Ping. On 4/28/21 9:32 AM, Jason Merrill wrote:   -Wdeprecated-copy was depending only on the state of the warning

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-26 Thread Jason Merrill via Gcc-patches
On 5/13/21 9:07 PM, Jason Merrill wrote: On 5/13/21 7:38 PM, Martin Sebor wrote: On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: Ping. On 4/28/21 9:32 AM, Jason Merrill wrote:   -Wdeprecated-copy was depending only on the state of the warning at the point where we call the function,

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-13 Thread Jason Merrill via Gcc-patches
On 5/13/21 7:38 PM, Martin Sebor wrote: On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: Ping. On 4/28/21 9:32 AM, Jason Merrill wrote:   -Wdeprecated-copy was depending only on the state of the warning at the point where we call the function, making it hard to use #pragma diagnostic

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-13 Thread Martin Sebor via Gcc-patches
On 5/13/21 1:28 PM, Jason Merrill via Gcc-patches wrote: Ping. On 4/28/21 9:32 AM, Jason Merrill wrote:   -Wdeprecated-copy was depending only on the state of the warning at the point where we call the function, making it hard to use #pragma diagnostic to suppress the warning for a particular

Re: [PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-05-13 Thread Jason Merrill via Gcc-patches
Ping. On 4/28/21 9:32 AM, Jason Merrill wrote: -Wdeprecated-copy was depending only on the state of the warning at the point where we call the function, making it hard to use #pragma diagnostic to suppress the warning for a particular implicitly declared function. But checking whether the war

[PATCH RFA (diagnostic)] c++: -Wdeprecated-copy and #pragma diagnostic [PR94492]

2021-04-28 Thread Jason Merrill via Gcc-patches
-Wdeprecated-copy was depending only on the state of the warning at the point where we call the function, making it hard to use #pragma diagnostic to suppress the warning for a particular implicitly declared function. But checking whether the warning is enabled at the location of the implicit dec