Bruno Haible <br...@clisp.org> writes: > It is bizarre, though, that the warning only appears at the first function > definition. Seen on Cygwin 1.7.2: ... > AC_TRY_COMPILE does add a function for 'main', but this deserves a comment at > least.
Yes, the entire semantics of this flag on Windows appears strange. > Also, -Werror may lead to an error always, for example, if the CFLAGS > or CPPFLAGS contain an option that gcc warns about always. So, this > needs to be checked against first. > > I'm applying this: Great, thanks! /Simon