autoconf
[Top][All Lists]
Advanced

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

Re: Testing for unknown flags in different compilers


From: Bob Friesenhahn
Subject: Re: Testing for unknown flags in different compilers
Date: Thu, 20 Feb 2014 20:53:49 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Wed, 19 Feb 2014, Dale Visser wrote:

I have been working on a changes whereby an autoconf user can invoke a macro 
like

AC_WARN_ADD([-Wextra])

to add user-specified flags to the compiler/linker invocations. Ideally we 
would like

I don't think that it is a particularly good idea to enable any warning options by default in a package unless the warnings are likely to indicate that the code the developer should have already perfected is somehow faulty (e.g. unexpected interface definition or missing prototype) on the system it is being built on.

Usually only the developers of a package are interested in seeing and fixing warnings. Warnings are only a cause for concern (usually undue concern) for others.

There are many people who build packages from source code besides the package developers.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

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