Why don't we just put the addition of -Werror much later in the configure process?
-derek Christian Stimming <[EMAIL PROTECTED]> writes: > During checking whether gnucash easily builds I discovered that several > configure tests fail when -Werror is enabled! In particular, configure.in:554 > > dnl check for nl_langinfo(D_FMT) which is missing on FreeBSD > LANGINFO_D_FMT_CHECK > > fails with the error message given below. Of course this is a BAD THING (tm), > because this will probably result in a non-translated build for no known > reason. AFAIK this check is currently the only one that fails only because of > -Werror / --enable-error-on-warning. Can we somehow get along without this > one? Otherwise we need to disable --enable-error-on-warning by default, > because the common user will only wonder why his langinfo isn't recognized. > > Christian > > > configure:12749: gcc -o conftest -g -Wall -Werror conftest.c -lm >&5 > cc1: warnings being treated as errors > configure: In function `main': > configure:12742: warning: unused variable `cs' > configure:12752: $? = 1 > configure: failed program was: > #line 12737 "configure" > #include "confdefs.h" > #include <langinfo.h> > int > main () > { > char* cs = nl_langinfo(D_FMT); > ; > return 0; > } > > _______________________________________________ > gnucash-devel mailing list > [EMAIL PROTECTED] > http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel