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.
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
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.