After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 129396 - libpanelappletmm-1.3.1 does not compile with older gcc
libpanelappletmm-1.3.1 does not compile with older gcc
Status: RESOLVED NOTABUG
Product: gnomemm
Classification: Deprecated
Component: build
2.4
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-12-15 19:36 UTC by Mike Castle
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Castle 2003-12-15 19:36:14 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.
Comment 1 Murray Cumming 2003-12-19 15:24:29 UTC
Not many people are using this compiler anymore, but patches are welcome.
Comment 2 Murray Cumming 2004-01-12 12:22:50 UTC
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.