erikdoe/ocmock — pull request #151 by JRG-Developer (2014-10-24 07:13:15+00:00)
Title: Change remaining uses of typeof to __typeof__

@erikdoe

This pull request changes the remaining uses of `typeof` to `__typeof__` to allow compatibility with all C, Objective-C++, etc files in addition to Objective-C files.

`__typeof__` is simply an alternate keyword for `typeof`. This change should be very safe. See this link for an explanation on why this is needed:

https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords

I'm also requesting that the pod spec's patch version be bumped; the repo tagged; and pushed to trunk.

This change will allow several teams across our company to adopt the `OCMock 3` syntax, and we very much would appreciate its inclusion.

Thanks again for the great work on OCMock, Erik!

- Joshua