Howdy Paul,

 

Saw that you killed some warnings in last GIT, and if you want to kill some
more here you have them:

 

flecha:/usr/local/src/postfix/git/dbmail# gcc -v

Using built-in specs.

Target: i486-linux-gnu

Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-4'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-targets=all --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu

Thread model: posix

gcc version 4.4.5 (Debian 4.4.5-4)

 

dbmail-user.c: In function 'do_add':

dbmail-user.c:84: warning: suggest explicit braces to avoid ambiguous 'else'

dbmail-user.c: In function 'do_empty':

dbmail-user.c:711: warning: suggest explicit braces to avoid ambiguous
'else'

 

dm_db.c: In function 'db_listmailboxchildren':

dm_db.c:2347: warning: variable 'mailbox_like' might be clobbered by
'longjmp' or 'vfork'

dm_db.c: In function 'mailboxes_by_regex':

dm_db.c:1796: warning: variable 'mailbox_like' might be clobbered by
'longjmp' or 'vfork'

 

dm_misc.c: In function 'dm_base64_decode':

dm_misc.c:2322: warning: format '%ld' expects type 'long int', but argument
6 has type 'size_t'

 

dm_sset.c: In function 'mapper':

dm_sset.c:91: warning: unused parameter 'value'

 

clientbase.c: In function 'ci_write':

clientbase.c:272: warning: format '%ld' expects type 'long int', but
argument 6 has type 'gsize'

clientbase.c:304: warning: format '%ld' expects type 'long int', but
argument 7 has type 'ssize_t'

clientbase.c:304: warning: format '%ld' expects type 'long int', but
argument 8 has type 'gsize'

clientbase.c: In function 'ci_read_cb':

clientbase.c:345: warning: format '%ld' expects type 'long int', but
argument 7 has type 'ssize_t'

clientbase.c: In function 'ci_read':

clientbase.c:377: warning: format '%ld' expects type 'long int', but
argument 7 has type 'size_t'

clientbase.c: In function 'ci_readln':

clientbase.c:407: warning: format '%ld' expects type 'long int', but
argument 6 has type 'size_t'

clientbase.c:415: warning: format '%ld' expects type 'long int', but
argument 7 has type 'size_t'

clientbase.c: In function 'ci_authlog_init':

clientbase.c:430: warning: variable 'user' might be clobbered by 'longjmp'
or 'vfork'

 

dm_request.c: In function 'Request_basic_auth':

dm_request.c:121: warning: format '%ld' expects type 'long int', but
argument 6 has type 'gsize'

 

dbmail-imapsession.c: In function 'imap4_tokenizer_main':

dbmail-imapsession.c:1920: warning: format '%lu' expects type 'long unsigned
int', but argument 7 has type 'size_t'

dbmail-imapsession.c:1920: warning: format '%lu' expects type 'long unsigned
int', but argument 8 has type 'size_t'

dbmail-imapsession.c:1975: warning: format '%lu' expects type 'long unsigned
int', but argument 6 has type 'size_t'

dbmail-imapsession.c: In function 'dbmail_imap_session_mailbox_status':

dbmail-imapsession.c:1437: warning: 'M' may be used uninitialized in this
function

 

maintenance.c: In function 'do_check_integrity':

maintenance.c:609: warning: suggest explicit braces to avoid ambiguous
'else'

maintenance.c:634: warning: suggest explicit braces to avoid ambiguous
'else'

maintenance.c:659: warning: suggest explicit braces to avoid ambiguous
'else'

 

timsieve.c: In function 'tims_tokenizer':

timsieve.c:229: warning: format '%ld' expects type 'long int', but argument
7 has type 'size_t'

timsieve.c: In function 'tims':

timsieve.c:388: warning: format '%ld' expects type 'long int', but argument
6 has type 'size_t'

 

 

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to