Compiling glademm-2.0.0 with gcc-3.3.1-r3 fails with the following error. The problem is that <cassert> is not included by any of the source files that use "assert" - I suspect gcc-3.3.1 has stopped indirectly including it through one of the other headers. Anyway, the least invasive fix is to use CXX="g++ -include cassert" on the build - the real fix is to get it sorted upstream :-) Work around: CXX="g++ -include cassert" emerge glademm [...] if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -mcpu=i686 -pipe -MT SystemFile.o -MD -MP -MF ".deps/SystemFile.Tpo" \ -c -o SystemFile.o `test -f 'SystemFile.cc' || echo './'`SystemFile.cc; \ then mv -f ".deps/SystemFile.Tpo" ".deps/SystemFile.Po"; \ else rm -f ".deps/SystemFile.Tpo"; exit 1; \ fi In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/backward/strstream:51, from SystemFile.hh:24, from CxxFile.hh:28, from CxxFile.cc:24: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/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. In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/backward/strstream:51, from SystemFile.hh:24, from SystemFile.cc:21: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/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. CxxFile.cc: In member function `CxxFile& CxxFile::EndLine(bool)': CxxFile.cc:107: error: `assert' undeclared (first use this function) CxxFile.cc:107: error: (Each undeclared identifier is reported only once for each function it appears in.) CxxFile.cc: In member function `CxxFile_Context CxxFile::Visibility()': CxxFile.cc:610: error: `assert' undeclared (first use this function) CxxFile.cc: In member function `CxxFile& CxxFile::Visibility(CxxFile_Context)': CxxFile.cc:620: error: `assert' undeclared (first use this function)
Created attachment 18362 [details, diff] proposed glademm-2.0.0-gcc-3.3 patch This patch contains gcc-3.3 fixes that have already made their way into the glademm cvs tree. ( http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&dir=glade-- ) With the patch glademm compiles fine using either gcc-3.2.3 or gcc-3.3.1
Any Gnome folks mind if the patch provided in Comment #2 is applied to close this bug? This falls into our field, and unless there are any objections from the Gnome Team, I'll add the patch to the glademm ebuild in a couple of days.
patch looks fine to me, apply as you see fit.
Resolving as FIXED as the patch is now in CVS.