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
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to