Hmm, I can't see a way around that other than #undef:ing Igloo's Context.
If you check registration.h, Context/Spec and TestFixture/TestMethod
are all aliases for properly name-decorated macros.
We've been considering "externalising" the macros further, so you
explicitly have to choose which syntax you want (by including
different headers), add your own or just use the raw
IGLOO_xxx_REGISTRATION macros.
- Kim
Thanks!
We'll talk through the issue of the word "Context", which I can
imagine is more pervasive in other frameworks than any of the others,
and see if we can come up with another term, as well as some mechanism
for protecting us from this kind of problem.
Cheers,
- Kim
I believe we need to rethink our naming strategy, and use names that
minimizes the risk of collisions.
Any ideas?
/Joakim
Thanks for the feedback, Rex!
I've pushed a change where igloo.h has been split up into igloo.h and
igloo_framework.h.
igloo_framework.h includes everything except the registration macro
aliases, and igloo.h includes igloo_framework.h plus the aliases.
That way, we give users the opportunity to include the core igloo
framework and then use a custom alias scheme if needed.
It would be nice if we could come up with a naming scheme that doesn't
cause collisions and still is concise and readable.
/Joakim