Re: [gtkmm] gcc-3.3 and gtkmm-2.2.1



Paul Davis <paul linuxaudiosystems com> writes:

> >It appears GCC 3.3 doesn't like the specialisation:
> >
> >  $ g++ -o test test.c++ -Wall
> >  test.c++:3: error: `template<class T> struct X::Y' is private
> >  test.c++:7: error: within this context
> 
> did you consider declaring class X as struct X?

Ehrm, what do you mean by that statement? If class X is declared as a
struct, obviously the problem won't be there anymore (and it isn't
there if a public: is placed in front of it either). But that doesn't
solve the problem with gtkmm and orbitcpp.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



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