--- Stephen Cameron <smcameron(a)yahoo.com> wrote:
So, I'm trying to build Smack, which needs Om, which needs libgnomecanvasmm,
which my os (Fedora Core 3) doesn't seem to have, so I found it here:
http://sunsite.mff.cuni.cz/MIRRORS/ftp.gnome.org/pub/GNOME/sources/libgnome…
And when I try to build it, I get this:
[...]
../../libgnomecanvas/libgnomecanvasmm/line.h:374:
error: extra qualification ignored
../../libgnomecanvas/libgnomecanvasmm/line.h:375: error: explicit specialization of
non-template
`Glib::<anonymous class>'
../../libgnomecanvas/libgnomecanvasmm/line.h:375: error: an anonymous union cannot have
function
members
../../libgnomecanvas/libgnomecanvasmm/line.h:378: error: abstract declarator
`Glib::<anonymous
[...]
Oh, yeah, I found this:
http://bugzilla.gnome.org/show_bug.cgi?id=141545
http://mail.gnome.org/archives/gtkmm-list/2004-May/msg00007.html
Which says:
ibgnomecanvasmm/libgnomecanvasmm/property.{h,cc}:
GNOMEMM_PROPERTY macro is failed to compile when T is a template class.
#define GNOMEMM_PROPERTY(N,N2,T) \
class N : public Property<T> \
{ \
public: \
N(const T& v); \
};
It is fixed by replacing 'Property<T>' by 'Property<T >'.
------------
But, making that change did not help for me.
-- steve
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com