Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror

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

 



On Thu, 20 Sep 2012, Adrian Bunk wrote:

IMHO the best solution for both package maintainers and people compiling
software would be:
- AC_PROG_CC always filters out -Werror
- when -Werror was filtered out, configure prints a message like
 "filtering out -Werror during configure"
- when -Werror was filtered out, AC_OUTPUT re-adds it

If this is done, there will be a compilation error when there is a warning, regardless of the cause of the warning. That is what was requested but it might not be what was desired if a system header produces the warning. The result might fail immediately.

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