panel compilation errors



trying to compile applet-lib.cc, I get these errors:

mico-c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.
-DGNOMELOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/X11R6/include -Wp,-MD,.deps/applet-lib.p -c
-fPIC -DPIC applet-lib.cc
In file included from applet-lib.cc:8:
gnome-panel.h:187: declaration of C function `unsigned char operator
<<=(class CORBA::Any &, class GNOME::Applet *)' conflicts with
gnome-panel.h:184: previous declaration `unsigned char operator
<<=(class CORBA::Any &, class GNOME::Panel *)' here
gnome-panel.h:188: declaration of C function `unsigned char operator
>>=(const class CORBA::Any &, class GNOME::Applet *&)' conflicts with
gnome-panel.h:185: previous declaration `unsigned char operator
>>=(const class CORBA::Any &, class GNOME::Panel *&)' here
applet-lib.cc:609: parse error at end of input
applet-lib.cc:609: confused by earlier errors, bailing out

I don't really see the problem, since these declarations seem fine to me
(they use different arg types):

CORBA::Boolean operator<<=( CORBA::Any &a, const GNOME::Panel_ptr obj );
CORBA::Boolean operator>>=( const CORBA::Any &a, GNOME::Panel_ptr &obj
);

CORBA::Boolean operator<<=( CORBA::Any &a, const GNOME::Applet_ptr obj
);
CORBA::Boolean operator>>=( const CORBA::Any &a, GNOME::Applet_ptr &obj
);

???

regards,
	jaKa

-- 
email: jaka.mocnik@kiss.uni-lj.si
w3:    http://www.kiss.uni-lj.si/~k4fe0026



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]