https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

--- Comment #21 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #14)
> (In reply to Jeffrey Walton from comment #13)
> > #if GCC_DIAGNOSTIC_AWARE
> > # pragma GCC diagnostic push
> > # pragma GCC diagnostic ignored "-Wunused-value"
> > # pragma GCC diagnostic ignored "-Wunused-variable"
> > #endif
> 
> As far as I understand, the #pragma should work as expected for those two
> warnings. Only those warnings given during preprocessing and lexing are
> affected by this bug.

Now that you posted a complete example here:
https://gcc.gnu.org/ml/gcc-help/2015-07/msg00070.html you seem to actually be
hitting PR66290, not this one.

Reply via email to