Feeling greatly daring, I just tried compiling from the Mercurial source. Steps included: 1. download bz2 file from mercurial site 2. unpack 3. ./autogen.sh 4. ./configure --with-bzlib --with-zlib --with-ldap --enable-maintainer-mode 5. ./make I receive the error: Making all in master make[3]: Entering directory `/opt/dovecot-2-0-7a839a028dfa/src/master' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -I../../src/lib-master -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" -DPKG_STATEDIR=\""/usr/local/var/lib/dovecot"\" -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -DBINDIR=\""/usr/local/bin"\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c:130: error: format string argument not a string type make[3]: *** [main.o] Error 1 -- Daniel
On Fri, 2010-10-15 at 11:31 -0700, Daniel L. Miller wrote:> main.c:130: error: format string argument not a string typeWhops. Wonder why my gcc doesn't even warn about this. Update and try again? :) Also since your gcc apparently is better, could you also check if it logs any warnings anywhere?