Some configure tests broken with -Werror
Derek Atkins
warlord at MIT.EDU
Sun Feb 2 10:11:16 CST 2003
Why don't we just put the addition of -Werror much later in the
configure process?
-derek
Christian Stimming <stimming at tuhh.de> 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
> gnucash-devel at lists.gnucash.org
> https://lists.gnucash.org/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
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list