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 141584 - doesn't compile on gcc 3.4
doesn't compile on gcc 3.4
Status: RESOLVED FIXED
Product: gnomemm
Classification: Deprecated
Component: libgnomecanvasmm
2.6
Other Linux
: High normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-05-01 17:20 UTC by Cristian Adam
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cristian Adam 2004-05-01 17:20:19 UTC
This are the errors generated by the compiler: 

 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libgnomecanvasmm\" -I../../libgnomecanvas
-I../../libgnomecanv as -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm -2.4/include
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4
-I/usr /include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -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/freetype2/config
-I/usr/include/atk-1 .0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -g -O2 -MT line.lo -MD -MP -MF
.deps/ line.Tpo -c line.cc  -fPIC -DPIC -o .libs/line.o
In file included from line.cc:3:
../../libgnomecanvas/libgnomecanvasmm/line.h:374: error: extra qualification ignored
../../libgnomecanvas/libgnomecanvasmm/line.h:375: error: explicit specialization
of non-template `Gl ib::<anonymous class>'
../../libgnomecanvas/libgnomecanvasmm/line.h:375: error: an anonymous union
cannot have function mem bers
../../libgnomecanvas/libgnomecanvasmm/line.h:378: error: abstract declarator
`Glib::<anonymous class >' used as declaration
../../libgnomecanvas/libgnomecanvasmm/line.h:378: error: namespace-scope
anonymous aggregates must b e static
Comment 1 Murray Cumming 2004-05-02 10:52:51 UTC
This was fixed by the patch in bug #141545.