From:
[email protected]
Package: libbonobouimm1.3
Severity: normal
Tags: patch
When building 'libbonobouimm1.3' with gcc-3.4 I get the following error:
In file included from control.cc:3:
../../bonobomm/servers/control.h:74: error: using typedef-name `Gnome::Bonobo::Servers::Control::CppClassType' after `class'
make[5]: *** [control.lo] Error 1
make[5]: Leaving directory `/libbonobouimm1.3-1.3.7/bonobomm/servers'
With the attached patch 'libbonobouimm1.3' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/libbonobouimm1.3-1.3.7/bonobomm/servers/control.h ./bonobomm/servers/control.h
--- ../tmp-orig/libbonobouimm1.3-1.3.7/bonobomm/servers/control.h 2003-11-05 22:49:03.000000000 +0100
+++ ./bonobomm/servers/control.h 2004-08-14 10:21:17.128356929 +0200
@@ -71,13 +71,12 @@
typedef BonoboControlClass BaseClassType;
private:
- friend class CppClassType;
static CppClassType control_class_;
Control(const Control&);
Control& operator=(const Control&); // not implemented
-protected:
+public:
explicit Control(BonoboControl* castitem);
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)