g++ compile failure
Hi everyone!
I'm trying to compile the source added below, which works on many other
systems (32 Bit SuSE and Debian, 64Bit SuSE) but not with debian-amd64.
My current compiler says the following, but the problem has been present in
amd64-pure64 repository since I started using debian-amd64 many month ago.
g++ -v
Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.6/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
--disable-multilib x86_64-linux
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-3)
g++ main.cpp -c -o main.o
# compiler works with 97% CPU Load and 96MB virtual memory
# but does not stop compiling
The piece of code I'm trying to compile is:
//// code
#include "boost/spirit/core.hpp"
using namespace boost::spirit;
char * begin;
char * end;
void test()
{
unsigned int ui;
parse_info<> info = boost::spirit::parse( begin, end, uint_p[assign(ui)],
space_p );
}
//// end code
Remark: That code does not make any sense but is the smallest subset of code I
could extract that produces the failure on my system.
Any hints about what goes wrong here?
Mario
Reply to: