bug-gnulib
[Top][All Lists]
Advanced

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

Re: [libvirt] [PATCH] util: Fix build on s390


From: Paul Eggert
Subject: Re: [libvirt] [PATCH] util: Fix build on s390
Date: Thu, 13 Oct 2016 14:13:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/13/2016 12:14 PM, Eric Blake wrote:
I think a configure test based on -Werror=format would be
sufficient

What we have now should work for GCC 2.0 and later, whereas -Werror=format is a much-newer GCC feature and so would be less portable.

if they are using some other compiler,
then chances are -Wformat does not work, therefore the problem cannot be
portably observed so there is nothing to work around

I am worried that other compilers might warn about it even without -Werror=format. (I'm not worried about GCC, as nobody uses GCC 1 any more.)




reply via email to

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