Discussion:
[ekg-users] Ekg trunk(r2850) duża ilość ostrzeżeń z gcc
Marcin Mirosław
2011-10-30 20:17:32 UTC
Permalink
Cze??!
Gcc ( version 4.5.3 (Gentoo Hardened 4.5.3-r1 p1.0, pie-0.4.5),
glibc-2.13-r4, ncurses-5.9, libgadu-r1203) wy?wietla wi?cej linijek
warning?w ni? jest plik?w do kompilacji. Gdyby kto?, kiedy? mia?
umiej?tno?ci, ch?ci i czas to podrzucam temat. O to log z kompilacji,
ograniczony do miejsc z ostrze?eniami:
i686-pc-linux-gnu-gcc -I.. -I. -I./.. -Wall -I/usr/include/readline
-DWITH_IOCTLD -DIOCTLD_PATH=\"/usr/libexec/ioctld\" -DDATADIR=\"/us
r/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o events.o events.c
events.c: In function ?print_message?:
events.c:150:3: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:155:4: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:177:3: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:292:9: warning: pointer targets in passing argument 5 of
?last_add? differ in signedness
log.h:43:6: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:338:2: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:338:2: warning: pointer targets in passing argument 1 of
?xstrdup? differ in signedness
xmalloc.h:34:7: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c: In function ?handle_msg?:
events.c:530:3: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:541:4: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:541:4: warning: pointer targets in passing argument 1 of
?strlcpy? differ in signedness
../compat/strlcpy.h:3:8: note: expected ?char *? but argument is of type
?unsigned char *?
events.c:621:2: warning: pointer targets in passing argument 1 of
?strncmp? differ in signedness
/usr/include/string.h:146:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:666:3: warning: pointer targets in passing argument 3 of
?event_check? differ in signedness
stuff.h:449:5: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:680:5: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c: In function ?handle_common?:
events.c:968:9: warning: pointer targets in assignment differ in signedness
events.c:993:9: warning: pointer targets in assignment differ in signedness
events.c:1001:5: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:1013:2: warning: pointer targets in passing argument 2 of
?strcmp? differ in signedness
/usr/include/string.h:143:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:1044:4: warning: pointer targets in passing argument 1 of
?strcmp? differ in signedness
/usr/include/string.h:143:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:1045:5: warning: pointer targets in passing argument 3 of
?event_check? differ in signedness
stuff.h:449:5: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:1049:6: warning: pointer targets in passing argument 3 of
?event_check? differ in signedness
stuff.h:449:5: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:1051:6: warning: pointer targets in passing argument 3 of
?event_check? differ in signedness
stuff.h:449:5: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:1127:4: warning: pointer targets in passing argument 1 of
?xstrdup? differ in signedness
xmalloc.h:34:7: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:1159:12: warning: pointer targets in assignment differ in
signedness
events.c: In function ?handle_userlist?:
events.c:2150:5: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c: In function ?handle_dcc?:
events.c:2450:6: warning: pointer targets in passing argument 1 of
?iso_to_cp? differ in signedness
stuff.h:456:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c:2490:4: warning: pointer targets in passing argument 1 of
?xstrdup? differ in signedness
xmalloc.h:34:7: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:2491:4: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c: In function ?handle_search50?:
events.c:2944:3: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c:2945:3: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c:2946:3: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c:2947:3: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c: In function ?handle_image_reply?:
events.c:3084:10: warning: pointer targets in assignment differ in
signedness
events.c:3089:10: warning: pointer targets in assignment differ in
signedness
events.c:3091:5: warning: pointer targets in passing argument 1 of
?xstrdup? differ in signedness
xmalloc.h:34:7: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:3091:10: warning: pointer targets in assignment differ in
signedness
events.c:3105:4: warning: pointer targets in passing argument 1 of
?open? differ in signedness
/usr/include/fcntl.h:133:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:3113:5: warning: pointer targets in passing argument 1 of
?unlink? differ in signedness
/usr/include/unistd.h:845:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:3118:5: warning: pointer targets in passing argument 1 of
?unlink? differ in signedness
/usr/include/unistd.h:845:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:3126:5: warning: pointer targets in passing argument 1 of
?unlink? differ in signedness
/usr/include/unistd.h:845:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:3133:5: warning: pointer targets in passing argument 1 of
?unlink? differ in signedness
/usr/include/unistd.h:845:12: note: expected ?const char *? but argument
is of type ?unsigned char *?
events.c:3141:4: warning: pointer targets in passing argument 3 of
?event_check? differ in signedness
stuff.h:449:5: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:3197:4: warning: pointer targets in passing argument 1 of
?iso_to_cp? differ in signedness
stuff.h:456:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c: In function ?handle_dcc7_new?:
events.c:3242:4: warning: pointer targets in passing argument 1 of
?xstrdup? differ in signedness
xmalloc.h:34:7: note: expected ?const char *? but argument is of type
?unsigned char *?
events.c:3243:4: warning: pointer targets in passing argument 1 of
?cp_to_iso? differ in signedness
stuff.h:454:6: note: expected ?unsigned char *? but argument is of type
?char *?
events.c:3244:4: warning: pointer targets in passing argument 1 of
?fix_filename? differ in signedness
events.c:2229:13: note: expected ?unsigned char *? but argument is of
type ?char *?
i686-pc-linux-gnu-gcc -I.. -I. -I./.. -Wall -I/usr/include/readline
-DWITH_IOCTLD -DIOCTLD_PATH=\"/usr/libexec/ioctld\"
-DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o themes.o themes.c
commands.c: In function ?command_exec_format?:
commands.c:4842:2: warning: ?gg_vsaprintf? is deprecated (declared at
/usr/include/libgadu.h:1486)
[...]
i686-pc-linux-gnu-gcc -I.. -I. -I./.. -Wall -I/usr/include/readline
-DWITH_IOCTLD -DIOCTLD_PATH=\"/usr/libexec/ioctld\"
-DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o mail.o mail.c
ekg.c: In function ?debug_handler?:
ekg.c:1032:2: warning: ?gg_vsaprintf? is deprecated (declared at
/usr/include/libgadu.h:1486)
[...]
i686-pc-linux-gnu-gcc -I.. -I. -I./.. -Wall -I/usr/include/readline
-DWITH_IOCTLD -DIOCTLD_PATH=\"/usr/libexec/ioctld\"
-DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o ui-readline.o
ui-readline.c
ui-readline.c: In function ?ui_readline_event?:
ui-readline.c:1050:17: warning: pointer targets in initialization differ
in signedness
[...]
i686-pc-linux-gnu-gcc -I.. -I. -I./.. -Wall -I/usr/include/readline
-DWITH_IOCTLD -DIOCTLD_PATH=\"/usr/libexec/ioctld\"
-DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" ioctld.c -o ioctld
-lssl -lcrypto -lgmp -ldl -lz -lgadu -lncurses -lreadline -lgif
-ljpeg -lz -laspell ../compat/strlcat.o ../compat/strlcpy.o
ui-ncurses.c: In function ?ui_ncurses_loop?:
ui-ncurses.c:4877:6: warning: pointer targets in passing argument 1 of
?spellcheck? differ in signedness
ui-ncurses.c:4681:13: note: expected ?const char *? but argument is of
type ?unsigned char *?
ui-ncurses.c:4879:33: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
/usr/include/string.h:399:15: note: expected ?const char *? but argument
is of type ?unsigned char *?

Dzi?ki i pozdrawiam.

Kontynuuj czytanie narkive:
Loading...