Re: Testing for unknown flags in different compilers

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

 



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
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux