GNOME Bugzilla – Bug 433856
Fails to build with GCC 4.3
Last modified: 2007-04-30 15:21:35 UTC
[ Context: Martin Milchmayr is currently testing compilation of the whole Debian system with GCC 4.3. This bug was initially reported as http://bugs.debian.org/421229 ] There are some new failures in the new upstream version you uploaded [this is 4.1.1]. In fact, dasher does something really evil. WordLanguageModel.cpp fails to build because it uses atoi without including cstdlib. However, when I added the #include we started failing in an even worse way. I found out that essentially (through local includes, in the end of AlphIO.h) dasher does: namespace expat { #include <cstdlib> } #include <cstdlib> and this horribly fails. I "fixed" this by including cstdlib in AlphIO.h and ColourIO.h before the horrible namespace'd #include.
Created attachment 87141 [details] [review] include cstdlib before the namespace'd #include
Hopefully now fixed in SVN.