[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Some Warnings on Windows
From: |
Holger |
Subject: |
[Bug-gnubg] Some Warnings on Windows |
Date: |
Thu, 02 Jan 2003 16:56:38 +0100 |
Hi,
There are quite some warnings during compilation:
gcc -fnative-struct -O3 -Wall -DHAVE_CONFIG_H
-DLOCALEDIR=\"/HB/MinGW/lib/locale\" -I. -I./lib
-IC:/HB/MinGW/lib/gtk+/include -IC:/HB/MinGW/lib/glib-2.0/include
-IC:/HB/MinGW/include/libxml2 -IC:/HB/MinGW/include/glib-2.0
-IC:/HB/MinGW/include/freetype2 -c -o gtkprefs.o gtkprefs.c
gtkprefs.c: In function `ChequerPrefs':
gtkprefs.c:255 & gtkprefs.c:267 & gtkprefs.c:280 & gtkprefs.c:293: warning:
passing arg 4 of `gtk_signal_connect_object' from incompatible pointer type
gtkprefs.c: In function `DicePrefs':
gtkprefs.c:362 & gtkprefs.c:387 & gtkprefs.c:403 & gtkprefs.c:427 &
gtkprefs.c:436: warning: passing arg 4 of `gtk_signal_connect_object' from
incompatible pointer type
gtkprefs.c: In function `CubePrefs':
gtkprefs.c:466: warning: passing arg 4 of `gtk_signal_connect_object' from
incompatible pointer type
gtkprefs.c: In function `BoardPage':
gtkprefs.c:516 & gtkprefs.c:529: warning: passing arg 4 of
`gtk_signal_connect_object' from incompatible pointer type
gtkprefs.c: In function `BorderPage':
gtkprefs.c:599 & gtkprefs.c:623 & gtkprefs.c:631 & gtkprefs.c:637: warning:
passing arg 4 of `gtk_signal_connect_object' from incompatible pointer type
It helps type casting the last argument in every call to (GtkObject*). A
diff is attached.
For the ones in show.c I don't have an idea right now:
gcc -fnative-struct -O3 -Wall -DHAVE_CONFIG_H
-DLOCALEDIR=\"/HB/MinGW/lib/locale\" -I. -I./lib
-IC:/HB/MinGW/lib/gtk+/include -IC:/HB/MinGW/lib/glib-2.0/include
-IC:/HB/MinGW/include/libxml2 -IC:/HB/MinGW/include/glib-2.0
-IC:/HB/MinGW/include/freetype2 -c -o show.o show.c
show.c: In function `show_movefilters':
show.c:182: warning: passing arg 1 of `equal_movefilters' from incompatible
pointer type
show.c:182: warning: passing arg 2 of `equal_movefilters' from incompatible
pointer type
show.c: In function `CommandShowAnalysis':
show.c:423: warning: passing arg 1 of `ShowMoveFilters' from incompatible
pointer type
show.c: In function `CommandShowEvaluation':
show.c:654: warning: passing arg 1 of `ShowMoveFilters' from incompatible
pointer type
show.c: In function `CommandShowPlayer':
show.c:758: warning: passing arg 1 of `ShowMoveFilters' from incompatible
pointer type
Regards,
Holger
gtkprefs.c.diff.gz
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnubg] Some Warnings on Windows,
Holger <=