diff -ru a/build/Makefile b/build/Makefile --- a/build/Makefile 2013-04-23 20:07:29.518716084 +0300 +++ b/build/Makefile 2013-04-23 20:09:00.173503145 +0300 @@ -147,7 +147,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/build/win32/dirent/Makefile b/build/win32/dirent/Makefile --- a/build/win32/dirent/Makefile 2013-04-23 20:07:29.562051705 +0300 +++ b/build/win32/dirent/Makefile 2013-04-23 20:09:00.250173861 +0300 @@ -106,7 +106,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/build/win32/Makefile b/build/win32/Makefile --- a/build/win32/Makefile 2013-04-23 20:07:29.542050649 +0300 +++ b/build/win32/Makefile 2013-04-23 20:09:00.216838767 +0300 @@ -146,7 +146,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/build/win32/vs10/Makefile b/build/win32/vs10/Makefile --- a/build/win32/vs10/Makefile 2013-04-23 20:07:29.602053817 +0300 +++ b/build/win32/vs10/Makefile 2013-04-23 20:09:00.296842992 +0300 @@ -106,7 +106,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/build/win32/vs11/Makefile b/build/win32/vs11/Makefile --- a/build/win32/vs11/Makefile 2013-04-23 20:07:29.632055401 +0300 +++ b/build/win32/vs11/Makefile 2013-04-23 20:09:00.320177558 +0300 @@ -116,7 +116,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/build/win32/vs9/Makefile b/build/win32/vs9/Makefile --- a/build/win32/vs9/Makefile 2013-04-23 20:07:29.582052761 +0300 +++ b/build/win32/vs9/Makefile 2013-04-23 20:09:00.270174917 +0300 @@ -106,7 +106,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/config.h b/config.h --- a/config.h 2013-04-23 20:07:30.922123516 +0300 +++ b/config.h 2013-04-23 20:09:01.690249913 +0300 @@ -677,7 +677,7 @@ #define REALLOC_0_WORKS 1 /* Define if you have correct malloc prototypes */ -#define SANE_MALLOC_PROTOS 1 +/* #undef SANE_MALLOC_PROTOS */ /* The size of `char', as computed by sizeof. */ #define SIZEOF_CHAR 1 diff -ru a/config.log b/config.log --- a/config.log 2013-04-23 20:07:35.402360072 +0300 +++ b/config.log 2013-04-23 20:09:05.643792040 +0300 @@ -102,27 +102,27 @@ compilation terminated. configure:3982: $? = 1 configure:4002: checking whether the C compiler works -configure:4024: gcc conftest.c >&5 +configure:4024: gcc -Wall conftest.c >&5 configure:4028: $? = 0 configure:4076: result: yes configure:4079: checking for C compiler default output file name configure:4081: result: a.out configure:4087: checking for suffix of executables -configure:4094: gcc -o conftest conftest.c >&5 +configure:4094: gcc -o conftest -Wall conftest.c >&5 configure:4098: $? = 0 configure:4120: result: configure:4142: checking whether we are cross compiling -configure:4150: gcc -o conftest conftest.c >&5 +configure:4150: gcc -o conftest -Wall conftest.c >&5 configure:4154: $? = 0 configure:4161: ./conftest configure:4165: $? = 0 configure:4180: result: no configure:4185: checking for suffix of object files -configure:4207: gcc -c conftest.c >&5 +configure:4207: gcc -c -Wall conftest.c >&5 configure:4211: $? = 0 configure:4232: result: o configure:4236: checking whether we are using the GNU C compiler -configure:4255: gcc -c conftest.c >&5 +configure:4255: gcc -c -Wall conftest.c >&5 configure:4255: $? = 0 configure:4264: result: yes configure:4273: checking whether gcc accepts -g @@ -130,7 +130,7 @@ configure:4293: $? = 0 configure:4334: result: yes configure:4351: checking for gcc option to accept ISO C89 -configure:4414: gcc -c -g -O2 conftest.c >&5 +configure:4414: gcc -c -Wall conftest.c >&5 configure:4414: $? = 0 configure:4427: result: none needed configure:4458: checking for style of include used by make @@ -314,7 +314,7 @@ configure:6374: checking for special C compiler options needed for large files configure:6419: result: no configure:6425: checking for _FILE_OFFSET_BITS value needed for large files -configure:6450: gcc -c -g -O2 conftest.c >&5 +configure:6450: gcc -c -Wall conftest.c >&5 configure:6450: $? = 0 configure:6482: result: no configure:6622: checking for pkg-config @@ -350,7 +350,7 @@ configure:7129: checking for python extension module directory configure:7157: result: ${exec_prefix}/lib/python3.3/site-packages configure:7193: checking for iconv_open -configure:7193: gcc -o conftest -g -O2 conftest.c >&5 +configure:7193: gcc -o conftest -Wall conftest.c >&5 configure:7193: $? = 0 configure:7193: result: yes configure:7392: checking whether to cache iconv descriptors @@ -362,47 +362,47 @@ configure:7447: $? = 0 configure:7485: result: yes configure:7489: checking for ANSI C header files -configure:7509: gcc -c -g -O2 conftest.c >&5 +configure:7509: gcc -c -Wall conftest.c >&5 configure:7509: $? = 0 -configure:7582: gcc -o conftest -g -O2 conftest.c >&5 +configure:7582: gcc -o conftest -Wall conftest.c >&5 configure:7582: $? = 0 configure:7582: ./conftest configure:7582: $? = 0 configure:7593: result: yes configure:7606: checking for sys/types.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for sys/stat.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for stdlib.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for string.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for memory.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for strings.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for inttypes.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for stdint.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7606: checking for unistd.h -configure:7606: gcc -c -g -O2 conftest.c >&5 +configure:7606: gcc -c -Wall conftest.c >&5 configure:7606: $? = 0 configure:7606: result: yes configure:7675: checking for LIBFFI @@ -412,7 +412,7 @@ configure:7702: $? = 0 configure:7760: result: yes configure:7774: checking locale.h usability -configure:7774: gcc -c -g -O2 conftest.c >&5 +configure:7774: gcc -c -Wall conftest.c >&5 configure:7774: $? = 0 configure:7774: result: yes configure:7774: checking locale.h presence @@ -422,11 +422,11 @@ configure:7774: checking for locale.h configure:7774: result: yes configure:7785: checking for LC_MESSAGES -configure:7801: gcc -o conftest -g -O2 conftest.c >&5 +configure:7801: gcc -o conftest -Wall conftest.c >&5 configure:7801: $? = 0 configure:7809: result: yes configure:7826: checking libintl.h usability -configure:7826: gcc -c -g -O2 conftest.c >&5 +configure:7826: gcc -c -Wall conftest.c >&5 configure:7826: $? = 0 configure:7826: result: yes configure:7826: checking libintl.h presence @@ -436,21 +436,21 @@ configure:7826: checking for libintl.h configure:7826: result: yes configure:7834: checking for ngettext in libc -configure:7852: gcc -o conftest -g -O2 conftest.c >&5 +configure:7852: gcc -o conftest -Wall conftest.c >&5 configure:7852: $? = 0 configure:7861: result: yes configure:7865: checking for dgettext in libc -configure:7883: gcc -o conftest -g -O2 conftest.c >&5 +configure:7883: gcc -o conftest -Wall conftest.c >&5 configure:7883: $? = 0 configure:7892: result: yes configure:7899: checking for bind_textdomain_codeset -configure:7899: gcc -o conftest -g -O2 conftest.c >&5 +configure:7899: gcc -o conftest -Wall conftest.c >&5 configure:7899: $? = 0 configure:7899: result: yes configure:8175: checking for msgfmt configure:8202: result: /usr/bin/msgfmt configure:8213: checking for dcgettext -configure:8213: gcc -o conftest -g -O2 conftest.c >&5 +configure:8213: gcc -o conftest -Wall conftest.c >&5 conftest.c:52:6: warning: conflicting types for built-in function 'dcgettext' [enabled by default] char dcgettext (); ^ @@ -464,7 +464,7 @@ configure:8284: result: /usr/bin/msgfmt configure:8294: checking for xgettext configure:8321: result: /usr/bin/xgettext -configure:8340: gcc -o conftest -g -O2 conftest.c >&5 +configure:8340: gcc -o conftest -Wall conftest.c >&5 configure:8340: $? = 0 configure:8422: checking for catalogs to be installed configure:8447: result: af am ar as ast az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kk kn ko ku lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te tg th tl tr ug tt uk vi wa xh yi zh_CN zh_HK zh_TW @@ -481,7 +481,7 @@ configure:8919: checking for BSD- or MS-compatible name lister (nm) configure:8968: result: /usr/bin/nm -B configure:9098: checking the name lister (/usr/bin/nm -B) interface -configure:9105: gcc -c -g -O2 conftest.c >&5 +configure:9105: gcc -c -Wall conftest.c >&5 configure:9108: /usr/bin/nm -B "conftest.o" configure:9111: output 0000000000000000 B some_variable @@ -513,7 +513,7 @@ configure:9993: found /usr/bin/ar configure:10004: result: ar configure:10041: checking for archiver @FILE support -configure:10058: gcc -c -g -O2 conftest.c >&5 +configure:10058: gcc -c -Wall conftest.c >&5 configure:10058: $? = 0 configure:10061: ar cru libconftest.a @conftest.lst >&5 configure:10064: $? = 0 @@ -528,16 +528,16 @@ configure:10257: found /usr/bin/ranlib configure:10268: result: ranlib configure:10370: checking command to parse /usr/bin/nm -B output from gcc object -configure:10490: gcc -c -g -O2 conftest.c >&5 +configure:10490: gcc -c -Wall conftest.c >&5 configure:10493: $? = 0 configure:10497: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:10500: $? = 0 -configure:10566: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 +configure:10566: gcc -o conftest -Wall conftest.c conftstm.o >&5 configure:10569: $? = 0 configure:10607: result: ok configure:10644: checking for sysroot configure:10674: result: no -configure:10751: gcc -c -g -O2 conftest.c >&5 +configure:10751: gcc -c -Wall conftest.c >&5 configure:10754: $? = 0 configure:10930: checking for mt configure:10960: result: no @@ -545,26 +545,26 @@ configure:10986: : '-?' configure:10994: result: no configure:11633: checking for dlfcn.h -configure:11633: gcc -c -g -O2 conftest.c >&5 +configure:11633: gcc -c -Wall conftest.c >&5 configure:11633: $? = 0 configure:11633: result: yes configure:12146: checking for objdir configure:12161: result: .libs configure:12432: checking if gcc supports -fno-rtti -fno-exceptions -configure:12450: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 +configure:12450: gcc -c -Wall -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:12454: $? = 0 configure:12467: result: no configure:12794: checking for gcc option to produce PIC configure:12801: result: -fPIC -DPIC configure:12809: checking if gcc PIC flag -fPIC -DPIC works -configure:12827: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 +configure:12827: gcc -c -Wall -fPIC -DPIC -DPIC conftest.c >&5 configure:12831: $? = 0 configure:12844: result: yes configure:12873: checking if gcc static flag -static works configure:12901: result: yes configure:12916: checking if gcc supports -c -o file.o -configure:12937: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 +configure:12937: gcc -c -Wall -o out/conftest2.o conftest.c >&5 configure:12941: $? = 0 configure:12963: result: yes configure:12971: checking if gcc supports -c -o file.o @@ -572,13 +572,13 @@ configure:13051: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14204: result: yes configure:14241: checking whether -lc should be explicitly linked in -configure:14249: gcc -c -g -O2 conftest.c >&5 +configure:14249: gcc -c -Wall conftest.c >&5 configure:14252: $? = 0 configure:14267: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:14270: $? = 0 configure:14284: result: no configure:14444: checking dynamic linker characteristics -configure:14955: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 +configure:14955: gcc -o conftest -Wall -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14955: $? = 0 configure:15181: result: GNU/Linux ld.so configure:15288: checking how to hardcode library paths into programs @@ -716,26 +716,30 @@ ## ------------------ ## config.lt:682: creating libtool configure:20819: checking for extra flags to get ANSI library prototypes -configure:20834: gcc -o conftest -g -O2 conftest.c -lm >&5 +configure:20834: gcc -o conftest -Wall conftest.c -lm >&5 configure:20834: $? = 0 configure:20834: ./conftest configure:20834: $? = 0 configure:20835: result: none needed configure:20876: checking for extra flags for POSIX compliance -configure:20889: gcc -c -g -O2 conftest.c >&5 +configure:20889: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:39:6: warning: unused variable 'dir' [-Wunused-variable] + DIR *dir; + ^ configure:20889: $? = 0 configure:20890: result: none needed configure:20923: checking for vprintf -configure:20923: gcc -o conftest -g -O2 conftest.c >&5 +configure:20923: gcc -o conftest -Wall conftest.c >&5 conftest.c:58:6: warning: conflicting types for built-in function 'vprintf' [enabled by default] char vprintf (); ^ configure:20923: $? = 0 configure:20923: result: yes configure:20929: checking for _doprnt -configure:20929: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccui2LWI.o: In function `main': -/home/andrey/tmp/glib/conftest.c:70: undefined reference to `_doprnt' +configure:20929: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccZGW30Q.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `_doprnt' collect2: error: ld returned 1 exit status configure:20929: $? = 1 configure: failed program was: @@ -814,9 +818,9 @@ | } configure:20929: result: no configure:20940: checking for size_t -configure:20940: gcc -c -g -O2 conftest.c >&5 +configure:20940: gcc -c -Wall conftest.c >&5 configure:20940: $? = 0 -configure:20940: gcc -c -g -O2 conftest.c >&5 +configure:20940: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': conftest.c:72:21: error: expected expression before ')' token if (sizeof ((size_t))) @@ -901,41 +905,41 @@ | } configure:20940: result: yes configure:20953: checking for working alloca.h -configure:20970: gcc -o conftest -g -O2 conftest.c >&5 +configure:20970: gcc -o conftest -Wall conftest.c >&5 configure:20970: $? = 0 configure:20978: result: yes configure:20986: checking for alloca -configure:21023: gcc -o conftest -g -O2 conftest.c >&5 +configure:21023: gcc -o conftest -Wall conftest.c >&5 configure:21023: $? = 0 configure:21031: result: yes configure:21140: checking for mmap -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for posix_memalign -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for memalign -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for valloc -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for fsync -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for pipe2 -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 +configure:21140: gcc -o conftest -Wall conftest.c >&5 configure:21140: $? = 0 configure:21140: result: yes configure:21140: checking for issetugid -configure:21140: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccWoaG7B.o: In function `main': -/home/andrey/tmp/glib/conftest.c:78: undefined reference to `issetugid' +configure:21140: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccXPDhrF.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `issetugid' collect2: error: ld returned 1 exit status configure:21140: $? = 1 configure: failed program was: @@ -1022,63 +1026,63 @@ | } configure:21140: result: no configure:21152: checking for atexit -configure:21152: gcc -o conftest -g -O2 conftest.c >&5 +configure:21152: gcc -o conftest -Wall conftest.c >&5 configure:21152: $? = 0 configure:21152: result: yes configure:21152: checking for on_exit -configure:21152: gcc -o conftest -g -O2 conftest.c >&5 +configure:21152: gcc -o conftest -Wall conftest.c >&5 configure:21152: $? = 0 configure:21152: result: yes configure:21152: checking for timegm -configure:21152: gcc -o conftest -g -O2 conftest.c >&5 +configure:21152: gcc -o conftest -Wall conftest.c >&5 configure:21152: $? = 0 configure:21152: result: yes configure:21152: checking for gmtime_r -configure:21152: gcc -o conftest -g -O2 conftest.c >&5 +configure:21152: gcc -o conftest -Wall conftest.c >&5 configure:21152: $? = 0 configure:21152: result: yes configure:21162: checking for __libc_enable_secure -configure:21179: gcc -o conftest -g -O2 conftest.c >&5 +configure:21179: gcc -o conftest -Wall conftest.c >&5 configure:21179: $? = 0 configure:21187: result: yes configure:21201: checking size of char -configure:21206: gcc -o conftest -g -O2 conftest.c >&5 +configure:21206: gcc -o conftest -Wall conftest.c >&5 configure:21206: $? = 0 configure:21206: ./conftest configure:21206: $? = 0 configure:21220: result: 1 configure:21234: checking size of short -configure:21239: gcc -o conftest -g -O2 conftest.c >&5 +configure:21239: gcc -o conftest -Wall conftest.c >&5 configure:21239: $? = 0 configure:21239: ./conftest configure:21239: $? = 0 configure:21253: result: 2 configure:21267: checking size of long -configure:21272: gcc -o conftest -g -O2 conftest.c >&5 +configure:21272: gcc -o conftest -Wall conftest.c >&5 configure:21272: $? = 0 configure:21272: ./conftest configure:21272: $? = 0 configure:21286: result: 8 configure:21300: checking size of int -configure:21305: gcc -o conftest -g -O2 conftest.c >&5 +configure:21305: gcc -o conftest -Wall conftest.c >&5 configure:21305: $? = 0 configure:21305: ./conftest configure:21305: $? = 0 configure:21319: result: 4 configure:21333: checking size of void * -configure:21338: gcc -o conftest -g -O2 conftest.c >&5 +configure:21338: gcc -o conftest -Wall conftest.c >&5 configure:21338: $? = 0 configure:21338: ./conftest configure:21338: $? = 0 configure:21352: result: 8 configure:21366: checking size of long long -configure:21371: gcc -o conftest -g -O2 conftest.c >&5 +configure:21371: gcc -o conftest -Wall conftest.c >&5 configure:21371: $? = 0 configure:21371: ./conftest configure:21371: $? = 0 configure:21385: result: 8 configure:21399: checking size of __int64 -configure:21404: gcc -o conftest -g -O2 conftest.c >&5 +configure:21404: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'longval': conftest.c:88:57: error: '__int64' undeclared (first use in this function) static long int longval () { return (long int) (sizeof (__int64)); } @@ -1092,6 +1096,14 @@ conftest.c:99:28: error: '__int64' undeclared (first use in this function) if (((long int) (sizeof (__int64))) < 0) ^ +conftest.c: In function 'longval': +conftest.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] + static long int longval () { return (long int) (sizeof (__int64)); } + ^ +conftest.c: In function 'ulongval': +conftest.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] + static unsigned long int ulongval () { return (long int) (sizeof (__int64)); } + ^ configure:21404: $? = 1 configure: program exited with status 1 configure: failed program was: @@ -1216,33 +1228,41 @@ | } configure:21418: result: 0 configure:21429: checking for sig_atomic_t -configure:21447: gcc -o conftest -g -O2 conftest.c >&5 +configure:21447: gcc -o conftest -Wall conftest.c >&5 configure:21447: $? = 0 configure:21455: result: yes configure:21475: checking for format to printf and scanf a guint64 -configure:21498: gcc -o conftest -g -O2 conftest.c >&5 +configure:21498: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:64:6: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:64:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (b!=a); ^ +conftest.c:64:6: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] configure:21498: $? = 0 configure:21498: ./conftest configure:21498: $? = 0 configure:21511: result: %llu configure:21545: checking for an ANSI C-conforming const -configure:21611: gcc -c -g -O2 conftest.c >&5 +configure:21611: gcc -c -Wall conftest.c >&5 configure:21611: $? = 0 configure:21618: result: yes configure:21628: checking if malloc() and friends prototypes are gmem.h compatible -configure:21654: gcc -c -g -O2 -Werror conftest.c >&5 -configure:21654: $? = 0 -configure:21663: result: yes -configure:21667: checking for growing stack pointer -configure:21688: gcc -o conftest -g -O2 conftest.c >&5 -configure:21688: $? = 0 -configure:21688: ./conftest -configure:21688: $? = 1 -configure: program exited with status 1 +configure:21654: gcc -c -Wall -Werror conftest.c >&5 +conftest.c: In function 'main': +conftest.c:66:13: error: variable 'my_realloc_p' set but not used [-Werror=unused-but-set-variable] + void* (*my_realloc_p) (void*, size_t) = realloc; + ^ +conftest.c:65:13: error: variable 'my_free_p' set but not used [-Werror=unused-but-set-variable] + void (*my_free_p) (void*) = free; + ^ +conftest.c:64:13: error: variable 'my_malloc_p' set but not used [-Werror=unused-but-set-variable] + void* (*my_malloc_p) (size_t) = malloc; + ^ +conftest.c:63:13: error: variable 'my_calloc_p' set but not used [-Werror=unused-but-set-variable] + void* (*my_calloc_p) (size_t, size_t) = calloc; + ^ +cc1: all warnings being treated as errors +configure:21654: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "glib" @@ -1300,37 +1320,64 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | /* end confdefs.h. */ +| #include +| int +| main () +| { | -| volatile int *a = 0, *b = 0; -| void foo (void); -| int main () { volatile int y = 7; a = &y; foo (); return b > a; } -| void foo (void) { volatile int x = 5; b = &x; } +| void* (*my_calloc_p) (size_t, size_t) = calloc; +| void* (*my_malloc_p) (size_t) = malloc; +| void (*my_free_p) (void*) = free; +| void* (*my_realloc_p) (void*, size_t) = realloc; +| my_calloc_p = 0; +| my_malloc_p = 0; +| my_free_p = 0; +| my_realloc_p = 0; | -configure:21701: result: yes +| ; +| return 0; +| } +configure:21663: result: no +configure:21667: checking for growing stack pointer +configure:21688: gcc -o conftest -Wall conftest.c >&5 +configure:21688: $? = 0 +configure:21688: ./conftest +configure:21688: $? = 0 +configure:21701: result: no configure:21704: checking for __inline -configure:21717: gcc -c -g -O2 conftest.c >&5 +configure:21717: gcc -c -Wall conftest.c >&5 configure:21717: $? = 0 configure:21727: result: yes configure:21734: checking for __inline__ -configure:21747: gcc -c -g -O2 conftest.c >&5 +configure:21747: gcc -c -Wall conftest.c >&5 configure:21747: $? = 0 configure:21757: result: yes configure:21764: checking for inline -configure:21778: gcc -c -g -O2 conftest.c >&5 +configure:21778: gcc -c -Wall conftest.c >&5 configure:21778: $? = 0 configure:21788: result: yes configure:21797: checking if inline functions in headers work -configure:21826: gcc -o conftest -g -O2 conftest.c >&5 +configure:21826: gcc -o conftest -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:83:7: warning: unused variable 'i' [-Wunused-variable] + int i = 1; + ^ +conftest.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ configure:21826: $? = 0 configure:21833: result: yes configure:21836: checking for working do while(0) macros -configure:21857: gcc -c -g -O2 conftest.c >&5 +configure:21857: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:69:6: warning: 'main' is normally a non-static function [-Wmain] + int main(void) { int i = 1; STMT_TEST; return i; } + ^ configure:21857: $? = 0 configure:21865: result: yes configure:21874: checking for ISO C99 varargs macros in C -configure:21891: gcc -c -g -O2 conftest.c >&5 +configure:21891: gcc -c -Wall conftest.c >&5 configure:21891: $? = 0 configure:21897: result: yes configure:21900: checking for ISO C99 varargs macros in C++ @@ -1338,18 +1385,18 @@ configure:21927: $? = 0 configure:21941: result: yes configure:21944: checking for GNUC varargs macros -configure:21961: gcc -c -g -O2 conftest.c >&5 +configure:21961: gcc -c -Wall conftest.c >&5 configure:21961: $? = 0 configure:21967: result: yes configure:21971: checking for GNUC visibility attribute -configure:22009: gcc -c -g -O2 conftest.c +configure:22009: gcc -c -Wall conftest.c configure:22017: $? = 0 configure:22020: (if test -s conftest.err; then false ; else true; fi) configure:22023: $? = 0 configure:22033: result: yes configure:22044: checking whether using Sun Studio C compiler -configure:22061: gcc -c -g -O2 conftest.c >&5 -conftest.c:65:43: fatal error: error: this is not Sun Studio.: No such file or directory +configure:22061: gcc -c -Wall conftest.c >&5 +conftest.c:64:43: fatal error: error: this is not Sun Studio.: No such file or directory # include "error: this is not Sun Studio." ^ compilation terminated. @@ -1411,7 +1458,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -1431,14 +1477,14 @@ | } configure:22067: result: no configure:22079: checking whether byte ordering is bigendian -configure:22094: gcc -c -g -O2 conftest.c >&5 -conftest.c:64:9: error: unknown type name 'not' +configure:22094: gcc -c -Wall conftest.c >&5 +conftest.c:63:9: error: unknown type name 'not' not a universal capable compiler ^ -conftest.c:64:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' +conftest.c:63:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' not a universal capable compiler ^ -conftest.c:64:15: error: unknown type name 'universal' +conftest.c:63:15: error: unknown type name 'universal' configure:22094: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -1497,7 +1543,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -1508,14 +1553,14 @@ | #endif | typedef int dummy; | -configure:22139: gcc -c -g -O2 conftest.c >&5 +configure:22139: gcc -c -Wall conftest.c >&5 configure:22139: $? = 0 -configure:22157: gcc -c -g -O2 conftest.c >&5 +configure:22157: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:70:4: error: unknown type name 'not' +conftest.c:69:4: error: unknown type name 'not' not big endian ^ -conftest.c:70:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' +conftest.c:69:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' not big endian ^ configure:22157: $? = 1 @@ -1576,7 +1621,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -1597,7 +1641,7 @@ | } configure:22285: result: no configure:22353: checking dirent.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking dirent.h presence @@ -1607,7 +1651,7 @@ configure:22353: checking for dirent.h configure:22353: result: yes configure:22353: checking float.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking float.h presence @@ -1617,7 +1661,7 @@ configure:22353: checking for float.h configure:22353: result: yes configure:22353: checking limits.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking limits.h presence @@ -1627,7 +1671,7 @@ configure:22353: checking for limits.h configure:22353: result: yes configure:22353: checking pwd.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking pwd.h presence @@ -1637,7 +1681,7 @@ configure:22353: checking for pwd.h configure:22353: result: yes configure:22353: checking grp.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking grp.h presence @@ -1647,7 +1691,7 @@ configure:22353: checking for grp.h configure:22353: result: yes configure:22353: checking sys/param.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking sys/param.h presence @@ -1657,7 +1701,7 @@ configure:22353: checking for sys/param.h configure:22353: result: yes configure:22353: checking sys/poll.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking sys/poll.h presence @@ -1667,7 +1711,7 @@ configure:22353: checking for sys/poll.h configure:22353: result: yes configure:22353: checking sys/resource.h usability -configure:22353: gcc -c -g -O2 conftest.c >&5 +configure:22353: gcc -c -Wall conftest.c >&5 configure:22353: $? = 0 configure:22353: result: yes configure:22353: checking sys/resource.h presence @@ -1677,7 +1721,7 @@ configure:22353: checking for sys/resource.h configure:22353: result: yes configure:22366: checking sys/time.h usability -configure:22366: gcc -c -g -O2 conftest.c >&5 +configure:22366: gcc -c -Wall conftest.c >&5 configure:22366: $? = 0 configure:22366: result: yes configure:22366: checking sys/time.h presence @@ -1687,7 +1731,7 @@ configure:22366: checking for sys/time.h configure:22366: result: yes configure:22366: checking sys/times.h usability -configure:22366: gcc -c -g -O2 conftest.c >&5 +configure:22366: gcc -c -Wall conftest.c >&5 configure:22366: $? = 0 configure:22366: result: yes configure:22366: checking sys/times.h presence @@ -1697,7 +1741,7 @@ configure:22366: checking for sys/times.h configure:22366: result: yes configure:22366: checking sys/wait.h usability -configure:22366: gcc -c -g -O2 conftest.c >&5 +configure:22366: gcc -c -Wall conftest.c >&5 configure:22366: $? = 0 configure:22366: result: yes configure:22366: checking sys/wait.h presence @@ -1709,7 +1753,7 @@ configure:22366: checking for unistd.h configure:22366: result: yes configure:22366: checking values.h usability -configure:22366: gcc -c -g -O2 conftest.c >&5 +configure:22366: gcc -c -Wall conftest.c >&5 configure:22366: $? = 0 configure:22366: result: yes configure:22366: checking values.h presence @@ -1719,7 +1763,7 @@ configure:22366: checking for values.h configure:22366: result: yes configure:22379: checking sys/select.h usability -configure:22379: gcc -c -g -O2 conftest.c >&5 +configure:22379: gcc -c -Wall conftest.c >&5 configure:22379: $? = 0 configure:22379: result: yes configure:22379: checking sys/select.h presence @@ -1735,7 +1779,7 @@ configure:22379: checking for inttypes.h configure:22379: result: yes configure:22379: checking sched.h usability -configure:22379: gcc -c -g -O2 conftest.c >&5 +configure:22379: gcc -c -Wall conftest.c >&5 configure:22379: $? = 0 configure:22379: result: yes configure:22379: checking sched.h presence @@ -1745,7 +1789,7 @@ configure:22379: checking for sched.h configure:22379: result: yes configure:22379: checking malloc.h usability -configure:22379: gcc -c -g -O2 conftest.c >&5 +configure:22379: gcc -c -Wall conftest.c >&5 configure:22379: $? = 0 configure:22379: result: yes configure:22379: checking malloc.h presence @@ -1755,7 +1799,7 @@ configure:22379: checking for malloc.h configure:22379: result: yes configure:22392: checking sys/vfs.h usability -configure:22392: gcc -c -g -O2 conftest.c >&5 +configure:22392: gcc -c -Wall conftest.c >&5 configure:22392: $? = 0 configure:22392: result: yes configure:22392: checking sys/vfs.h presence @@ -1765,8 +1809,8 @@ configure:22392: checking for sys/vfs.h configure:22392: result: yes configure:22392: checking sys/vmount.h usability -configure:22392: gcc -c -g -O2 conftest.c >&5 -conftest.c:116:24: fatal error: sys/vmount.h: No such file or directory +configure:22392: gcc -c -Wall conftest.c >&5 +conftest.c:115:24: fatal error: sys/vmount.h: No such file or directory #include ^ compilation terminated. @@ -1828,7 +1872,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -1891,7 +1934,7 @@ configure:22392: result: no configure:22392: checking sys/vmount.h presence configure:22392: gcc -E conftest.c -conftest.c:83:24: fatal error: sys/vmount.h: No such file or directory +conftest.c:82:24: fatal error: sys/vmount.h: No such file or directory #include ^ compilation terminated. @@ -1953,7 +1996,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -1984,7 +2026,7 @@ configure:22392: checking for sys/vmount.h configure:22392: result: no configure:22392: checking sys/statfs.h usability -configure:22392: gcc -c -g -O2 conftest.c >&5 +configure:22392: gcc -c -Wall conftest.c >&5 configure:22392: $? = 0 configure:22392: result: yes configure:22392: checking sys/statfs.h presence @@ -1994,7 +2036,7 @@ configure:22392: checking for sys/statfs.h configure:22392: result: yes configure:22392: checking sys/statvfs.h usability -configure:22392: gcc -c -g -O2 conftest.c >&5 +configure:22392: gcc -c -Wall conftest.c >&5 configure:22392: $? = 0 configure:22392: result: yes configure:22392: checking sys/statvfs.h presence @@ -2004,8 +2046,8 @@ configure:22392: checking for sys/statvfs.h configure:22392: result: yes configure:22392: checking sys/filio.h usability -configure:22392: gcc -c -g -O2 conftest.c >&5 -conftest.c:118:23: fatal error: sys/filio.h: No such file or directory +configure:22392: gcc -c -Wall conftest.c >&5 +conftest.c:117:23: fatal error: sys/filio.h: No such file or directory #include ^ compilation terminated. @@ -2067,7 +2109,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2132,7 +2173,7 @@ configure:22392: result: no configure:22392: checking sys/filio.h presence configure:22392: gcc -E conftest.c -conftest.c:85:23: fatal error: sys/filio.h: No such file or directory +conftest.c:84:23: fatal error: sys/filio.h: No such file or directory #include ^ compilation terminated. @@ -2194,7 +2235,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2227,7 +2267,7 @@ configure:22392: checking for sys/filio.h configure:22392: result: no configure:22405: checking mntent.h usability -configure:22405: gcc -c -g -O2 conftest.c >&5 +configure:22405: gcc -c -Wall conftest.c >&5 configure:22405: $? = 0 configure:22405: result: yes configure:22405: checking mntent.h presence @@ -2237,8 +2277,8 @@ configure:22405: checking for mntent.h configure:22405: result: yes configure:22405: checking sys/mnttab.h usability -configure:22405: gcc -c -g -O2 conftest.c >&5 -conftest.c:119:24: fatal error: sys/mnttab.h: No such file or directory +configure:22405: gcc -c -Wall conftest.c >&5 +conftest.c:118:24: fatal error: sys/mnttab.h: No such file or directory #include ^ compilation terminated. @@ -2300,7 +2340,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2366,7 +2405,7 @@ configure:22405: result: no configure:22405: checking sys/mnttab.h presence configure:22405: gcc -E conftest.c -conftest.c:86:24: fatal error: sys/mnttab.h: No such file or directory +conftest.c:85:24: fatal error: sys/mnttab.h: No such file or directory #include ^ compilation terminated. @@ -2428,7 +2467,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2462,8 +2500,8 @@ configure:22405: checking for sys/mnttab.h configure:22405: result: no configure:22405: checking sys/vfstab.h usability -configure:22405: gcc -c -g -O2 conftest.c >&5 -conftest.c:119:24: fatal error: sys/vfstab.h: No such file or directory +configure:22405: gcc -c -Wall conftest.c >&5 +conftest.c:118:24: fatal error: sys/vfstab.h: No such file or directory #include ^ compilation terminated. @@ -2525,7 +2563,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2591,7 +2628,7 @@ configure:22405: result: no configure:22405: checking sys/vfstab.h presence configure:22405: gcc -E conftest.c -conftest.c:86:24: fatal error: sys/vfstab.h: No such file or directory +conftest.c:85:24: fatal error: sys/vfstab.h: No such file or directory #include ^ compilation terminated. @@ -2653,7 +2690,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2687,8 +2723,8 @@ configure:22405: checking for sys/vfstab.h configure:22405: result: no configure:22405: checking sys/mntctl.h usability -configure:22405: gcc -c -g -O2 conftest.c >&5 -conftest.c:119:24: fatal error: sys/mntctl.h: No such file or directory +configure:22405: gcc -c -Wall conftest.c >&5 +conftest.c:118:24: fatal error: sys/mntctl.h: No such file or directory #include ^ compilation terminated. @@ -2750,7 +2786,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2816,7 +2851,7 @@ configure:22405: result: no configure:22405: checking sys/mntctl.h presence configure:22405: gcc -E conftest.c -conftest.c:86:24: fatal error: sys/mntctl.h: No such file or directory +conftest.c:85:24: fatal error: sys/mntctl.h: No such file or directory #include ^ compilation terminated. @@ -2878,7 +2913,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -2912,7 +2946,7 @@ configure:22405: checking for sys/mntctl.h configure:22405: result: no configure:22405: checking fstab.h usability -configure:22405: gcc -c -g -O2 conftest.c >&5 +configure:22405: gcc -c -Wall conftest.c >&5 configure:22405: $? = 0 configure:22405: result: yes configure:22405: checking fstab.h presence @@ -2922,7 +2956,7 @@ configure:22405: checking for fstab.h configure:22405: result: yes configure:22418: checking sys/uio.h usability -configure:22418: gcc -c -g -O2 conftest.c >&5 +configure:22418: gcc -c -Wall conftest.c >&5 configure:22418: $? = 0 configure:22418: result: yes configure:22418: checking sys/uio.h presence @@ -2932,8 +2966,8 @@ configure:22418: checking for sys/uio.h configure:22418: result: yes configure:22418: checking sys/mkdev.h usability -configure:22418: gcc -c -g -O2 conftest.c >&5 -conftest.c:121:23: fatal error: sys/mkdev.h: No such file or directory +configure:22418: gcc -c -Wall conftest.c >&5 +conftest.c:120:23: fatal error: sys/mkdev.h: No such file or directory #include ^ compilation terminated. @@ -2995,7 +3029,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3063,7 +3096,7 @@ configure:22418: result: no configure:22418: checking sys/mkdev.h presence configure:22418: gcc -E conftest.c -conftest.c:88:23: fatal error: sys/mkdev.h: No such file or directory +conftest.c:87:23: fatal error: sys/mkdev.h: No such file or directory #include ^ compilation terminated. @@ -3125,7 +3158,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3161,7 +3193,7 @@ configure:22418: checking for sys/mkdev.h configure:22418: result: no configure:22430: checking linux/magic.h usability -configure:22430: gcc -c -g -O2 conftest.c >&5 +configure:22430: gcc -c -Wall conftest.c >&5 configure:22430: $? = 0 configure:22430: result: yes configure:22430: checking linux/magic.h presence @@ -3171,7 +3203,7 @@ configure:22430: checking for linux/magic.h configure:22430: result: yes configure:22442: checking sys/prctl.h usability -configure:22442: gcc -c -g -O2 conftest.c >&5 +configure:22442: gcc -c -Wall conftest.c >&5 configure:22442: $? = 0 configure:22442: result: yes configure:22442: checking sys/prctl.h presence @@ -3181,17 +3213,17 @@ configure:22442: checking for sys/prctl.h configure:22442: result: yes configure:22456: checking for sys/mount.h -configure:22456: gcc -c -g -O2 conftest.c >&5 +configure:22456: gcc -c -Wall conftest.c >&5 configure:22456: $? = 0 configure:22456: result: yes configure:22456: checking for sys/sysctl.h -configure:22456: gcc -c -g -O2 conftest.c >&5 +configure:22456: gcc -c -Wall conftest.c >&5 configure:22456: $? = 0 configure:22456: result: yes configure:22472: checking for sysctlbyname -configure:22472: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccJ9R4Ht.o: In function `main': -/home/andrey/tmp/glib/conftest.c:126: undefined reference to `sysctlbyname' +configure:22472: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccCkM8Y4.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `sysctlbyname' collect2: error: ld returned 1 exit status configure:22472: $? = 1 configure: failed program was: @@ -3251,7 +3283,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3326,7 +3357,7 @@ | } configure:22472: result: no configure:22484: checking xlocale.h usability -configure:22484: gcc -c -g -O2 conftest.c >&5 +configure:22484: gcc -c -Wall conftest.c >&5 configure:22484: $? = 0 configure:22484: result: yes configure:22484: checking xlocale.h presence @@ -3336,11 +3367,14 @@ configure:22484: checking for xlocale.h configure:22484: result: yes configure:22496: checking for struct stat.st_mtimensec -configure:22496: gcc -c -g -O2 conftest.c >&5 +configure:22496: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:130:12: error: 'struct stat' has no member named 'st_mtimensec' +conftest.c:129:12: error: 'struct stat' has no member named 'st_mtimensec' if (ac_aggr.st_mtimensec) ^ +conftest.c:128:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22496: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3399,7 +3433,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3477,11 +3510,14 @@ | ; | return 0; | } -configure:22496: gcc -c -g -O2 conftest.c >&5 +configure:22496: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:130:19: error: 'struct stat' has no member named 'st_mtimensec' +conftest.c:129:19: error: 'struct stat' has no member named 'st_mtimensec' if (sizeof ac_aggr.st_mtimensec) ^ +conftest.c:128:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22496: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3540,7 +3576,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3620,15 +3655,18 @@ | } configure:22496: result: no configure:22505: checking for struct stat.st_mtim.tv_nsec -configure:22505: gcc -c -g -O2 conftest.c >&5 +configure:22505: gcc -c -Wall conftest.c >&5 configure:22505: $? = 0 configure:22505: result: yes configure:22514: checking for struct stat.st_atimensec -configure:22514: gcc -c -g -O2 conftest.c >&5 +configure:22514: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:131:12: error: 'struct stat' has no member named 'st_atimensec' +conftest.c:130:12: error: 'struct stat' has no member named 'st_atimensec' if (ac_aggr.st_atimensec) ^ +conftest.c:129:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22514: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3687,7 +3725,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3766,11 +3803,14 @@ | ; | return 0; | } -configure:22514: gcc -c -g -O2 conftest.c >&5 +configure:22514: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:131:19: error: 'struct stat' has no member named 'st_atimensec' +conftest.c:130:19: error: 'struct stat' has no member named 'st_atimensec' if (sizeof ac_aggr.st_atimensec) ^ +conftest.c:129:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22514: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3829,7 +3869,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -3910,15 +3949,18 @@ | } configure:22514: result: no configure:22523: checking for struct stat.st_atim.tv_nsec -configure:22523: gcc -c -g -O2 conftest.c >&5 +configure:22523: gcc -c -Wall conftest.c >&5 configure:22523: $? = 0 configure:22523: result: yes configure:22532: checking for struct stat.st_ctimensec -configure:22532: gcc -c -g -O2 conftest.c >&5 +configure:22532: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:132:12: error: 'struct stat' has no member named 'st_ctimensec' +conftest.c:131:12: error: 'struct stat' has no member named 'st_ctimensec' if (ac_aggr.st_ctimensec) ^ +conftest.c:130:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22532: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -3977,7 +4019,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4057,11 +4098,14 @@ | ; | return 0; | } -configure:22532: gcc -c -g -O2 conftest.c >&5 +configure:22532: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:132:19: error: 'struct stat' has no member named 'st_ctimensec' +conftest.c:131:19: error: 'struct stat' has no member named 'st_ctimensec' if (sizeof ac_aggr.st_ctimensec) ^ +conftest.c:130:20: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct stat ac_aggr; + ^ configure:22532: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4120,7 +4164,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4202,23 +4245,26 @@ | } configure:22532: result: no configure:22541: checking for struct stat.st_ctim.tv_nsec -configure:22541: gcc -c -g -O2 conftest.c >&5 +configure:22541: gcc -c -Wall conftest.c >&5 configure:22541: $? = 0 configure:22541: result: yes configure:22551: checking for struct stat.st_blksize -configure:22551: gcc -c -g -O2 conftest.c >&5 +configure:22551: gcc -c -Wall conftest.c >&5 configure:22551: $? = 0 configure:22551: result: yes configure:22572: checking for struct stat.st_blocks -configure:22572: gcc -c -g -O2 conftest.c >&5 +configure:22572: gcc -c -Wall conftest.c >&5 configure:22572: $? = 0 configure:22572: result: yes configure:22593: checking for struct statfs.f_fstypename -configure:22593: gcc -c -g -O2 conftest.c >&5 +configure:22593: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:115:12: error: 'struct statfs' has no member named 'f_fstypename' +conftest.c:114:12: error: 'struct statfs' has no member named 'f_fstypename' if (ac_aggr.f_fstypename) ^ +conftest.c:113:22: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statfs ac_aggr; + ^ configure:22593: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4277,7 +4323,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4340,11 +4385,14 @@ | ; | return 0; | } -configure:22593: gcc -c -g -O2 conftest.c >&5 +configure:22593: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:115:19: error: 'struct statfs' has no member named 'f_fstypename' +conftest.c:114:19: error: 'struct statfs' has no member named 'f_fstypename' if (sizeof ac_aggr.f_fstypename) ^ +conftest.c:113:22: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statfs ac_aggr; + ^ configure:22593: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4403,7 +4451,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4468,15 +4515,18 @@ | } configure:22593: result: no configure:22614: checking for struct statfs.f_bavail -configure:22614: gcc -c -g -O2 conftest.c >&5 +configure:22614: gcc -c -Wall conftest.c >&5 configure:22614: $? = 0 configure:22614: result: yes configure:22637: checking for struct statvfs.f_basetype -configure:22637: gcc -c -g -O2 conftest.c >&5 +configure:22637: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:105:12: error: 'struct statvfs' has no member named 'f_basetype' +conftest.c:104:12: error: 'struct statvfs' has no member named 'f_basetype' if (ac_aggr.f_basetype) ^ +conftest.c:103:23: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statvfs ac_aggr; + ^ configure:22637: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4535,7 +4585,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4588,11 +4637,14 @@ | ; | return 0; | } -configure:22637: gcc -c -g -O2 conftest.c >&5 +configure:22637: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:105:19: error: 'struct statvfs' has no member named 'f_basetype' +conftest.c:104:19: error: 'struct statvfs' has no member named 'f_basetype' if (sizeof ac_aggr.f_basetype) ^ +conftest.c:103:23: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statvfs ac_aggr; + ^ configure:22637: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4651,7 +4703,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4706,11 +4757,14 @@ | } configure:22637: result: no configure:22648: checking for struct statvfs.f_fstypename -configure:22648: gcc -c -g -O2 conftest.c >&5 +configure:22648: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:105:12: error: 'struct statvfs' has no member named 'f_fstypename' +conftest.c:104:12: error: 'struct statvfs' has no member named 'f_fstypename' if (ac_aggr.f_fstypename) ^ +conftest.c:103:23: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statvfs ac_aggr; + ^ configure:22648: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4769,7 +4823,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4822,11 +4875,14 @@ | ; | return 0; | } -configure:22648: gcc -c -g -O2 conftest.c >&5 +configure:22648: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:105:19: error: 'struct statvfs' has no member named 'f_fstypename' +conftest.c:104:19: error: 'struct statvfs' has no member named 'f_fstypename' if (sizeof ac_aggr.f_fstypename) ^ +conftest.c:103:23: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct statvfs ac_aggr; + ^ configure:22648: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -4885,7 +4941,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -4940,15 +4995,18 @@ | } configure:22648: result: no configure:22659: checking for struct tm.tm_gmtoff -configure:22659: gcc -c -g -O2 conftest.c >&5 +configure:22659: gcc -c -Wall conftest.c >&5 configure:22659: $? = 0 configure:22659: result: yes configure:22669: checking for struct tm.__tm_gmtoff -configure:22669: gcc -c -g -O2 conftest.c >&5 +configure:22669: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:106:12: error: 'struct tm' has no member named '__tm_gmtoff' +conftest.c:105:12: error: 'struct tm' has no member named '__tm_gmtoff' if (ac_aggr.__tm_gmtoff) ^ +conftest.c:104:18: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct tm ac_aggr; + ^ configure:22669: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -5007,7 +5065,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -5061,11 +5118,14 @@ | ; | return 0; | } -configure:22669: gcc -c -g -O2 conftest.c >&5 +configure:22669: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:106:19: error: 'struct tm' has no member named '__tm_gmtoff' +conftest.c:105:19: error: 'struct tm' has no member named '__tm_gmtoff' if (sizeof ac_aggr.__tm_gmtoff) ^ +conftest.c:104:18: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable] + static struct tm ac_aggr; + ^ configure:22669: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -5124,7 +5184,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -5180,23 +5239,27 @@ | } configure:22669: result: no configure:22684: checking for dirent.h that defines DIR -configure:22703: gcc -c -g -O2 conftest.c >&5 +configure:22703: gcc -c -Wall conftest.c >&5 configure:22703: $? = 0 configure:22711: result: yes configure:22724: checking for library containing opendir -configure:22755: gcc -o conftest -g -O2 conftest.c >&5 +configure:22755: gcc -o conftest -Wall conftest.c >&5 configure:22755: $? = 0 configure:22772: result: none required configure:22841: checking for struct dirent.d_type -configure:22841: gcc -c -g -O2 conftest.c >&5 +configure:22841: gcc -c -Wall conftest.c >&5 configure:22841: $? = 0 configure:22841: result: yes configure:22872: checking for nl_langinfo and CODESET -configure:22888: gcc -o conftest -g -O2 conftest.c >&5 +configure:22888: gcc -o conftest -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:105:7: warning: unused variable 'cs' [-Wunused-variable] + char* cs = nl_langinfo(CODESET); + ^ configure:22888: $? = 0 configure:22897: result: yes configure:22908: checking stddef.h usability -configure:22908: gcc -c -g -O2 conftest.c >&5 +configure:22908: gcc -c -Wall conftest.c >&5 configure:22908: $? = 0 configure:22908: result: yes configure:22908: checking stddef.h presence @@ -5210,11 +5273,11 @@ configure:22908: checking for string.h configure:22908: result: yes configure:22920: checking for setlocale -configure:22920: gcc -o conftest -g -O2 conftest.c >&5 +configure:22920: gcc -o conftest -Wall conftest.c >&5 configure:22920: $? = 0 configure:22920: result: yes configure:22935: checking size of size_t -configure:22940: gcc -o conftest -g -O2 conftest.c >&5 +configure:22940: gcc -o conftest -Wall conftest.c >&5 configure:22940: $? = 0 configure:22940: ./conftest configure:22940: $? = 0 @@ -5222,88 +5285,88 @@ configure:22965: checking for the appropriate definition for size_t configure:23076: result: unsigned long configure:23083: checking for lstat -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for strerror -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for strsignal -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for memmove -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:134:6: warning: conflicting types for built-in function 'memmove' [enabled by default] +configure:23083: gcc -o conftest -Wall conftest.c >&5 +conftest.c:133:6: warning: conflicting types for built-in function 'memmove' [enabled by default] char memmove (); ^ configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for vsnprintf -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:135:6: warning: conflicting types for built-in function 'vsnprintf' [enabled by default] +configure:23083: gcc -o conftest -Wall conftest.c >&5 +conftest.c:134:6: warning: conflicting types for built-in function 'vsnprintf' [enabled by default] char vsnprintf (); ^ configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for stpcpy -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:136:6: warning: conflicting types for built-in function 'stpcpy' [enabled by default] +configure:23083: gcc -o conftest -Wall conftest.c >&5 +conftest.c:135:6: warning: conflicting types for built-in function 'stpcpy' [enabled by default] char stpcpy (); ^ configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for strcasecmp -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:137:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] +configure:23083: gcc -o conftest -Wall conftest.c >&5 +conftest.c:136:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] char strcasecmp (); ^ configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for strncasecmp -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:138:6: warning: conflicting types for built-in function 'strncasecmp' [enabled by default] +configure:23083: gcc -o conftest -Wall conftest.c >&5 +conftest.c:137:6: warning: conflicting types for built-in function 'strncasecmp' [enabled by default] char strncasecmp (); ^ configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for poll -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for getcwd -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for vasprintf -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for setenv -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for unsetenv -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for getc_unlocked -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for readlink -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for symlink -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23083: checking for fdwalk -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccTR1VGe.o: In function `main': -/home/andrey/tmp/glib/conftest.c:158: undefined reference to `fdwalk' +configure:23083: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccBiOA5t.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:23083: $? = 1 configure: failed program was: @@ -5363,7 +5426,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -5470,19 +5532,19 @@ | } configure:23083: result: no configure:23083: checking for memmem -configure:23083: gcc -o conftest -g -O2 conftest.c >&5 +configure:23083: gcc -o conftest -Wall conftest.c >&5 configure:23083: $? = 0 configure:23083: result: yes configure:23095: checking for chown -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for lchmod -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:154:1: error: unknown type name 'choke' +configure:23095: gcc -o conftest -Wall conftest.c >&5 +conftest.c:153:1: error: unknown type name 'choke' choke me ^ -conftest.c:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' +conftest.c:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' int ^ configure:23095: $? = 1 @@ -5543,7 +5605,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -5652,57 +5713,57 @@ | } configure:23095: result: no configure:23095: checking for lchown -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for fchmod -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for fchown -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for link -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for utimes -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for getgrgid -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for getpwuid -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23095: checking for getresuid -configure:23095: gcc -o conftest -g -O2 conftest.c >&5 +configure:23095: gcc -o conftest -Wall conftest.c >&5 configure:23095: $? = 0 configure:23095: result: yes configure:23107: checking for getmntent_r -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 +configure:23107: gcc -o conftest -Wall conftest.c >&5 configure:23107: $? = 0 configure:23107: result: yes configure:23107: checking for setmntent -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 +configure:23107: gcc -o conftest -Wall conftest.c >&5 configure:23107: $? = 0 configure:23107: result: yes configure:23107: checking for endmntent -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 +configure:23107: gcc -o conftest -Wall conftest.c >&5 configure:23107: $? = 0 configure:23107: result: yes configure:23107: checking for hasmntopt -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 +configure:23107: gcc -o conftest -Wall conftest.c >&5 configure:23107: $? = 0 configure:23107: result: yes configure:23107: checking for getfsstat -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/cc5MdaLJ.o: In function `main': -/home/andrey/tmp/glib/conftest.c:172: undefined reference to `getfsstat' +configure:23107: gcc -o conftest -Wall conftest.c >&5 +/tmp/cc1B40IX.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:23107: $? = 1 configure: failed program was: @@ -5762,7 +5823,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -5883,9 +5943,9 @@ | } configure:23107: result: no configure:23107: checking for getvfsstat -configure:23107: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccvy0sFM.o: In function `main': -/home/andrey/tmp/glib/conftest.c:172: undefined reference to `getvfsstat' +configure:23107: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccYB8hm3.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `getvfsstat' collect2: error: ld returned 1 exit status configure:23107: $? = 1 configure: failed program was: @@ -5945,7 +6005,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -6066,26 +6125,26 @@ | } configure:23107: result: no configure:23119: checking for splice -configure:23119: gcc -o conftest -g -O2 conftest.c >&5 +configure:23119: gcc -o conftest -Wall conftest.c >&5 configure:23119: $? = 0 configure:23119: result: yes configure:23130: checking for prlimit -configure:23130: gcc -o conftest -g -O2 conftest.c >&5 +configure:23130: gcc -o conftest -Wall conftest.c >&5 configure:23130: $? = 0 configure:23130: result: yes configure:23145: checking for statvfs -configure:23145: gcc -o conftest -g -O2 conftest.c >&5 +configure:23145: gcc -o conftest -Wall conftest.c >&5 configure:23145: $? = 0 configure:23145: result: yes configure:23158: checking for statfs -configure:23158: gcc -o conftest -g -O2 conftest.c >&5 +configure:23158: gcc -o conftest -Wall conftest.c >&5 configure:23158: $? = 0 configure:23158: result: yes configure:23169: checking whether to use statfs or statvfs configure:23189: result: statfs configure:23207: checking crt_externs.h usability -configure:23207: gcc -c -g -O2 conftest.c >&5 -conftest.c:176:25: fatal error: crt_externs.h: No such file or directory +configure:23207: gcc -c -Wall conftest.c >&5 +conftest.c:175:25: fatal error: crt_externs.h: No such file or directory #include ^ compilation terminated. @@ -6147,7 +6206,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -6270,7 +6328,7 @@ configure:23207: result: no configure:23207: checking crt_externs.h presence configure:23207: gcc -E conftest.c -conftest.c:143:25: fatal error: crt_externs.h: No such file or directory +conftest.c:142:25: fatal error: crt_externs.h: No such file or directory #include ^ compilation terminated. @@ -6332,7 +6390,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -6423,9 +6480,9 @@ configure:23207: checking for crt_externs.h configure:23207: result: no configure:23219: checking for _NSGetEnviron -configure:23219: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccgAUMnf.o: In function `main': -/home/andrey/tmp/glib/conftest.c:177: undefined reference to `_NSGetEnviron' +configure:23219: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccboOAsr.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `_NSGetEnviron' collect2: error: ld returned 1 exit status configure:23219: $? = 1 configure: failed program was: @@ -6485,7 +6542,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -6611,33 +6667,34 @@ | } configure:23219: result: no configure:23232: checking for newlocale -configure:23232: gcc -o conftest -g -O2 conftest.c >&5 +configure:23232: gcc -o conftest -Wall conftest.c >&5 configure:23232: $? = 0 configure:23232: result: yes configure:23232: checking for uselocale -configure:23232: gcc -o conftest -g -O2 conftest.c >&5 +configure:23232: gcc -o conftest -Wall conftest.c >&5 configure:23232: $? = 0 configure:23232: result: yes configure:23232: checking for strtod_l -configure:23232: gcc -o conftest -g -O2 conftest.c >&5 +configure:23232: gcc -o conftest -Wall conftest.c >&5 configure:23232: $? = 0 configure:23232: result: yes configure:23232: checking for strtoll_l -configure:23232: gcc -o conftest -g -O2 conftest.c >&5 +configure:23232: gcc -o conftest -Wall conftest.c >&5 configure:23232: $? = 0 configure:23232: result: yes configure:23232: checking for strtoull_l -configure:23232: gcc -o conftest -g -O2 conftest.c >&5 +configure:23232: gcc -o conftest -Wall conftest.c >&5 configure:23232: $? = 0 configure:23232: result: yes configure:23242: checking for C99 vsnprintf -configure:23289: gcc -o conftest -g -O2 conftest.c >&5 +configure:23289: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'doit': -conftest.c:163:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:162:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ +conftest.c:162:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] conftest.c: In function 'main': -conftest.c:182:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:181:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ configure:23289: $? = 0 @@ -6645,71 +6702,79 @@ configure:23289: $? = 0 configure:23299: result: yes configure:23307: checking whether printf supports positional parameters -configure:23330: gcc -o conftest -g -O2 conftest.c >&5 +configure:23330: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:158:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:156:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] + if (strcmp ("2 3 1", buffer) == 0) + ^ +conftest.c:157:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (0); ^ +conftest.c:157:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] configure:23330: $? = 0 configure:23330: ./conftest configure:23330: $? = 0 configure:23340: result: yes configure:23362: checking value of AF_INET -configure:23367: gcc -o conftest -g -O2 conftest.c >&5 +configure:23367: gcc -o conftest -Wall conftest.c >&5 configure:23367: $? = 0 configure:23367: ./conftest configure:23367: $? = 0 configure:23375: result: 2 configure:23378: checking value of AF_INET6 -configure:23383: gcc -o conftest -g -O2 conftest.c >&5 +configure:23383: gcc -o conftest -Wall conftest.c >&5 configure:23383: $? = 0 configure:23383: ./conftest configure:23383: $? = 0 configure:23391: result: 10 configure:23395: checking value of AF_UNIX -configure:23400: gcc -o conftest -g -O2 conftest.c >&5 +configure:23400: gcc -o conftest -Wall conftest.c >&5 configure:23400: $? = 0 configure:23400: ./conftest configure:23400: $? = 0 configure:23408: result: 1 configure:23416: checking value of MSG_PEEK -configure:23421: gcc -o conftest -g -O2 conftest.c >&5 +configure:23421: gcc -o conftest -Wall conftest.c >&5 configure:23421: $? = 0 configure:23421: ./conftest configure:23421: $? = 0 configure:23429: result: 2 configure:23432: checking value of MSG_OOB -configure:23437: gcc -o conftest -g -O2 conftest.c >&5 +configure:23437: gcc -o conftest -Wall conftest.c >&5 configure:23437: $? = 0 configure:23437: ./conftest configure:23437: $? = 0 configure:23445: result: 1 configure:23448: checking value of MSG_DONTROUTE -configure:23453: gcc -o conftest -g -O2 conftest.c >&5 +configure:23453: gcc -o conftest -Wall conftest.c >&5 configure:23453: $? = 0 configure:23453: ./conftest configure:23453: $? = 0 configure:23461: result: 4 configure:23471: checking for getprotobyname_r -configure:23471: gcc -o conftest -g -O2 conftest.c >&5 +configure:23471: gcc -o conftest -Wall conftest.c >&5 configure:23471: $? = 0 configure:23471: result: yes configure:23471: checking for endservent -configure:23471: gcc -o conftest -g -O2 conftest.c >&5 +configure:23471: gcc -o conftest -Wall conftest.c >&5 configure:23471: $? = 0 configure:23471: result: yes configure:23471: checking for if_nametoindex -configure:23471: gcc -o conftest -g -O2 conftest.c >&5 +configure:23471: gcc -o conftest -Wall conftest.c >&5 configure:23471: $? = 0 configure:23471: result: yes configure:23496: checking if arpa/nameser_compat.h is needed -configure:23510: gcc -c -g -O2 conftest.c >&5 +configure:23510: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:157:5: warning: unused variable 'qclass' [-Wunused-variable] + int qclass = C_IN; + ^ configure:23510: $? = 0 configure:23511: result: no configure:23541: checking for res_query -configure:23560: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccT2tjQ8.o: In function `main': -/home/andrey/tmp/glib/conftest.c:162: undefined reference to `__res_query' +configure:23560: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccGlDr36.o: In function `main': +conftest.c:(.text+0x1f): undefined reference to `__res_query' collect2: error: ld returned 1 exit status configure:23560: $? = 1 configure: failed program was: @@ -6769,7 +6834,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -6879,23 +6943,23 @@ | ; | return 0; | } -configure:23583: gcc -o conftest -g -O2 conftest.c -lresolv >&5 +configure:23583: gcc -o conftest -Wall conftest.c -lresolv >&5 configure:23583: $? = 0 configure:23584: result: in -lresolv configure:23616: checking for socket -configure:23616: gcc -o conftest -g -O2 conftest.c >&5 +configure:23616: gcc -o conftest -Wall conftest.c >&5 configure:23616: $? = 0 configure:23616: result: yes configure:23668: checking for linux/netlink.h -configure:23668: gcc -c -g -O2 conftest.c >&5 +configure:23668: gcc -c -Wall conftest.c >&5 configure:23668: $? = 0 configure:23668: result: yes configure:23686: checking for struct ip_mreqn -configure:23686: gcc -c -g -O2 conftest.c >&5 +configure:23686: gcc -c -Wall conftest.c >&5 configure:23686: $? = 0 -configure:23686: gcc -c -g -O2 conftest.c >&5 +configure:23686: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:159:30: error: expected expression before ')' token +conftest.c:158:30: error: expected expression before ')' token if (sizeof ((struct ip_mreqn))) ^ configure:23686: $? = 1 @@ -6956,7 +7020,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -7065,35 +7128,43 @@ | } configure:23686: result: yes configure:23712: checking number of arguments to statfs() -configure:23738: gcc -c -g -O2 conftest.c >&5 +configure:23738: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:171:3: warning: null argument where non-null required (argument 1) [-Wnonnull] + statfs(NULL, &st); + ^ configure:23738: $? = 0 configure:23740: result: 2 configure:23850: checking for signed -configure:23866: gcc -c -g -O2 conftest.c >&5 +configure:23866: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:160:13: warning: unused variable 'x' [-Wunused-variable] + signed char x; + ^ configure:23866: $? = 0 configure:23873: result: yes configure:23882: checking for long long -configure:23899: gcc -o conftest -g -O2 conftest.c >&5 +configure:23899: gcc -o conftest -Wall conftest.c >&5 configure:23899: $? = 0 configure:23907: result: yes configure:23916: checking for long double configure:23948: result: yes configure:23957: checking for wchar_t -configure:23974: gcc -c -g -O2 conftest.c >&5 +configure:23974: gcc -c -Wall conftest.c >&5 configure:23974: $? = 0 configure:23981: result: yes configure:23990: checking for wint_t -configure:24007: gcc -c -g -O2 conftest.c >&5 +configure:24007: gcc -c -Wall conftest.c >&5 configure:24007: $? = 0 configure:24014: result: yes configure:24022: checking for size_t configure:24022: result: yes configure:24033: checking for ptrdiff_t -configure:24033: gcc -c -g -O2 conftest.c >&5 +configure:24033: gcc -c -Wall conftest.c >&5 configure:24033: $? = 0 -configure:24033: gcc -c -g -O2 conftest.c >&5 +configure:24033: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:197:24: error: expected expression before ')' token +conftest.c:196:24: error: expected expression before ')' token if (sizeof ((ptrdiff_t))) ^ configure:24033: $? = 1 @@ -7154,7 +7225,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -7301,32 +7371,44 @@ | } configure:24033: result: yes configure:24044: checking for inttypes.h -configure:24061: gcc -c -g -O2 conftest.c >&5 +configure:24061: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:166:11: warning: unused variable 'i' [-Wunused-variable] + uintmax_t i = (uintmax_t) -1; + ^ configure:24061: $? = 0 configure:24068: result: yes configure:24079: checking for stdint.h -configure:24096: gcc -c -g -O2 conftest.c >&5 +configure:24096: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:167:11: warning: unused variable 'i' [-Wunused-variable] + uintmax_t i = (uintmax_t) -1; + ^ configure:24096: $? = 0 configure:24103: result: yes configure:24135: checking for snprintf -configure:24135: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:188:6: warning: conflicting types for built-in function 'snprintf' [enabled by default] +configure:24135: gcc -o conftest -Wall conftest.c >&5 +conftest.c:187:6: warning: conflicting types for built-in function 'snprintf' [enabled by default] char snprintf (); ^ configure:24135: $? = 0 configure:24135: result: yes configure:24135: checking for wcslen -configure:24135: gcc -o conftest -g -O2 conftest.c >&5 +configure:24135: gcc -o conftest -Wall conftest.c >&5 configure:24135: $? = 0 configure:24135: result: yes configure:24144: checking for C99 snprintf -configure:24189: gcc -o conftest -g -O2 conftest.c >&5 +configure:24189: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'doit': -conftest.c:180:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:179:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ +conftest.c:179:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:173:11: warning: unused variable 'args' [-Wunused-variable] + va_list args; + ^ conftest.c: In function 'main': -conftest.c:199:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] +conftest.c:198:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ configure:24189: $? = 0 @@ -7334,38 +7416,64 @@ configure:24189: $? = 0 configure:24199: result: yes configure:24268: checking for fd_set -configure:24281: gcc -c -g -O2 conftest.c >&5 +configure:24281: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:171:18: warning: unused variable 'writeMask' [-Wunused-variable] + fd_set readMask, writeMask; + ^ +conftest.c:171:8: warning: unused variable 'readMask' [-Wunused-variable] + fd_set readMask, writeMask; + ^ configure:24281: $? = 0 configure:24289: result: yes, found in sys/types.h configure:24322: checking whether realloc (NULL,) will work -configure:24338: gcc -o conftest -g -O2 conftest.c >&5 +configure:24338: gcc -o conftest -Wall conftest.c >&5 configure:24338: $? = 0 configure:24338: ./conftest configure:24338: $? = 0 configure:24349: result: yes configure:24359: checking for nl_langinfo (CODESET) -configure:24376: gcc -c -g -O2 conftest.c >&5 +configure:24376: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:172:7: warning: unused variable 'codeset' [-Wunused-variable] + char *codeset = nl_langinfo (CODESET); + ^ configure:24376: $? = 0 configure:24383: result: yes configure:24391: checking for nl_langinfo (PM_STR) -configure:24417: gcc -c -g -O2 conftest.c >&5 +configure:24417: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:173:7: warning: variable 'str' set but not used [-Wunused-but-set-variable] + char *str; + ^ configure:24417: $? = 0 configure:24424: result: yes configure:24432: checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB) -configure:24459: gcc -c -g -O2 conftest.c >&5 +configure:24459: gcc -c -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:174:7: warning: variable 'str' set but not used [-Wunused-but-set-variable] + char *str; + ^ configure:24459: $? = 0 configure:24466: result: yes configure:24474: checking for a compliant posix_memalign() implementation -configure:24512: gcc -o conftest -g -O2 conftest.c >&5 +configure:24512: gcc -o conftest -Wall conftest.c >&5 configure:24512: $? = 0 configure:24512: ./conftest configure:24512: $? = 0 configure:24526: result: yes configure:24541: checking for OpenBSD strlcpy/strlcat -configure:24562: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccKbfmuW.o: In function `main': -/home/andrey/tmp/glib/conftest.c:177: undefined reference to `strlcpy' -/home/andrey/tmp/glib/conftest.c:178: undefined reference to `strlcat' +configure:24562: gcc -o conftest -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:176:3: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] + (void) strlcpy (p, "hi", 10); + ^ +conftest.c:177:3: warning: implicit declaration of function 'strlcat' [-Wimplicit-function-declaration] + if (strlcat (p, "bye", 0) != 3) + ^ +/tmp/cc4Mg5JD.o: In function `main': +conftest.c:(.text+0x1f): undefined reference to `strlcpy' +conftest.c:(.text+0x3a): undefined reference to `strlcat' collect2: error: ld returned 1 exit status configure:24562: $? = 1 configure: program exited with status 1 @@ -7426,7 +7534,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -7553,17 +7660,17 @@ | } configure:24572: result: no configure:24581: checking for an implementation of va_copy() -configure:24604: gcc -o conftest -g -O2 conftest.c >&5 +configure:24604: gcc -o conftest -Wall conftest.c >&5 configure:24604: $? = 0 configure:24613: result: yes configure:24615: checking for an implementation of __va_copy() -configure:24638: gcc -o conftest -g -O2 conftest.c >&5 +configure:24638: gcc -o conftest -Wall conftest.c >&5 configure:24638: $? = 0 configure:24647: result: yes configure:24665: checking whether va_lists can be copied by value -configure:24691: gcc -o conftest -g -O2 conftest.c >&5 +configure:24691: gcc -o conftest -Wall conftest.c >&5 conftest.c: In function 'f': -conftest.c:179:8: error: incompatible types when assigning to type 'va_list' from type 'struct __va_list_tag *' +conftest.c:178:8: error: incompatible types when assigning to type 'va_list' from type 'struct __va_list_tag *' args2 = args1; ^ configure:24691: $? = 1 @@ -7625,7 +7732,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -7758,9 +7864,9 @@ | } configure:24702: result: no configure:24737: checking for dlopen -configure:24737: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccfnaJPn.o: In function `main': -/home/andrey/tmp/glib/conftest.c:209: undefined reference to `dlopen' +configure:24737: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccM9dwV3.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:24737: $? = 1 configure: failed program was: @@ -7820,7 +7926,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -7978,9 +8083,9 @@ | } configure:24737: result: no configure:24797: checking for NSLinkModule -configure:24797: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccUYgIDk.o: In function `main': -/home/andrey/tmp/glib/conftest.c:209: undefined reference to `NSLinkModule' +configure:24797: gcc -o conftest -Wall conftest.c >&5 +/tmp/ccJb61Y8.o: In function `main': +conftest.c:(.text+0xa): undefined reference to `NSLinkModule' collect2: error: ld returned 1 exit status configure:24797: $? = 1 configure: failed program was: @@ -8040,7 +8145,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -8198,21 +8302,21 @@ | } configure:24797: result: no configure:24807: checking for dlopen in -ldl -configure:24832: gcc -o conftest -g -O2 conftest.c -ldl >&5 +configure:24832: gcc -o conftest -Wall conftest.c -ldl >&5 configure:24832: $? = 0 configure:24841: result: yes configure:24844: checking for dlsym in -ldl -configure:24869: gcc -o conftest -g -O2 conftest.c -ldl >&5 +configure:24869: gcc -o conftest -Wall conftest.c -ldl >&5 configure:24869: $? = 0 configure:24878: result: yes configure:24948: checking for RTLD_GLOBAL brokenness -configure:24977: gcc -o conftest -g -O2 -Wl,--export-dynamic conftest.c -ldl >&5 +configure:24977: gcc -o conftest -Wall -Wl,--export-dynamic conftest.c -ldl >&5 configure:24977: $? = 0 configure:24977: ./conftest configure:24977: $? = 0 configure:24990: result: no configure:24997: checking for preceeding underscore in symbols -configure:25022: gcc -o conftest -g -O2 -Wl,--export-dynamic conftest.c -ldl >&5 +configure:25022: gcc -o conftest -Wall -Wl,--export-dynamic conftest.c -ldl >&5 configure:25022: $? = 0 configure:25022: ./conftest configure:25022: $? = 1 @@ -8274,7 +8378,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -8404,7 +8507,7 @@ | } configure:25034: result: no configure:25047: checking for dlerror -configure:25047: gcc -o conftest -g -O2 conftest.c -ldl >&5 +configure:25047: gcc -o conftest -Wall conftest.c -ldl >&5 configure:25047: $? = 0 configure:25047: result: yes configure:25064: checking for the suffix of module shared libraries @@ -8414,7 +8517,7 @@ configure:25106: checking for GIOChannel implementation configure:25116: result: giounix.lo configure:25142: checking for is_selinux_enabled in -lselinux -configure:25167: gcc -o conftest -g -O2 conftest.c -lselinux >&5 +configure:25167: gcc -o conftest -Wall conftest.c -lselinux >&5 /usr/bin/ld: cannot find -lselinux collect2: error: ld returned 1 exit status configure:25167: $? = 1 @@ -8475,7 +8578,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -8610,7 +8712,7 @@ | } configure:25176: result: no configure:25245: checking sys/inotify.h usability -configure:25245: gcc -c -g -O2 conftest.c >&5 +configure:25245: gcc -c -Wall conftest.c >&5 configure:25245: $? = 0 configure:25245: result: yes configure:25245: checking sys/inotify.h presence @@ -8620,12 +8722,12 @@ configure:25245: checking for sys/inotify.h configure:25245: result: yes configure:25254: checking for inotify_init1 -configure:25254: gcc -o conftest -g -O2 conftest.c >&5 +configure:25254: gcc -o conftest -Wall conftest.c >&5 configure:25254: $? = 0 configure:25254: result: yes configure:25281: checking sys/event.h usability -configure:25281: gcc -c -g -O2 conftest.c >&5 -conftest.c:210:23: fatal error: sys/event.h: No such file or directory +configure:25281: gcc -c -Wall conftest.c >&5 +conftest.c:209:23: fatal error: sys/event.h: No such file or directory #include ^ compilation terminated. @@ -8687,7 +8789,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -8844,7 +8945,7 @@ configure:25281: result: no configure:25281: checking sys/event.h presence configure:25281: gcc -E conftest.c -conftest.c:177:23: fatal error: sys/event.h: No such file or directory +conftest.c:176:23: fatal error: sys/event.h: No such file or directory #include ^ compilation terminated. @@ -8906,7 +9007,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -9030,8 +9130,8 @@ configure:25281: result: no configure:25281: checking for sys/event.h configure:25281: result: no -configure:25324: gcc -c -g -O2 conftest.c >&5 -conftest.c:178:18: fatal error: port.h: No such file or directory +configure:25324: gcc -c -Wall conftest.c >&5 +conftest.c:177:18: fatal error: port.h: No such file or directory #include ^ compilation terminated. @@ -9093,7 +9193,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -9220,11 +9319,11 @@ | #endif | int main() { return 0; } configure:25356: checking for FAMOpen in -lfam -configure:25381: gcc -o conftest -g -O2 conftest.c -lfam >&5 +configure:25381: gcc -o conftest -Wall conftest.c -lfam >&5 configure:25381: $? = 0 configure:25390: result: yes configure:25395: checking fam.h usability -configure:25395: gcc -c -g -O2 conftest.c >&5 +configure:25395: gcc -c -Wall conftest.c >&5 configure:25395: $? = 0 configure:25395: result: yes configure:25395: checking fam.h presence @@ -9234,15 +9333,15 @@ configure:25395: checking for fam.h configure:25395: result: yes configure:25403: checking for FAMNoExists in -lfam -configure:25428: gcc -o conftest -g -O2 conftest.c -lfam >&5 +configure:25428: gcc -o conftest -Wall conftest.c -lfam >&5 configure:25428: $? = 0 configure:25437: result: yes configure:25483: checking for getxattr in -lc -configure:25508: gcc -o conftest -g -O2 conftest.c -lc >&5 +configure:25508: gcc -o conftest -Wall conftest.c -lc >&5 configure:25508: $? = 0 configure:25517: result: yes configure:25522: checking sys/xattr.h usability -configure:25522: gcc -c -g -O2 conftest.c >&5 +configure:25522: gcc -c -Wall conftest.c >&5 configure:25522: $? = 0 configure:25522: result: yes configure:25522: checking sys/xattr.h presence @@ -9252,19 +9351,22 @@ configure:25522: checking for sys/xattr.h configure:25522: result: yes configure:25602: checking for XATTR_NOFOLLOW -configure:25625: gcc -c -g -O2 conftest.c >&5 +configure:25625: gcc -c -Wall conftest.c >&5 conftest.c: In function 'main': -conftest.c:196:44: error: 'XATTR_NOFOLLOW' undeclared (first use in this function) +conftest.c:195:44: error: 'XATTR_NOFOLLOW' undeclared (first use in this function) ssize_t len = getxattr("", "", NULL, 0, 0, XATTR_NOFOLLOW); ^ -conftest.c:196:44: note: each undeclared identifier is reported only once for each function it appears in -conftest.c:196:1: error: too many arguments to function 'getxattr' +conftest.c:195:44: note: each undeclared identifier is reported only once for each function it appears in +conftest.c:195:1: error: too many arguments to function 'getxattr' ssize_t len = getxattr("", "", NULL, 0, 0, XATTR_NOFOLLOW); ^ -In file included from conftest.c:188:0: +In file included from conftest.c:187:0: /usr/include/sys/xattr.h:57:16: note: declared here extern ssize_t getxattr (const char *__path, const char *__name, ^ +conftest.c:195:9: warning: unused variable 'len' [-Wunused-variable] + ssize_t len = getxattr("", "", NULL, 0, 0, XATTR_NOFOLLOW); + ^ configure:25625: $? = 1 configure: failed program was: | /* confdefs.h */ @@ -9323,7 +9425,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -9483,19 +9584,19 @@ configure:25695: result: no No package 'libelf' found configure:25726: checking for elf_begin in -lelf -configure:25751: gcc -o conftest -g -O2 conftest.c -lelf >&5 +configure:25751: gcc -o conftest -Wall conftest.c -lelf >&5 configure:25751: $? = 0 configure:25760: result: yes configure:25768: checking for elf_getshdrstrndx in -lelf -configure:25793: gcc -o conftest -g -O2 conftest.c -lelf >&5 +configure:25793: gcc -o conftest -Wall conftest.c -lelf >&5 configure:25793: $? = 0 configure:25802: result: yes configure:25810: checking for elf_getshdrnum in -lelf -configure:25835: gcc -o conftest -g -O2 conftest.c -lelf >&5 +configure:25835: gcc -o conftest -Wall conftest.c -lelf >&5 configure:25835: $? = 0 configure:25844: result: yes configure:25852: checking libelf.h usability -configure:25852: gcc -c -g -O2 conftest.c >&5 +configure:25852: gcc -c -Wall conftest.c >&5 configure:25852: $? = 0 configure:25852: result: yes configure:25852: checking libelf.h presence @@ -9511,10 +9612,14 @@ configure:25913: checking if building for some Win32 platform configure:25923: result: no configure:25973: checking for thread implementation -configure:25997: gcc -c -g -O2 -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c >&5 +configure:25997: gcc -c -Wall -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c >&5 +conftest.c: In function 'main': +conftest.c:186:17: warning: unused variable 'm' [-Wunused-variable] + pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER; + ^ configure:25997: $? = 0 configure:26038: result: posix -configure:26108: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26108: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26108: $? = 0 configure:26108: ./conftest configure:26108: $? = 0 @@ -9523,97 +9628,113 @@ configure:26342: checking thread related libraries configure:26344: result: -pthread configure:26355: checking for localtime_r -configure:26355: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26355: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26355: $? = 0 configure:26355: result: yes configure:26355: checking for gmtime_r configure:26355: result: yes configure:26366: checking for posix getpwuid_r -configure:26393: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26393: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26393: $? = 0 configure:26393: ./conftest configure:26393: $? = 0 configure:26403: result: yes configure:26457: checking for posix getgrgid_r -configure:26484: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26484: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26484: $? = 0 configure:26484: ./conftest configure:26484: $? = 0 configure:26494: result: yes configure:26557: checking for pthread_attr_setstacksize -configure:26570: gcc -o conftest -g -O2 -pthread -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c -pthread >&5 +configure:26570: gcc -o conftest -Wall -pthread -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c -pthread >&5 configure:26570: $? = 0 configure:26571: result: yes configure:26582: checking for pthread_condattr_setclock -configure:26595: gcc -o conftest -g -O2 -pthread -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c -pthread >&5 +configure:26595: gcc -o conftest -Wall -pthread -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c -pthread >&5 configure:26595: $? = 0 configure:26596: result: yes configure:26650: checking for clock_gettime -configure:26650: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26650: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26650: $? = 0 configure:26650: result: yes configure:26712: checking for lock-free atomic intrinsics -configure:26735: gcc -c -g -O2 -pthread conftest.c >&5 +configure:26735: gcc -c -Wall -pthread conftest.c >&5 configure:26735: $? = 0 configure:26765: result: yes -configure:26787: gcc -c -g -O2 -pthread conftest.c >&5 +configure:26787: gcc -c -Wall -pthread conftest.c >&5 +conftest.c: In function 'main': +conftest.c:193:1: warning: statement with no effect [-Wunused-value] + __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4; + ^ configure:26787: $? = 0 configure:26811: checking for futex(2) system call -configure:26839: gcc -c -g -O2 -pthread conftest.c >&5 +configure:26839: gcc -c -Wall -pthread conftest.c >&5 +conftest.c: In function 'main': +conftest.c:199:1: warning: 'main' is normally a non-static function [-Wmain] + main (void) + ^ configure:26839: $? = 0 configure:26846: result: yes configure:26854: checking for eventfd(2) system call -configure:26880: gcc -c -g -O2 -pthread conftest.c >&5 +configure:26880: gcc -c -Wall -pthread conftest.c >&5 +conftest.c: In function 'main': +conftest.c:199:1: warning: 'main' is normally a non-static function [-Wmain] + main (void) + ^ configure:26880: $? = 0 configure:26887: result: yes configure:26913: checking value of POLLIN -configure:26918: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26918: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26918: $? = 0 configure:26918: ./conftest configure:26918: $? = 0 configure:26926: result: 1 configure:26929: checking value of POLLOUT -configure:26934: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26934: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26934: $? = 0 configure:26934: ./conftest configure:26934: $? = 0 configure:26942: result: 4 configure:26945: checking value of POLLPRI -configure:26950: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26950: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26950: $? = 0 configure:26950: ./conftest configure:26950: $? = 0 configure:26958: result: 2 configure:26961: checking value of POLLERR -configure:26966: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26966: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26966: $? = 0 configure:26966: ./conftest configure:26966: $? = 0 configure:26974: result: 8 configure:26977: checking value of POLLHUP -configure:26982: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26982: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26982: $? = 0 configure:26982: ./conftest configure:26982: $? = 0 configure:26990: result: 16 configure:26993: checking value of POLLNVAL -configure:26998: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:26998: gcc -o conftest -Wall -pthread conftest.c >&5 configure:26998: $? = 0 configure:26998: ./conftest configure:26998: $? = 0 configure:27006: result: 32 configure:27024: checking for broken poll -configure:27051: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:27051: gcc -o conftest -Wall -pthread conftest.c >&5 configure:27051: $? = 0 configure:27051: ./conftest configure:27051: $? = 0 configure:27063: result: no configure:27236: checking whether compiler understands -Wno-pointer-sign -configure:27251: gcc -c -g -O2 -Wno-pointer-sign -pthread conftest.c >&5 +configure:27251: gcc -c -Wall -Wno-pointer-sign -pthread conftest.c >&5 configure:27251: $? = 0 configure:27253: result: yes configure:27282: checking for EILSEQ -configure:27299: gcc -c -g -O2 -pthread conftest.c >&5 +configure:27299: gcc -c -Wall -pthread conftest.c >&5 +conftest.c: In function 'main': +conftest.c:198:5: warning: unused variable 'error' [-Wunused-variable] + int error = EILSEQ; + ^ configure:27299: $? = 0 configure:27305: result: yes configure:27465: checking for gtkdoc-check @@ -9646,11 +9767,11 @@ configure:28092: checking whether to include systemtap tracing support configure:28103: result: no configure:28345: checking for guint32 -configure:28345: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28345: gcc -c -Wall -pthread conftest.c >&5 configure:28345: $? = 0 -configure:28345: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28345: gcc -c -Wall -pthread conftest.c >&5 conftest.c: In function 'main': -conftest.c:197:22: error: expected expression before ')' token +conftest.c:196:22: error: expected expression before ')' token if (sizeof ((guint32))) ^ configure:28345: $? = 1 @@ -9711,7 +9832,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -9858,17 +9978,17 @@ | } configure:28345: result: yes configure:28353: checking alignment of guint32 -configure:28358: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:28358: gcc -o conftest -Wall -pthread conftest.c >&5 configure:28358: $? = 0 configure:28358: ./conftest configure:28358: $? = 0 configure:28378: result: 4 configure:28388: checking for guint64 -configure:28388: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28388: gcc -c -Wall -pthread conftest.c >&5 configure:28388: $? = 0 -configure:28388: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28388: gcc -c -Wall -pthread conftest.c >&5 conftest.c: In function 'main': -conftest.c:198:22: error: expected expression before ')' token +conftest.c:197:22: error: expected expression before ')' token if (sizeof ((guint64))) ^ configure:28388: $? = 1 @@ -9929,7 +10049,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -10077,17 +10196,17 @@ | } configure:28388: result: yes configure:28396: checking alignment of guint64 -configure:28401: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:28401: gcc -o conftest -Wall -pthread conftest.c >&5 configure:28401: $? = 0 configure:28401: ./conftest configure:28401: $? = 0 configure:28421: result: 8 configure:28431: checking for unsigned long -configure:28431: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28431: gcc -c -Wall -pthread conftest.c >&5 configure:28431: $? = 0 -configure:28431: gcc -c -g -O2 -pthread conftest.c >&5 +configure:28431: gcc -c -Wall -pthread conftest.c >&5 conftest.c: In function 'main': -conftest.c:230:28: error: expected expression before ')' token +conftest.c:229:28: error: expected expression before ')' token if (sizeof ((unsigned long))) ^ configure:28431: $? = 1 @@ -10148,7 +10267,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -10328,7 +10446,7 @@ | } configure:28431: result: yes configure:28438: checking alignment of unsigned long -configure:28443: gcc -o conftest -g -O2 -pthread conftest.c >&5 +configure:28443: gcc -o conftest -Wall -pthread conftest.c >&5 configure:28443: $? = 0 configure:28443: ./conftest configure:28443: $? = 0 @@ -10343,7 +10461,11 @@ configure:28583: found /usr/bin/dbus-daemon configure:28594: result: dbus-daemon configure:28620: checking for -Bsymbolic-functions linker flag -configure:28634: gcc -o conftest -g -O2 -pthread -Wl,-Bsymbolic-functions conftest.c >&5 +configure:28634: gcc -o conftest -Wall -pthread -Wl,-Bsymbolic-functions conftest.c >&5 +conftest.c: In function 'main': +conftest.c:199:5: warning: 'main' is normally a non-static function [-Wmain] + int main (void) { return 0; } + ^ configure:28634: $? = 0 configure:28635: result: yes configure:28666: checking for -fvisibility=hidden compiler flag @@ -10440,7 +10562,6 @@ | #define SIZEOF___INT64 0 | #define HAVE_SIG_ATOMIC_T 1 | #define HAVE_LONG_LONG_FORMAT 1 -| #define SANE_MALLOC_PROTOS 1 | #define G_HAVE___INLINE 1 | #define G_HAVE___INLINE__ 1 | #define G_HAVE_INLINE 1 @@ -10609,72 +10730,72 @@ on sora -config.status:1943: creating glib-2.0.pc -config.status:1943: creating gmodule-2.0.pc -config.status:1943: creating gmodule-export-2.0.pc -config.status:1943: creating gmodule-no-export-2.0.pc -config.status:1943: creating gthread-2.0.pc -config.status:1943: creating gobject-2.0.pc -config.status:1943: creating gio-2.0.pc -config.status:1943: creating gio-unix-2.0.pc -config.status:1943: creating gio-windows-2.0.pc -config.status:1943: creating glib-zip -config.status:1943: creating glib-gettextize -config.status:1943: creating Makefile -config.status:1943: creating build/Makefile -config.status:1943: creating build/win32/Makefile -config.status:1943: creating build/win32/dirent/Makefile -config.status:1943: creating build/win32/vs9/Makefile -config.status:1943: creating build/win32/vs10/Makefile -config.status:1943: creating build/win32/vs11/Makefile -config.status:1943: creating glib/Makefile -config.status:1943: creating glib/glib.stp -config.status:1943: creating glib/libcharset/Makefile -config.status:1943: creating glib/gnulib/Makefile -config.status:1943: creating glib/pcre/Makefile -config.status:1943: creating glib/update-pcre/Makefile -config.status:1943: creating glib/tests/Makefile -config.status:1943: creating gmodule/Makefile -config.status:1943: creating gmodule/gmoduleconf.h -config.status:1943: creating gobject/Makefile -config.status:1943: creating gobject/gobject.stp -config.status:1943: creating gobject/glib-mkenums -config.status:1943: creating gobject/tests/Makefile -config.status:1943: creating gthread/Makefile -config.status:1943: creating gio/Makefile -config.status:1943: creating gio/gdbus-2.0/codegen/Makefile -config.status:1943: creating gio/gdbus-2.0/codegen/config.py -config.status:1943: creating gio/gnetworking.h -config.status:1943: creating gio/xdgmime/Makefile -config.status:1943: creating gio/inotify/Makefile -config.status:1943: creating gio/kqueue/Makefile -config.status:1943: creating gio/fen/Makefile -config.status:1943: creating gio/fam/Makefile -config.status:1943: creating gio/win32/Makefile -config.status:1943: creating gio/tests/Makefile -config.status:1943: creating gio/tests/gdbus-object-manager-example/Makefile -config.status:1943: creating gio/tests/services/Makefile -config.status:1943: creating gio/tests/services/org.gtk.GDBus.Examples.ObjectManager.service -config.status:1943: creating po/Makefile.in -config.status:1943: creating docs/Makefile -config.status:1943: creating docs/reference/Makefile -config.status:1943: creating docs/reference/glib/Makefile -config.status:1943: creating docs/reference/glib/version.xml -config.status:1943: creating docs/reference/gobject/Makefile -config.status:1943: creating docs/reference/gobject/version.xml -config.status:1943: creating docs/reference/gio/Makefile -config.status:1943: creating docs/reference/gio/gdbus-object-manager-example/Makefile -config.status:1943: creating docs/reference/gio/version.xml -config.status:1943: creating tests/Makefile -config.status:1943: creating tests/gobject/Makefile -config.status:1943: creating tests/refcount/Makefile -config.status:1943: creating m4macros/Makefile -config.status:1943: creating config.h -config.status:2172: executing depfiles commands -config.status:2172: executing default-1 commands -config.status:2172: executing libtool commands -config.status:2172: executing glib/glibconfig.h commands -config.status:2172: executing chmod-scripts commands +config.status:1942: creating glib-2.0.pc +config.status:1942: creating gmodule-2.0.pc +config.status:1942: creating gmodule-export-2.0.pc +config.status:1942: creating gmodule-no-export-2.0.pc +config.status:1942: creating gthread-2.0.pc +config.status:1942: creating gobject-2.0.pc +config.status:1942: creating gio-2.0.pc +config.status:1942: creating gio-unix-2.0.pc +config.status:1942: creating gio-windows-2.0.pc +config.status:1942: creating glib-zip +config.status:1942: creating glib-gettextize +config.status:1942: creating Makefile +config.status:1942: creating build/Makefile +config.status:1942: creating build/win32/Makefile +config.status:1942: creating build/win32/dirent/Makefile +config.status:1942: creating build/win32/vs9/Makefile +config.status:1942: creating build/win32/vs10/Makefile +config.status:1942: creating build/win32/vs11/Makefile +config.status:1942: creating glib/Makefile +config.status:1942: creating glib/glib.stp +config.status:1942: creating glib/libcharset/Makefile +config.status:1942: creating glib/gnulib/Makefile +config.status:1942: creating glib/pcre/Makefile +config.status:1942: creating glib/update-pcre/Makefile +config.status:1942: creating glib/tests/Makefile +config.status:1942: creating gmodule/Makefile +config.status:1942: creating gmodule/gmoduleconf.h +config.status:1942: creating gobject/Makefile +config.status:1942: creating gobject/gobject.stp +config.status:1942: creating gobject/glib-mkenums +config.status:1942: creating gobject/tests/Makefile +config.status:1942: creating gthread/Makefile +config.status:1942: creating gio/Makefile +config.status:1942: creating gio/gdbus-2.0/codegen/Makefile +config.status:1942: creating gio/gdbus-2.0/codegen/config.py +config.status:1942: creating gio/gnetworking.h +config.status:1942: creating gio/xdgmime/Makefile +config.status:1942: creating gio/inotify/Makefile +config.status:1942: creating gio/kqueue/Makefile +config.status:1942: creating gio/fen/Makefile +config.status:1942: creating gio/fam/Makefile +config.status:1942: creating gio/win32/Makefile +config.status:1942: creating gio/tests/Makefile +config.status:1942: creating gio/tests/gdbus-object-manager-example/Makefile +config.status:1942: creating gio/tests/services/Makefile +config.status:1942: creating gio/tests/services/org.gtk.GDBus.Examples.ObjectManager.service +config.status:1942: creating po/Makefile.in +config.status:1942: creating docs/Makefile +config.status:1942: creating docs/reference/Makefile +config.status:1942: creating docs/reference/glib/Makefile +config.status:1942: creating docs/reference/glib/version.xml +config.status:1942: creating docs/reference/gobject/Makefile +config.status:1942: creating docs/reference/gobject/version.xml +config.status:1942: creating docs/reference/gio/Makefile +config.status:1942: creating docs/reference/gio/gdbus-object-manager-example/Makefile +config.status:1942: creating docs/reference/gio/version.xml +config.status:1942: creating tests/Makefile +config.status:1942: creating tests/gobject/Makefile +config.status:1942: creating tests/refcount/Makefile +config.status:1942: creating m4macros/Makefile +config.status:1942: creating config.h +config.status:2171: executing depfiles commands +config.status:2171: executing default-1 commands +config.status:2171: executing libtool commands +config.status:2171: executing glib/glibconfig.h commands +config.status:2171: executing chmod-scripts commands ## ---------------- ## ## Cache variables. ## @@ -10692,8 +10813,8 @@ ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= +ac_cv_env_CFLAGS_set=set +ac_cv_env_CFLAGS_value=-Wall ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= @@ -10996,7 +11117,7 @@ glib_cv_long_long_format=ll glib_cv_rtldglobal_broken=no glib_cv_sane_realloc=yes -glib_cv_stack_grows=yes +glib_cv_stack_grows=no glib_cv_uscore=no glib_cv_va_copy=yes glib_cv_va_val_copy=no @@ -11088,7 +11209,7 @@ CATOBJEXT='.gmo' CC='gcc' CCDEPMODE='depmode=gcc3' -CFLAGS='-g -O2' +CFLAGS='-Wall' CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS' CPP='gcc -E' CPPFLAGS=' -pthread' @@ -11441,7 +11562,6 @@ #define SIZEOF___INT64 0 #define HAVE_SIG_ATOMIC_T 1 #define HAVE_LONG_LONG_FORMAT 1 -#define SANE_MALLOC_PROTOS 1 #define G_HAVE___INLINE 1 #define G_HAVE___INLINE__ 1 #define G_HAVE_INLINE 1 diff -ru a/config.lt b/config.lt --- a/config.lt 2013-04-23 20:07:06.720845737 +0300 +++ b/config.lt 2013-04-23 20:08:30.451933568 +0300 @@ -484,7 +484,7 @@ old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' lock_old_archive_extraction='no' CC='gcc' -CFLAGS='-g -O2' +CFLAGS='-Wall' compiler='c++' GCC='yes' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' @@ -623,7 +623,7 @@ compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../..' LTCC='gcc' -LTCFLAGS='-g -O2' +LTCFLAGS='-Wall' compiler='gcc' # A function that is used when there is no print builtin or printf. diff -ru a/config.status b/config.status --- a/config.status 2013-04-23 20:07:28.838680178 +0300 +++ b/config.status 2013-04-23 20:08:59.516801797 +0300 @@ -427,7 +427,7 @@ Report bugs to ." -ac_cs_config="" +ac_cs_config="'CFLAGS=-Wall'" ac_cs_version="\ glib config.status 2.36.1 configured by ./configure, generated by GNU Autoconf 2.69, @@ -519,7 +519,7 @@ fi if $ac_cs_recheck; then - set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion + set X /bin/sh './configure' 'CFLAGS=-Wall' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 CONFIG_SHELL='/bin/sh' @@ -601,7 +601,7 @@ old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' lock_old_archive_extraction='no' CC='gcc' -CFLAGS='-g -O2' +CFLAGS='-Wall' compiler='c++' GCC='yes' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' @@ -740,7 +740,7 @@ compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../..' LTCC='gcc' -LTCFLAGS='-g -O2' +LTCFLAGS='-Wall' compiler='gcc' # A function that is used when there is no print builtin or printf. @@ -1102,7 +1102,7 @@ g_msg_oob=1 g_msg_dontroute=4 -g_stack_grows=yes +g_stack_grows=no g_have_eilseq=yes @@ -1537,7 +1537,7 @@ S["ac_ct_CC"]="gcc" S["CPPFLAGS"]=" -pthread" S["LDFLAGS"]="" -S["CFLAGS"]="-g -O2" +S["CFLAGS"]="-Wall" S["CC"]="gcc" S["LT_CURRENT_MINUS_AGE"]="0" S["LT_AGE"]="3600" @@ -1714,7 +1714,6 @@ D["SIZEOF___INT64"]=" 0" D["HAVE_SIG_ATOMIC_T"]=" 1" D["HAVE_LONG_LONG_FORMAT"]=" 1" -D["SANE_MALLOC_PROTOS"]=" 1" D["G_HAVE___INLINE"]=" 1" D["G_HAVE___INLINE__"]=" 1" D["G_HAVE_INLINE"]=" 1" diff -ru a/docs/Makefile b/docs/Makefile --- a/docs/Makefile 2013-04-23 20:07:30.575438545 +0300 +++ b/docs/Makefile 2013-04-23 20:09:01.300229316 +0300 @@ -149,7 +149,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/docs/reference/gio/gdbus-object-manager-example/Makefile b/docs/reference/gio/gdbus-object-manager-example/Makefile --- a/docs/reference/gio/gdbus-object-manager-example/Makefile 2013-04-23 20:07:30.782116124 +0300 +++ b/docs/reference/gio/gdbus-object-manager-example/Makefile 2013-04-23 20:09:01.526907954 +0300 @@ -115,7 +115,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/docs/reference/gio/Makefile b/docs/reference/gio/Makefile --- a/docs/reference/gio/Makefile 2013-04-23 20:07:30.748781030 +0300 +++ b/docs/reference/gio/Makefile 2013-04-23 20:09:01.476905313 +0300 @@ -196,7 +196,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/docs/reference/glib/Makefile b/docs/reference/glib/Makefile --- a/docs/reference/glib/Makefile 2013-04-23 20:07:30.618774166 +0300 +++ b/docs/reference/glib/Makefile 2013-04-23 20:09:01.356898975 +0300 @@ -152,7 +152,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/docs/reference/gobject/Makefile b/docs/reference/gobject/Makefile --- a/docs/reference/gobject/Makefile 2013-04-23 20:07:30.695444881 +0300 +++ b/docs/reference/gobject/Makefile 2013-04-23 20:09:01.416902144 +0300 @@ -152,7 +152,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/docs/reference/Makefile b/docs/reference/Makefile --- a/docs/reference/Makefile 2013-04-23 20:07:30.598773110 +0300 +++ b/docs/reference/Makefile 2013-04-23 20:09:01.330230900 +0300 @@ -149,7 +149,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/fam/Makefile b/gio/fam/Makefile --- a/gio/fam/Makefile 2013-04-23 20:07:30.385428512 +0300 +++ b/gio/fam/Makefile 2013-04-23 20:09:01.116886300 +0300 @@ -181,7 +181,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/fen/Makefile b/gio/fen/Makefile --- a/gio/fen/Makefile 2013-04-23 20:07:30.352093419 +0300 +++ b/gio/fen/Makefile 2013-04-23 20:09:01.066883659 +0300 @@ -149,7 +149,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/gdbus-2.0/codegen/Makefile b/gio/gdbus-2.0/codegen/Makefile --- a/gio/gdbus-2.0/codegen/Makefile 2013-04-23 20:07:30.178750933 +0300 +++ b/gio/gdbus-2.0/codegen/Makefile 2013-04-23 20:09:00.840205021 +0300 @@ -142,7 +142,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/inotify/Makefile b/gio/inotify/Makefile --- a/gio/inotify/Makefile 2013-04-23 20:07:30.288756741 +0300 +++ b/gio/inotify/Makefile 2013-04-23 20:09:00.993546453 +0300 @@ -151,7 +151,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/kqueue/Makefile b/gio/kqueue/Makefile --- a/gio/kqueue/Makefile 2013-04-23 20:07:30.318758325 +0300 +++ b/gio/kqueue/Makefile 2013-04-23 20:09:01.030215056 +0300 @@ -151,7 +151,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/Makefile b/gio/Makefile --- a/gio/Makefile 2013-04-23 20:07:30.152082858 +0300 +++ b/gio/Makefile 2013-04-23 20:09:00.810203437 +0300 @@ -572,7 +572,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/tests/gdbus-object-manager-example/Makefile b/gio/tests/gdbus-object-manager-example/Makefile --- a/gio/tests/gdbus-object-manager-example/Makefile 2013-04-23 20:07:30.485433792 +0300 +++ b/gio/tests/gdbus-object-manager-example/Makefile 2013-04-23 20:09:01.186889997 +0300 @@ -149,7 +149,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/tests/Makefile b/gio/tests/Makefile --- a/gio/tests/Makefile 2013-04-23 20:07:30.462099227 +0300 +++ b/gio/tests/Makefile 2013-04-23 20:09:01.163555431 +0300 @@ -1244,7 +1244,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/tests/services/Makefile b/gio/tests/services/Makefile --- a/gio/tests/services/Makefile 2013-04-23 20:07:30.508768358 +0300 +++ b/gio/tests/services/Makefile 2013-04-23 20:09:01.220225091 +0300 @@ -107,7 +107,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/win32/Makefile b/gio/win32/Makefile --- a/gio/win32/Makefile 2013-04-23 20:07:30.408763078 +0300 +++ b/gio/win32/Makefile 2013-04-23 20:09:01.136887356 +0300 @@ -150,7 +150,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gio/xdgmime/Makefile b/gio/xdgmime/Makefile --- a/gio/xdgmime/Makefile 2013-04-23 20:07:30.258755157 +0300 +++ b/gio/xdgmime/Makefile 2013-04-23 20:09:00.920209246 +0300 @@ -149,7 +149,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/glibconfig.h b/glib/glibconfig.h --- a/glib/glibconfig.h 2013-04-23 20:07:35.265686189 +0300 +++ b/glib/glibconfig.h 2013-04-23 20:09:05.510451665 +0300 @@ -142,7 +142,7 @@ #endif #define G_HAVE_GNUC_VARARGS 1 -#define G_HAVE_GROWING_STACK 1 +#define G_HAVE_GROWING_STACK 0 #define G_HAVE_GNUC_VISIBILITY 1 #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) diff -ru a/glib/gnulib/Makefile b/glib/gnulib/Makefile --- a/glib/gnulib/Makefile 2013-04-23 20:07:29.788730340 +0300 +++ b/glib/gnulib/Makefile 2013-04-23 20:09:00.440183896 +0300 @@ -147,7 +147,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/libcharset/Makefile b/glib/libcharset/Makefile --- a/glib/libcharset/Makefile 2013-04-23 20:07:29.748728228 +0300 +++ b/glib/libcharset/Makefile 2013-04-23 20:09:00.400181783 +0300 @@ -145,7 +145,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/Makefile b/glib/Makefile --- a/glib/Makefile 2013-04-23 20:07:29.692058569 +0300 +++ b/glib/Makefile 2013-04-23 20:09:00.356846161 +0300 @@ -356,7 +356,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/pcre/Makefile b/glib/pcre/Makefile --- a/glib/pcre/Makefile 2013-04-23 20:07:29.815398415 +0300 +++ b/glib/pcre/Makefile 2013-04-23 20:09:00.486853027 +0300 @@ -153,7 +153,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/tests/Makefile b/glib/tests/Makefile --- a/glib/tests/Makefile 2013-04-23 20:07:29.895402639 +0300 +++ b/glib/tests/Makefile 2013-04-23 20:09:00.533522158 +0300 @@ -533,7 +533,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/glib/update-pcre/Makefile b/glib/update-pcre/Makefile --- a/glib/update-pcre/Makefile 2013-04-23 20:07:29.845399999 +0300 +++ b/glib/update-pcre/Makefile 2013-04-23 20:09:00.506854083 +0300 @@ -109,7 +109,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gmodule/Makefile b/gmodule/Makefile --- a/gmodule/Makefile 2013-04-23 20:07:29.915403695 +0300 +++ b/gmodule/Makefile 2013-04-23 20:09:00.566857252 +0300 @@ -181,7 +181,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gobject/Makefile b/gobject/Makefile --- a/gobject/Makefile 2013-04-23 20:07:29.978740373 +0300 +++ b/gobject/Makefile 2013-04-23 20:09:00.623526912 +0300 @@ -252,7 +252,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gobject/tests/Makefile b/gobject/tests/Makefile --- a/gobject/tests/Makefile 2013-04-23 20:07:30.078745653 +0300 +++ b/gobject/tests/Makefile 2013-04-23 20:09:00.730199212 +0300 @@ -221,7 +221,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/gthread/Makefile b/gthread/Makefile --- a/gthread/Makefile 2013-04-23 20:07:30.105413728 +0300 +++ b/gthread/Makefile 2013-04-23 20:09:00.753533777 +0300 @@ -177,7 +177,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/libtool b/libtool --- a/libtool 2013-04-23 20:07:35.225684077 +0300 +++ b/libtool 2013-04-23 20:09:05.463782534 +0300 @@ -167,7 +167,7 @@ LTCC="gcc" # LTCC compiler flags. -LTCFLAGS="-g -O2" +LTCFLAGS="-Wall" # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'" diff -ru a/m4macros/Makefile b/m4macros/Makefile --- a/m4macros/Makefile 2013-04-23 20:07:30.912122988 +0300 +++ b/m4macros/Makefile 2013-04-23 20:09:01.666915348 +0300 @@ -139,7 +139,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/Makefile b/Makefile --- a/Makefile 2013-04-23 20:07:29.502048537 +0300 +++ b/Makefile 2013-04-23 20:09:00.150168579 +0300 @@ -221,7 +221,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/po/Makefile b/po/Makefile --- a/po/Makefile 2013-04-23 20:07:35.032340535 +0300 +++ b/po/Makefile 2013-04-23 20:09:05.230436877 +0300 @@ -46,7 +46,7 @@ MSGMERGE = msgmerge DEFS = -DHAVE_CONFIG_H -CFLAGS = -g -O2 +CFLAGS = -Wall CPPFLAGS = -pthread INCLUDES = -I.. -I$(top_srcdir)/intl diff -ru a/po/Makefile.in b/po/Makefile.in --- a/po/Makefile.in 2013-04-23 20:07:30.548770470 +0300 +++ b/po/Makefile.in 2013-04-23 20:09:01.276894750 +0300 @@ -46,7 +46,7 @@ MSGMERGE = msgmerge DEFS = -DHAVE_CONFIG_H -CFLAGS = -g -O2 +CFLAGS = -Wall CPPFLAGS = -pthread INCLUDES = -I.. -I$(top_srcdir)/intl diff -ru a/tests/gobject/Makefile b/tests/gobject/Makefile --- a/tests/gobject/Makefile 2013-04-23 20:07:30.845452801 +0300 +++ b/tests/gobject/Makefile 2013-04-23 20:09:01.626913235 +0300 @@ -201,7 +201,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/tests/Makefile b/tests/Makefile --- a/tests/Makefile 2013-04-23 20:07:30.822118236 +0300 +++ b/tests/Makefile 2013-04-23 20:09:01.583577613 +0300 @@ -405,7 +405,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread diff -ru a/tests/refcount/Makefile b/tests/refcount/Makefile --- a/tests/refcount/Makefile 2013-04-23 20:07:30.868787367 +0300 +++ b/tests/refcount/Makefile 2013-04-23 20:09:01.646914291 +0300 @@ -207,7 +207,7 @@ CATOBJEXT = .gmo CC = gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 +CFLAGS = -Wall CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/po/LINGUAS CPP = gcc -E CPPFLAGS = -pthread