XCode and CppUnit template TestCaller<>
XCode and CppUnit template TestCaller<>
- Subject: XCode and CppUnit template TestCaller<>
- From: Christopher Corbell <email@hidden>
- Date: Wed, 12 Nov 2003 15:15:38 -0800
Has anyone had any luck using CppUnit 1.8.0 with XCode,
and can you mention if there are any particular language
settings needed? I get compile errors using TestCaller<> template
instantiation to add fixtures to a suite - the compiler says
it can't find the right constructor, and hilites a private
constructor in the header that's nowhere close - I'm
using the standard (string, function) public constructor, e.g.
pSuite->AddTest( new CppUnit::TestCaller<aClass>("atest", aTest) );
The CppUnit distro builds fine from command-line gcc3.
From XCode I tried both using the config-make-install .a
library with headers in /usr/local/include, and just using
config'd sources directly in an XCode project, with the same
result - the problem seems to be in the parsing of the template?
Thanks for any help,
Christopher
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.