qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix warnings suppressors to honor --disable-wer


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] Fix warnings suppressors to honor --disable-werror
Date: Tue, 16 Apr 2013 06:38:20 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 04/16/2013 05:51 AM, Markus Armbruster wrote:
> Replace
> 
>     #pragma GCC diagnostic ignored FOO
>     [Troublesome code...]
>     #pragma GCC diagnostic error FOO
> 
> by
> 
>     #pragma GCC diagnostic push
>     #pragma GCC diagnostic ignored FOO
>     [Troublesome code...]
>     #pragma GCC diagnostic pop

Older gcc does not understand #pragma GCC diagnostic push.  Are you sure
this solution works with all versions of gcc in common use for compiling
qemu?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]