| 1 | | |
| | 1 | This likely won't work on gcc2. Tried: |
| | 2 | {{{ |
| | 3 | libtoolize --force --copy |
| | 4 | aclocal |
| | 5 | automake |
| | 6 | autoconf |
| | 7 | ./configure --prefix=/boot/common |
| | 8 | make |
| | 9 | }}} |
| | 10 | Then it fails |
| | 11 | {{{ |
| | 12 | ~/cpptest-1.1.0> make |
| | 13 | Making all in src |
| | 14 | make[1]: Entering directory `/boot/home/cpptest-1.1.0/src' |
| | 15 | source='collectoroutput.cpp' object='collectoroutput.lo' libtool=yes \ |
| | 16 | DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \ |
| | 17 | /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../config -g -O2 -c -o collectoroutput.lo collectoroutput.cpp |
| | 18 | libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -g -O2 -c collectoroutput.cpp -Wp,-MD,.deps/collectoroutput.TPlo -DPIC -o .libs/collectoroutput.o |
| | 19 | /boot/home/cpptest-1.1.0/src/cpptest-output.h: In method `void Test::Output::finished(int, const Test::Time &)': |
| | 20 | In file included from /boot/home/cpptest-1.1.0/src/cpptest-collectoroutput.h:36, |
| | 21 | from /boot/home/cpptest-1.1.0/src/collectoroutput.cpp:33: |
| | 22 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:79: invalid use of undefined type `const class Test::Time' |
| | 23 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:43: forward declaration of `const class Test::Time' |
| | 24 | /boot/home/cpptest-1.1.0/src/cpptest-output.h: In method `void Test::Output::suite_end(int, const string &, const Test::Time &)': |
| | 25 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:104: invalid use of undefined type `const class Test::Time' |
| | 26 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:43: forward declaration of `const class Test::Time' |
| | 27 | /boot/home/cpptest-1.1.0/src/cpptest-output.h: In method `void Test::Output::test_end(const string &, bool, const Test::Time &)': |
| | 28 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:128: invalid use of undefined type `const class Test::Time' |
| | 29 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:43: forward declaration of `const class Test::Time' |
| | 30 | /boot/home/cpptest-1.1.0/src/cpptest-output.h: In method `void Test::Output::assertment(const Test::Source &)': |
| | 31 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:137: invalid use of undefined type `const class Test::Source' |
| | 32 | /boot/home/cpptest-1.1.0/src/cpptest-output.h:42: forward declaration of `const class Test::Source' |
| | 33 | make[1]: *** [collectoroutput.lo] Error 1 |
| | 34 | make[1]: Leaving directory `/boot/home/cpptest-1.1.0/src' |
| | 35 | make: *** [all-recursive] Error 1 |
| | 36 | ~/cpptest-1.1.0> |
| | 37 | }}} |