GNOME Bugzilla – Bug 386843
Warnings when compiling ggz
Last modified: 2012-01-31 23:28:51 UTC
chat.c: In function 'chat_display_server': chat.c:259: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:259: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:270: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:270: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:288: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:288: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:305: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:305: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:314: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:314: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c: In function 'chat_display_local': chat.c:342: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:342: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:348: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:348: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c:353: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:353: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c: In function 'chat_enter': chat.c:535: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:535: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness chat.c: In function 'chat_part': chat.c:573: warning: pointer targets in passing argument 2 of 'gtk_xtext_append_indent' differ in signedness chat.c:573: warning: pointer targets in passing argument 4 of 'gtk_xtext_append_indent' differ in signedness In file included from xtext.c:65: xtext.h:36:1: warning: "XTEXT_MARK_FG" redefined In file included from xtext.c:53: xtext-ggz.h:61:1: warning: this is the location of the previous definition In file included from xtext.c:65: xtext.h:37:1: warning: "XTEXT_MARK_BG" redefined In file included from xtext.c:53: xtext-ggz.h:62:1: warning: this is the location of the previous definition In file included from xtext.c:65: xtext.h:38:1: warning: "XTEXT_FG" redefined In file included from xtext.c:53: xtext-ggz.h:63:1: warning: this is the location of the previous definition In file included from xtext.c:65: xtext.h:39:1: warning: "XTEXT_BG" redefined In file included from xtext.c:53: xtext-ggz.h:64:1: warning: this is the location of the previous definition In file included from xtext.c:65: xtext.h:40:1: warning: "XTEXT_MARKER" redefined In file included from xtext.c:53: xtext-ggz.h:65:1: warning: this is the location of the previous definition xtext.c: In function 'backend_get_text_width': xtext.c:530: warning: pointer targets in passing argument 2 of 'pango_layout_set_text' differ in signedness xtext.c: In function 'backend_get_char_width': xtext.c:548: warning: pointer targets in passing argument 2 of 'pango_layout_set_text' differ in signedness xtext.c: In function 'gtk_xtext_get_word': xtext.c:1830: warning: pointer targets in return differ in signedness xtext.c: In function 'gtk_xtext_motion_notify': xtext.c:1946: warning: pointer targets in assignment differ in signedness xtext.c:1949: warning: pointer targets in passing argument 2 of 'xtext->urlcheck_function' differ in signedness xtext.c: In function 'gtk_xtext_button_release': xtext.c:2101: warning: pointer targets in assignment differ in signedness xtext.c: In function 'gtk_xtext_button_press': xtext.c:2125: warning: pointer targets in assignment differ in signedness xtext.c: In function 'gtk_xtext_selection_get_text': xtext.c:2272: warning: pointer targets in passing argument 1 of 'gtk_xtext_strip_color' differ in signedness xtext.c:2272: warning: pointer targets in assignment differ in signedness xtext.c: In function 'gtk_xtext_selection_get': xtext.c:2324: warning: pointer targets in assignment differ in signedness xtext.c: In function 'gtk_xtext_render_flush': xtext.c:2665: warning: pointer targets in passing argument 6 of 'backend_draw_text' differ in signedness xtext.c: In function 'shade_pixmap': xtext.c:3444: warning: pointer targets in passing argument 4 of 'XGetGeometry' differ in signedness xtext.c:3444: warning: pointer targets in passing argument 5 of 'XGetGeometry' differ in signedness xtext.c: In function 'gtk_xtext_save': xtext.c:4172: warning: pointer targets in assignment differ in signedness xtext.c: In function 'gtk_xtext_search': xtext.c:4632: warning: pointer targets in passing argument 1 of 'nocasestrstr' differ in signedness xtext.c:4632: warning: pointer targets in passing argument 2 of 'nocasestrstr' differ in signedness xtext.c:4632: warning: pointer targets in assignment differ in signedness xtext.c:4635: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xtext.c: In function 'gtk_xtext_append_entry': xtext.c:4743: warning: pointer targets in passing argument 4 of 'gtk_xtext_text_width' differ in signedness xtext.c: In function 'gtk_xtext_append_indent': xtext.c:4827: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xtext.c:4830: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xtext.c: In function 'gtk_xtext_append': xtext.c:4885: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xtext.c: At top level: xtext.c:2494: warning: 'gtk_xtext_conv_color' defined but not used xtext.c: In function 'gtk_xtext_render_flush': xtext.c:2605: warning: 'dest_y' may be used uninitialized in this function xtext.c:2605: warning: 'dest_x' may be used uninitialized in this function libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
This code comes directly from xchat. I have complained to them before, but they basically said they wouldn't do anything about it. (Rather annoying to me as I compile with -Werror by default.)
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 474635 ***
This bug is being reassigned to the "general" component so we can close the ggz bugzilla component. Apologies for the mass email!