A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=397
======================================================================
Reported By: jasb
Assigned To:
======================================================================
Project: DBMail
Issue ID: 397
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 18-Aug-06 18:01 CEST
Last Modified: 21-Aug-06 10:03 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:03
----------------------------------------------------------------------
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)
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
======================================================================