On Fri, 5 Apr 2013, Paolo Carlini wrote:

> Hi,
> 
> in the audit trail of c++/56815 Manuel noticed that, inconsistently with the
> documentation, a LangEnabledBy was missing for -Wpointer-arith vs -Wpedantic.
> 
> Then I noticed that a clean up was possible in the actual pedwarn calls,
> which, in fact, also fixes a bug: we don't want to actually emit such warnings
> for -Wpedantic -Wno-pointer-arith (as would happen before and after the
> trivial tweak above)

The C changes are OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to