[Top][All Lists]

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

Re: Trivial patches to silence -Wundef

From: Eric Blake
Subject: Re: Trivial patches to silence -Wundef
Date: Wed, 5 Apr 2017 10:29:25 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/05/2017 08:47 AM, Tim Rühsen wrote:
> These patches silence tons of warnings here...

In general, we do NOT try to make gnulib .c files '-Wundef'-clean.  The
best solution is to not use -Wundef on gnulib compilation (even if you
want to use it on your .c files).  Of course, that means that .h files
are in the gray area where we've taken patches to silence -Wundef
warnings in the past.

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]