A snippet from the output looks like this:
...
usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++locale.h:57: error: template
with C linkage
In file included from /usr/include/gcc/darwin/3.3/c++/iosfwd:48,
from /usr/include/gcc/darwin/3.3/c++/ios:44,
...
I can see why templates can't be used with C linkage. But I can't see that I've asked for it either.
Please help...
/Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm quite new to unit testing. I'm having problems installing cppunit on Mac.
this is what I do:
1:
./configure --bindir=/usr/bin --libexecdir=/usr/local/bin --datadir=/usr/share --sysconfdir=/etc --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --mandir=/usr/share/man
2:
make
3:
sudo make install
Everything seems to work ok to this point
I follow the instructions for the MoneyApp example, and create the configure.in and Makefile.am files.
4:
aclocal -I /usr/share/aclocal; autoconf; automake -a; ./configure
5:
make check
A snippet from the output looks like this:
...
usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++locale.h:57: error: template
with C linkage
In file included from /usr/include/gcc/darwin/3.3/c++/iosfwd:48,
from /usr/include/gcc/darwin/3.3/c++/ios:44,
...
I can see why templates can't be used with C linkage. But I can't see that I've asked for it either.
Please help...
/Mike