Re: realtimebattle ICE
On Fri, Mar 08, 2002 at 11:55:20AM +0000, Phil Blundell wrote:
> On Fri, 2002-03-08 at 11:31, Colin Watson wrote:
> > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../intl -O2 -c ArenaBase.cc
> > ArenaBase.cc: In method `void ArenaBase::interrupt_tournament()':
> > ArenaBase.cc:158: Internal compiler error:
> > ArenaBase.cc:158: Internal compiler error in `float_signal', at toplev.c:2421
> > Please submit a full bug report.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> > make: *** [ArenaBase.o] Error 1
> This particular ICE seems to be fixed in GCC 3.0. Unfortunately, the
> package has other build errors with that compiler, probably due to
> libstdc++-v3 issues.
> ArenaRealTime.cc: In member function `void
> ArenaRealTime::set_filenames(String&, const String&, const String&,
> const String&)':
> ArenaRealTime.cc:113: no matching function for call to
> `std::basic_ofstream<char, std::char_traits<char> >::attach(int)'
Yes, libstdc++-v3 no longer supports attaching an ordinary ofstream to
an fd, it seems - you've got to do something hideously convoluted like
subclass streambuf yourself. I've been looking at a similar problem in
kdepim recently, but I've been having some problems getting it working
with both g++ 2.95 and g++ 3.0.
Would anyone object to me filing a bug to have the binary removed for
Colin Watson [firstname.lastname@example.org]