jitspoe wrote:JDolan: So Objectively doesn't work with the Visual Studio compiler?
I don't believe it will, no. I'm using a couple relatively modest GNU C extension (but extensions nonetheless):
1. The default macro for method invocation is named `$`, e.g. `$(myArray, addObject, obj);` Use of that symbol name is a GNU C extension.
2. That macro relies on GNU C's variadic argument macro support (i.e. `## __VA_ARGS`).
3. It also relies on GNU C's `typeof` storage type.
Here's the macro in question:
https://github.com/jdolan/Objectively/b ... ass.h#L187
4. I'm also using GCC's atomic integer operations for mutex / only-once operations:
https://github.com/jdolan/Objectively/b ... ely/Once.h
It stinks to have to use extensions, but without them, I don't think I could have given Objectively actual OO semantics. GCC and Clang are both widely supported, and immensely popular, so it seemed like an acceptable compromise.