Code: Select all
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../libgnuworld -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT libgnuworldcore_la-Channel.lo -MD -MP -MF .deps/libgnuworldcore_la-Channel.Tpo -c -o libgnuworldcore_la-Channel.lo `test -f 'Channel.cc' || echo './'`Channel.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../libgnuworld -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT libgnuworldcore_la-Channel.lo -MD -MP -MF .deps/libgnuworldcore_la-Channel.Tpo -c Channel.cc -fPIC -DPIC -o .libs/libgnuworldcore_la-Channel.o
In file included from Channel.cc:33:0:
../include/Network.h:772:26: error: ISO C++ forbids declaration of ‘type name’ with no type
../include/Network.h:772:43: error: template argument 1 is invalid
../include/Network.h:772:43: error: template argument 2 is invalid
../include/Network.h:780:26: error: ISO C++ forbids declaration of ‘type name’ with no type
../include/Network.h:780:43: error: template argument 1 is invalid
../include/Network.h:780:43: error: template argument 2 is invalid
make[1]: *** [libgnuworldcore_la-Channel.lo] Error 1
make[1]: Leaving directory `/home/gnuworld/gnuworld-e2d462d/src'
make: *** [all-recursive] Error 1
Code: Select all
[gnuworld@roshi gnuworld-e2d462d]$ gcc --version
gcc (GCC) 4.5.1
Any ideas?
Thanks