Tim, Darrell,
kima has an unusual build error:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I../src/cpufreqd -I../src/sources -I/opt/trinity/include -I/opt/tqt3/include
-I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kima.moc.lo
-MD -MP -MF .deps/kima.moc.Tpo -c -o kima.moc.lo kima.moc.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/cpufreqd
-I../src/sources -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-DQT_THREAD_SUPPORT -D_REENTRANT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kima.moc.lo
-MD -MP -MF .deps/kima.moc.Tpo -c kima.moc.cpp -fPIC -DPIC -o .libs/kima.moc.o
In file included from kima.moc.cpp:9:0:
./kima.h:177:24: error: 'list' in namespace 'std' does not name a type
./kima.h:177:29: error: ISO C++ forbids declaration of 'parameter' with no type
[-fpermissive]
./kima.h:177:33: error: expected ',' or '...' before '<' token
I am picking around with it, but if anyone understands the 'list' for forward
declaration errors, let me know. I know the forward declaration means I need to
move the declaration around in the header, but the 'list' has me a bit confused.
The line complained about is:
177 void addSources(const std::list<Source*>& inList);
How should it be re-written to get around the 3rd error?
177 void addSources(const std::list,<Source*>& inList);
or
177 void addSources(const std::list...<Source*>& inList);
Templates and I have not made friends yet :(
--
David C. Rankin, J.D.,P.E.
Show replies by date
kima has an unusual build error:
Last night I built kima against gcc 4.7.1. That was 32-bit. I hope to run a 64-bit build
tonight. I let you know about that when I awaken. :-)
Darrell
kima has an
unusual build error:
Last night I built kima against gcc 4.7.1. That was 32-bit.
I hope to run a 64-bit build tonight. I let you know about
that when I awaken. :-)
David,
kima built on 64-bit with gcc 4.7.1.
Darrell