On Tue, Feb 10, 2015 at 04:05:31PM +0100, Ralf Corsepius wrote:
> On 02/10/2015 03:56 PM, Adam Jackson wrote:
> 
> >If only there was some way to use different CFLAGS for configure than
> >for the project.
> 
> Well, wouldn't you agree that developers should be able to read warnings and
> filter out the serious one?

But -Werror automates that, at the cost that when compiler changes, grows
new warnings etc., you might need to adjust your code, and perhaps work
around false positive warnings or individually disable them.

Anyway, the problem was that K&R functions with implicit int etc.
are not valid in C99 or C11, and it would be desirable if developers from
time to time compared e.g. config.h files upon major compiler bumps if something
important didn't get turned off.  Lots of failed configure tests will show
up somewhere during the build or in the testsuites, but some changes might
go unnoticed.

        Jakub
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to