Re: [C++ Patch] PR 54161

2012-08-05 Thread Paolo Carlini
On 08/06/2012 01:29 AM, Jason Merrill wrote: On reflection, I think I prefer the status quo. As long as the pedwarn is on by default, I don't mind letting people disable it with -Wno-pointer-arith. I hear you. Then, let's just close the PR. Thanks! Paolo.

Re: [C++ Patch] PR 54161

2012-08-05 Thread Jason Merrill
On reflection, I think I prefer the status quo. As long as the pedwarn is on by default, I don't mind letting people disable it with -Wno-pointer-arith. Jason

[C++ Patch] PR 54161

2012-08-04 Thread Paolo Carlini
Hi, as discussed on the audit trail, I'm changing c_sizeof_or_alignof_type to unconditionally pedwarn in C++ mode. I have to also tweak an existing testcase, which was exactly relying on the warning to be suppressed by -Wno-pointer-arith. Booted and tested x86_64-linux. Thanks, Paolo.