GNOME Bugzilla – Bug 129396
libpanelappletmm-1.3.1 does not compile with older gcc
Last modified: 2004-12-22 21:47:04 UTC
gcc-2.95.x does not have std::locale, so we get: g++ -DHAVE_CONFIG_H -I. -I../../../libpanelappletmm-1.3.1/examples/simple -I../../libpanelapplet -I../../../libpanelappletmm-1.3.1/libpanelapplet -DORBIT2=1 -pthread -I/usr/include/gtkmm-2.3 -I/usr/lib/gtkmm-2.3/include -I/usr/include/glibmm-2.3 -I/usr/lib/glibmm-2.3/include -I/usr/include/gdkmm-2.3 -I/usr/lib/gdkmm-2.3/include -I/usr/include/pangomm-1.3 -I/usr/include/atkmm-1.3 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomemm-2.6 -I/usr/lib/libgnomemm-2.6/include -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/panel-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libxml2 -g -O2 -c ../../../libpanelappletmm-1.3.1/examples/simple/main.cc ../../../libpanelappletmm-1.3.1/examples/simple/main.cc: In function `static void MyApplet::size_diag(BonoboUIComponent *, void *, const gchar *)': ../../../libpanelappletmm-1.3.1/examples/simple/main.cc:93: `::locale' undeclared (first use here) make: *** [main.o] Error 1 Fortunately, this seems restricted to the examples directory.
Not many people are using this compiler anymore, but patches are welcome.
We will not try to support gcc 2.9* for gtkmm 2.4, but we will happily apply patches that anyone provides. Please reopen this bug if you have a patch that fixes this for you.