Re: compiling master fails

2015-02-26 Thread Jonathan Nieder
Hi, Stefan Beller wrote: > On Post 2.3 cyle (batch #5) (v2.3.1-167-g7f4ba4b) > > CC http.o > http.c: In function 'get_preferred_languages': > http.c:1021:2: warning: implicit declaration of function 'setlocale' > [-Wimplicit-function-declaration] > retval = setlocale(LC_MESSAGES, NULL); >

Re: compiling master fails

2015-02-26 Thread Stefan Beller
> On Thu, Feb 26, 2015 at 12:48 PM, Stefan Beller wrote: >> On Post 2.3 cyle (batch #5) (v2.3.1-167-g7f4ba4b) >> >> CC http.o >> http.c: In function 'get_preferred_languages': >> http.c:1021:2: warning: implicit declaration of function 'setlocale' >> [-Wimplicit-function-declaration] >> retv

Re: compiling master fails

2015-02-26 Thread Stefan Beller
Removing config.mak makes it compile again. config.mak contained: CFLAGS += -Wall -g -rdynamic -O0 # CFLAGS += -Wextra # CFLAGS += -Werror CFLAGS += -Wno-format-zero-length CFLAGS += -Wdeclaration-after-statement CFLAGS += -Wpointer-arith CFLAGS += -Wstrict-prototypes CFLAGS += -Wold-style-declarat

compiling master fails

2015-02-26 Thread Stefan Beller
On Post 2.3 cyle (batch #5) (v2.3.1-167-g7f4ba4b) CC http.o http.c: In function 'get_preferred_languages': http.c:1021:2: warning: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration] retval = setlocale(LC_MESSAGES, NULL); ^ http.c:1021:21: error: 'LC_MESSAGES' un