Robert Millan <rmh <at> aybabtu.com> writes: > This makes it possible to use AC_LANG_PROGRAM in autoconf scripts that > have previously included -Wstrict-prototypes and -Werror in their CFLAGS.
This has come up previously on the list. So far, the answer has always been that we currently _don't_ cater to -Werror in CFLAGS during configure, because the patches to do so are more invasive than a one-liner, and no one has been bothered enough to try and contribute a complete patch. For this particular proposal, you would be breaking K&R compilation. Yes, we want to move to a default of requiring a C89 compiler, and only supporting K&R if the configure.ac author explicitly requested it, but applying your patch would break the current default of supporting K&R by default. For now, I'm just inclined to stick with the party line of 'if -Werror hurts, don't use it'. -- Eric Blake
