You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble compiling Catch with objective-c(++) on OS X 10.6.
Error: catch.hpp: In function 'size_t Catch::registerTestMethods()': catch.hpp:6186: error: invalid use of incomplete type 'struct Catch::TestCaseInfo' catch.hpp:176: error: forward declaration of 'struct Catch::TestCaseInfo'
I'm having trouble compiling Catch with objective-c(++) on OS X 10.6.
Error:
catch.hpp: In function 'size_t Catch::registerTestMethods()': catch.hpp:6186: error: invalid use of incomplete type 'struct Catch::TestCaseInfo' catch.hpp:176: error: forward declaration of 'struct Catch::TestCaseInfo'
Minimal example:
Compiled with gcc 4.2.1:
gcc -o test main.mm -m32 -framework Foundation -lobjc
Thanks,
Jurnell
The text was updated successfully, but these errors were encountered: