RE: [gtkmm] gtkmm-2.2.7 Compilation Blues



> From: Chris Goldsmith [mailto:gsmith isgs uiuc edu] 
>   Hello!
> 
>   I'm trying to compile gtk-2.2.7 on a Solaris 8 box using 
> gcc-3.3. I'm
> getting the following errors:
> 
> mkdir .libs
>  /usr/local/bin/g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" 
> -Dglibmm_COMPILATI
> ON -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 
> -DGDK_PIXBUF_DISABLE_DEPRECAT
> ED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib 
> -I../../pango -I../../pang
> o -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk 
> -I../../gtk -I/usr
> /local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 
> -I/usr/local/inclu
> de/glib-2.0 -I/usr/local/lib/glib-2.0/include -threads 
> -I/usr/local/include/glib
> -2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -MT 
> convert.lo -MD -MP -MF .
> deps/convert.Tpo -c convert.cc  -fPIC -DPIC -o .libs/convert.o
> In file included from ../../glib/glibmm/exception.h:25,
>                  from ../../glib/glibmm/error.h:28,
>                  from ../../glib/glibmm/convert.h:29,
>                  from convert.cc:3:
> ../../glib/glibmm/ustring.h:532: error: `template<class In, 
> class ValueType =
>    typename std::iterator_traits<_Iterator>::value_type> struct
>    Glib::ustring::SequenceToString' is private
> ../../glib/glibmm/ustring.h:548: error: within this context
> ../../glib/glibmm/ustring.h:532: error: `template<class In, 

It's probably the very annoying gcc 3.3 bug. Please check the archives for
more information, but I think this workaround should fix it for you (see the
end of that bug):
http://bugzilla.gnome.org/show_bug.cgi?id=93412

Murray Cumming
murrayc usa net
www.murrayc.com 



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