Lots of warnings from deprecated headers, including last error below: In file included from /usr/include/g++-v31/backward/algo.h:59, from ../Tag.hh:27, from ../GladeTag.hh:22, from ../Widget.hh:24, from WriterBase.hh:28, from widget.hh:22, from misc.hh:20, from image.cc:21: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. image.cc: In member function `void Gtk_Image::EmbedImage(CxxFile&, const std::string&) const': image.cc:171: `ifstream' undeclared (first use this function) image.cc:171: (Each undeclared identifier is reported only once for each function it appears in.) image.cc:171: parse error before `(' token image.cc:172: `is' undeclared (first use this function) make[3]: *** [image.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b/src/writers' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b make: *** [all] Error 2 By the way, glade-1.1.1 and libgnomemm-1.3.4 emerge just fine
This problem was resolved in cvs after the 1.1.1b release. I have generated and tested a patch against image.cc, which resulted in a successful build. If someone could fixup the ebuild with appropriate guards for gcc versions earlier than 3.1, that would be great.
Created attachment 3452 [details, diff] glademm-1.1.1b-gcc3.diff A patch to image.cc which resolves the c++ errors returned by gcc versions >= 3.1.
Well instead of the patch i've version bumped the package to 1.1.1c, which solves the compile problems for me. Test please. By the looks of the description on the homepage the 1.1 tree can generate code for both gtk1 and gtk2. This would mean we could ditch the 0.6.x tree. Can anyone confirm or deny this.
supposedly, but that will require the updated libstdc++, and then we need to fix all libstdc++ dependencies.
anyway, this is fixed imo. closing.