The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=397 ====================================================================== Reported By: jasb Assigned To: aaron ====================================================================== Project: DBMail Issue ID: 397 Category: General Reproducibility: always Severity: minor Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: SVN Trunk ====================================================================== Date Submitted: 18-Aug-06 18:01 CEST Last Modified: 03-Sep-06 19:55 CEST ====================================================================== Summary: Compiling Warnings Description: In the make state of compiling i get this warnings, they may not be important but if they disapear means that everything's ok! ======================================================================
---------------------------------------------------------------------- aaron - 21-Aug-06 06:59 ---------------------------------------------------------------------- Cleared %1 above. ---------------------------------------------------------------------- jasb - 21-Aug-06 09:29 ---------------------------------------------------------------------- Confirmed, the first one disapeared, While i was checking i've noticed some other small warnings. ## warnings %4 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/mysql -DBIG_JOINS=1 -fomit-frame-pointer -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF .deps/authsql.Tpo -c authsql.c -fPIC -DPIC -o .libs/authsql.o authsql.c: In function 'auth_md5_validate': authsql.c:543: warning: pointer targets in assignment differ in signedness /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/mysql -DBIG_JOINS=1 -fomit-frame-pointer -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -module -lglib-2.0 -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0 -o libauth_sql.la -rpath /usr/local/lib/dbmail authsql.lo -lcrypt ## warning %5 gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF .deps/libdbmail_la-dbmail-message.Tpo -c dbmail-message.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-message.o dbmail-message.c:125: warning: 'dump_to_file' defined but not used if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-mailbox.lo -MD -MP -MF ".deps/libdbmail_la-dbmail-mailbox.Tpo" -c -o libdbmail_la-dbmail-mailbox.lo `test -f 'dbmail-mailbox.c' || echo './'`dbmail-mailbox.c; \ then mv -f ".deps/libdbmail_la-dbmail-mailbox.Tpo" ".deps/libdbmail_la-dbmail-mailbox.Plo"; else rm -f ".deps/libdbmail_la-dbmail-mailbox.Tpo"; exit 1; fi ## warning %6 gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-misc.lo -MD -MP -MF .deps/libdbmail_la-misc.Tpo -c misc.c -fPIC -DPIC -o .libs/libdbmail_la-misc.o misc.c: In function 'discard_client_input': misc.c:1246: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pidfile.lo -MD -MP -MF ".deps/libdbmail_la-pidfile.Tpo" -c -o libdbmail_la-pidfile.lo `test -f 'pidfile.c' || echo './'`pidfile.c; \ then mv -f ".deps/libdbmail_la-pidfile.Tpo" ".deps/libdbmail_la-pidfile.Plo"; else rm -f ".deps/libdbmail_la-pidfile.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_md5.lo -MD -MP -MF .deps/libdbmail_la-dm_md5.Tpo -c dm_md5.c -fPIC -DPIC -o .libs/libdbmail_la-dm_md5.o dm_md5.c: In function 'dm_md5_base64': dm_md5.c:346: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_match.lo -MD -MP -MF ".deps/libdbmail_la-dm_match.Tpo" -c -o libdbmail_la-dm_match.lo `test -f 'dm_match.c' || echo './'`dm_match.c; \ then mv -f ".deps/libdbmail_la-dm_match.Tpo" ".deps/libdbmail_la-dm_match.Plo"; else rm -f ".deps/libdbmail_la-dm_match.Tpo"; exit 1; fi ---------------------------------------------------------------------- aaron - 21-Aug-06 09:47 ---------------------------------------------------------------------- I haven't seen these signedness warnings before. Are you running some newfangled version of gcc or something? ---------------------------------------------------------------------- jasb - 21-Aug-06 10:05 ---------------------------------------------------------------------- Hum, i'm going to let here the version of gcc to help. lira:~# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,fortran,objc,obj-c++,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) ---------------------------------------------------------------------- jasb - 29-Aug-06 11:26 ---------------------------------------------------------------------- Any News about this warnings? :P ---------------------------------------------------------------------- aaron - 29-Aug-06 16:44 ---------------------------------------------------------------------- All quiet on the signedness front. ---------------------------------------------------------------------- jasb - 31-Aug-06 12:59 ---------------------------------------------------------------------- hi aaron, i was compiling svn 2244 and i saw in the changelog that this bug was closed by you, so i went to look if there were warnings left, and i found 2, the "signedness" is the same i think. make them go away :P ## 1 of 2 authsql.c: In function 'auth_md5_validate': authsql.c:552: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness authsql.c:552: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness authsql.c:552: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness authsql.c:552: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness authsql.c:552: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness authsql.c:552: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness ## 2 of 2 dm_imaputil.c: In function 'imap_append_header_as_string_default': dm_imaputil.c:223: warning: passing argument 2 of 'g_list_append_printf' discards qualifiers from pointer target type ---------------------------------------------------------------------- aaron - 31-Aug-06 16:53 ---------------------------------------------------------------------- Ok. ---------------------------------------------------------------------- jasb - 03-Sep-06 13:50 ---------------------------------------------------------------------- Hi aron, Just passed here to say that i compiled 2249 and i see no warnings. you can close this ---------------------------------------------------------------------- aaron - 03-Sep-06 19:55 ---------------------------------------------------------------------- Compiler warnings have been silenced. Issue History Date Modified Username Field Change ====================================================================== 18-Aug-06 18:01 jasb New Issue 18-Aug-06 20:44 jasb Issue Monitored: jasb 21-Aug-06 06:59 aaron Note Added: 0001359 21-Aug-06 09:29 jasb Note Added: 0001360 21-Aug-06 09:47 aaron Note Added: 0001361 21-Aug-06 10:03 jasb Note Added: 0001362 21-Aug-06 10:05 jasb Note Edited: 0001362 29-Aug-06 11:26 jasb Note Added: 0001370 29-Aug-06 16:44 aaron Note Added: 0001371 31-Aug-06 12:59 jasb Note Added: 0001377 31-Aug-06 16:53 aaron Note Added: 0001378 03-Sep-06 13:50 jasb Note Added: 0001383 03-Sep-06 19:55 aaron Status new => resolved 03-Sep-06 19:55 aaron Fixed in Version => SVN Trunk 03-Sep-06 19:55 aaron Resolution open => fixed 03-Sep-06 19:55 aaron Assigned To => aaron 03-Sep-06 19:55 aaron Note Added: 0001390 ======================================================================