On 01/23/2010 01:26 AM, Dmitry V. Levin wrote:
I'm not sure about $ac_[]_AC_LANG_ABBREV[]_werror_flag, because it is not set when -Werror is included in CFLAGS, and the latter case is more common than the use of AC_LANG_WERROR.
... but still you use AC_LANG_WERROR in the testcase. It's been broken forever, I think we can afford supporting only the case when AC_LANG_WERROR is used explicitly. And at the same time improve the docs for AC_LANG_WERROR.
Paolo
