[ trimming cc list, as I assume you are subscribed to at least one address ]

> $ ./configure CFLAGS=-Wall
> $ make CFLAGS='-Wall -Werror'

We are getting closer:

$ cd m4
$ ./configure CFLAGS=-Wall >& LOG-configure
$ make CFLAGS='-Wall -Werror' >& LOG-make

LOG-configure and LOG-make attached
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for mkstemp... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for sigvec... yes
checking for strerror... yes
checking for tmpfile... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for mbstate_t... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for C/C++ restrict keyword... __restrict
checking for nl_langinfo and CODESET... yes
checking for isblank... yes
checking for mbrtowc... yes
checking for mempcpy... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for isascii... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memchr... yes
checking for obstacks... yes
checking for working re_compile_pattern... no
checking for C/C++ restrict keyword... (cached) __restrict
checking for ssize_t... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for unistd.h... (cached) yes
checking ecvt declaration... yes
checking if stack overflow is detectable... yes
checking if changeword is wanted... no
checking if malloc debugging is wanted... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing stamp-h commands
make  all-recursive
make[1]: Entering directory `/home/sanvila/tmp/m4'
Making all in examples
make[2]: Entering directory `/home/sanvila/tmp/m4/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sanvila/tmp/m4/examples'
Making all in lib
make[2]: Entering directory `/home/sanvila/tmp/m4/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
make  all-am
make[3]: Entering directory `/home/sanvila/tmp/m4/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c strnlen1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c xalloc-die.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c exitfail.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c mbchar.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c regex.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c strcasecmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -Werror -c xmalloc.c
rm -f libm4.a
ar cru libm4.a strnlen1.o xalloc-die.o exitfail.o mbchar.o regex.o strcasecmp.o 
xmalloc.o 
ranlib libm4.a
make[3]: Leaving directory `/home/sanvila/tmp/m4/lib'
make[2]: Leaving directory `/home/sanvila/tmp/m4/lib'
Making all in src
make[2]: Entering directory `/home/sanvila/tmp/m4/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT m4.o -MD -MP 
-MF ".deps/m4.Tpo" -c -o m4.o m4.c; \
        then mv -f ".deps/m4.Tpo" ".deps/m4.Po"; else rm -f ".deps/m4.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT builtin.o 
-MD -MP -MF ".deps/builtin.Tpo" -c -o builtin.o builtin.c; \
        then mv -f ".deps/builtin.Tpo" ".deps/builtin.Po"; else rm -f 
".deps/builtin.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT debug.o -MD 
-MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \
        then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f 
".deps/debug.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT eval.o -MD 
-MP -MF ".deps/eval.Tpo" -c -o eval.o eval.c; \
        then mv -f ".deps/eval.Tpo" ".deps/eval.Po"; else rm -f 
".deps/eval.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT format.o -MD 
-MP -MF ".deps/format.Tpo" -c -o format.o format.c; \
        then mv -f ".deps/format.Tpo" ".deps/format.Po"; else rm -f 
".deps/format.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT freeze.o -MD 
-MP -MF ".deps/freeze.Tpo" -c -o freeze.o freeze.c; \
        then mv -f ".deps/freeze.Tpo" ".deps/freeze.Po"; else rm -f 
".deps/freeze.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT input.o -MD 
-MP -MF ".deps/input.Tpo" -c -o input.o input.c; \
        then mv -f ".deps/input.Tpo" ".deps/input.Po"; else rm -f 
".deps/input.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT macro.o -MD 
-MP -MF ".deps/macro.Tpo" -c -o macro.o macro.c; \
        then mv -f ".deps/macro.Tpo" ".deps/macro.Po"; else rm -f 
".deps/macro.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT output.o -MD 
-MP -MF ".deps/output.Tpo" -c -o output.o output.c; \
        then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f 
".deps/output.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT path.o -MD 
-MP -MF ".deps/path.Tpo" -c -o path.o path.c; \
        then mv -f ".deps/path.Tpo" ".deps/path.Po"; else rm -f 
".deps/path.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT symtab.o -MD 
-MP -MF ".deps/symtab.Tpo" -c -o symtab.o symtab.c; \
        then mv -f ".deps/symtab.Tpo" ".deps/symtab.Po"; else rm -f 
".deps/symtab.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../lib   -Wall -Werror -MT stackovf.o 
-MD -MP -MF ".deps/stackovf.Tpo" -c -o stackovf.o stackovf.c; \
        then mv -f ".deps/stackovf.Tpo" ".deps/stackovf.Po"; else rm -f 
".deps/stackovf.Tpo"; exit 1; fi
cc1: warnings being treated as errors
stackovf.c: In function 'setup_stackovf_trap':
stackovf.c:344: warning: 'sigstack' is deprecated (declared at 
/usr/include/signal.h:358)
make[2]: *** [stackovf.o] Error 1
make[2]: Leaving directory `/home/sanvila/tmp/m4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sanvila/tmp/m4'
make: *** [all] Error 2

Reply via email to