joakimkarlsson / igloo

A framework for unit testing in C++
Boost Software License 1.0
153 stars 32 forks source link

FIX: Compilation error 'base class undefined' #18

Closed nelabidi closed 9 years ago

nelabidi commented 9 years ago

if 'using namespace igloo' is not used in the test file, the compiler issue a compilation error 'base class undefined' adding the namespace 'igloo' to the registration macros fix this issue

joakimkarlsson commented 9 years ago

Thanks!

We also seem to have a similar issue in Snowhouse that prevents us from using the AssertThat macro without importing the snowhouse namespace.

joakimkarlsson commented 9 years ago

This was fixed in snowhouse v2.1.0. Updated igloo to use that version.

Thanks to @simon-bourne for the fix!

nelabidi commented 9 years ago

Thanks! for merging and updating snowhouse. I found some redundant include directives needs to be removed, but I don't see it critical.