[PATCH] tests: move GCC diagnostics pragma outside of function

Keith Packard keithp at keithp.com
Wed Aug 29 01:12:06 PDT 2012


Peter Hutterer <peter.hutterer at who-t.net> writes:

> This is a  a gcc 4.6+ feature.
>
> signal-logging.c:210: error: #pragma GCC diagnostic not allowed inside
> functions
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Keith, I'd like this in 1.13, it breaks builds on older compilers.

Merged.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120829/a333ab77/attachment.pgp>


More information about the xorg-devel mailing list