[Pkg-octave-devel] Bug#624960: Bug#624960: octave3.2: FTBFS: oct-alloc.h:33:28: error: expected ')' before 'item_sz'

Thomas Weber tweber at debian.org
Mon May 2 21:01:24 UTC 2011


On Mon, May 02, 2011 at 02:36:21PM +0200, Lucas Nussbaum wrote:
> Relevant part:
> > g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -O2 -g -pthread oct-alloc.cc -o pic/oct-alloc.o
> > In file included from oct-alloc.cc:30:0:
> > oct-alloc.h:33:28: error: expected ')' before 'item_sz'
> > oct-alloc.h:40:9: error: expected ';' at end of member declaration
> > oct-alloc.h:40:23: error: expected ')' before 'size'
> > oct-alloc.h:43:23: error: 'size_t' has not been declared
> > oct-alloc.h:58:3: error: 'size_t' does not name a type
> > oct-alloc.cc:33:26: error: 'void* octave_allocator::alloc' is not a static member of 'class octave_allocator'
> > oct-alloc.cc:33:26: error: 'size_t' was not declared in this scope
> > oct-alloc.cc:33:26: note: suggested alternative:
> > /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:155:26: note:   'std::size_t'
> > oct-alloc.cc:34:1: error: expected ',' or ';' before '{' token
> > make[3]: *** [pic/oct-alloc.o] Error 1

Sigh, I suspect GCC 4.6 at fault/work. Do you plan a rebuild with GCC
4.5, by chance?

	Thomas





More information about the Pkg-octave-devel mailing list