On Thu, Jun 07, 2012 at 06:25:40AM -0600, Eric Blake wrote:
> On 06/07/2012 05:24 AM, Christophe Fergeau wrote:
> > Using a #ifdef would be more correct:
> 
> Only if you care about -Wundef, which we don't.  But I agree that if
> other projects are copying this trick to work around glibc's braindead
> choice of making this warning verbose, then those projects may have to
> consider this fact.

Yes, I've tried reusing this change in other projects (libosinfo) which
also use -Wundef which gave me this warning. I felt it was better to use
the same 'code' in libvirt and these projects, hence this email ;)
But I agree it's not needed in libvirt, I'm fine if thing are kept this
way.

Christophe

Attachment: pgp6vdropUMSY.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to