[Nautilus-list] More compile problems on solaris
- From: Ben FrantzDale <bfrantzdale hmc edu>
- To: nautilus-list lists eazel com
- Subject: [Nautilus-list] More compile problems on solaris
- Date: 09 Jul 2001 10:55:56 -0700
I'm having more fun compiling CVS nautilus on solaris.
I got a parse error that I fixed. The code in question had a CVS
conflict, apparently from someone's fix to my previous compile problem:
In cut-n-paste-code/widgits/e-paned/e-paned.c starting at line 352:
<<<<<<< e-paned.c
gtk_widget_intersect (paned->child1, &event->area,
&child_event.area))
gtk_widget_event (paned->child1, (GdkEvent *) &child_event);
=======
gtk_widget_intersect (paned->child1, &event->area,
&child_event.expose.area))
gtk_widget_event (paned->child1, &child_event);
>>>>>>> 1.3
Commenting out the code before the "=======" lets it continue. (Someone
should probably fix that in CVS.)
Further on I get this:
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cut-n-paste-code
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2
-I/usr/local/lib/glib/include -I/usr/local/X11R6.4//include
-I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/local/X11R6.4//include -Wall
-Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -Werror -g -O2
-Wp,-MD,.deps/gtkwrapbox.pp -c gtkwrapbox.c -fPIC -DPIC -o
gtkwrapbox.lo
cc1: warnings being treated as errors
gtkwrapbox.c: In function `gtk_wrap_box_expose':
gtkwrapbox.c:783: warning: cast increases required alignment of target
type
make[4]: *** [gtkwrapbox.lo] Error 1
make[4]: Leaving directory
`/mnt/proj/ben/req6229-gnome1.4/nautilus/cut-n-paste-code/widgets/gimphwrapbox'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/proj/ben/req6229-gnome1.4/nautilus/cut-n-paste-code/widgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/proj/ben/req6229-gnome1.4/nautilus/cut-n-paste-code'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/proj/ben/req6229-gnome1.4/nautilus'
make: *** [all-recursive-am] Error 2
I'm not sure what to do here. Line 782 and 783 of gtkwrapbox.c look like
this:
gtk_widget_intersect (child->widget, &event->area,
&child_event.area))
gtk_widget_event (child->widget, (GdkEvent*) &child_event);
I tried this:
gtk_widget_intersect (child->widget, &event->area,
&child_event.area))
gtk_widget_event (child->widget, &child_event);
But that didn't work.
Thanks,
Ben
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]