Eggheads: Many warnings while compiling

Dionisios K. vonitsa_net at yahoo.gr
Sat Nov 25 21:03:57 CST 2006


Many of these errors are gone today with the last cvs. 
These few remaining:

ON COMPILE:

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -g3 -DDEBUG_ASSERT -DDEBUG_MEM -c dns.c
dns.c: In function `display_dcc_dnswait':
dns.c:67: warning: long int format, time_t arg (arg 3)

tcl.c: In function `readtclprog':
tcl.c:740: warning: assignment discards qualifiers from pointer target type

tclmisc.c: In function `tcl_unixtime':
tclmisc.c:381: warning: long int format, time_t arg (arg 4)
tclmisc.c:381: warning: long int format, time_t arg (arg 4)

userent.c: In function `del_entry_type':
userent.c:1141: warning: dereferencing type-punned pointer will break strict-aliasing rules

ON LINKING:

In file included from .././channels.mod/channels.c:55:
..././channels.mod/userchan.c: In function `write_bans':
..././channels.mod/userchan.c:1081: warning: long unsigned int format, time_t arg (arg 8)
..././channels.mod/userchan.c:1108: warning: long unsigned int format, time_t arg (arg 8)
..././channels.mod/userchan.c: In function `write_exempts':
..././channels.mod/userchan.c:1141: warning: long unsigned int format, time_t arg (arg 9)
..././channels.mod/userchan.c:1168: warning: long unsigned int format, time_t arg (arg 9)
..././channels.mod/userchan.c: In function `write_invites':
..././channels.mod/userchan.c:1201: warning: long unsigned int format, time_t arg (arg 8)
..././channels.mod/userchan.c:1228: warning: long unsigned int format, time_t arg (arg 8)

..././notes.mod/notes.c: In function `tcl_storenote':
..././notes.mod/notes.c:316: warning: long int format, int arg (arg 5)
..././notes.mod/notes.c: In function `msg_notes':
..././notes.mod/notes.c:816: warning: long int format, int arg (arg 5)

..././server.mod/server.c: In function `next_server':
..././server.mod/server.c:1050: warning: dereferencing type-punned pointer will break strict-aliasing rules


Information:
uname -m = i386
uname -r = 6.0-RELEASE
uname -s = FreeBSD
gcc (GCC) 3.4.4 [FreeBSD] 20050518
configure:9773: checking for Tcl version
configure:9785: result: 8.4
configure:9797: checking for Tcl patch level
configure:9809: result: 8.4.11

__________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam);   Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων  
http://mail.yahoo.gr 



More information about the Eggheads mailing list