panel compilation errors
- From: Jaka Mocnik <jaka mocnik kiss uni-lj si>
- To: "gnome-list gnome org" <gnome-list gnome org>
- Subject: panel compilation errors
- Date: Mon, 08 Jun 1998 08:54:01 +0200
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]