[Pkg-octave-devel] Bug#624960: Bug#624960: octave3.2: FTBFS: oct-alloc.h:33:28: error: expected ')' before 'item_sz'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Mon May 2 21:05:04 UTC 2011
On 02/05/11 at 23:01 +0200, Thomas Weber wrote:
> 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?
No, sorry. GCC 4.6 is now the default in unstable.
L.
More information about the Pkg-octave-devel
mailing list