Re: [gtkmm] Error in compliing gtkmm program using GCC 3.4.2



> Hi all,
>
> I got some troubles in compiling my gtkmm programs
> with gcc 3.4.2. For example, the error messages I got
> when compiled regexxer-0.7 are attached.
> I am using glibmm-2.4.4, gtkmm-2.4.5 and
> g++ (GCC) 3.4.2  (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1,
> pie-8.7.6.5).
[snip]
> filebuffer.cc:653:   instantiated from here
> /usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h:205:
> error: cannot convert `GtkTextMark*' to `GObject*' for
> argument `1' to `Glib::RefPtr<Glib::Object>
> Glib::wrap(GObject*, bool)'

Maybe some extra casts in the template in glibmm would help. Could you try
that?


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



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