dynamic_message_introspection
dynamic_message_introspection copied to clipboard
Fix compilation errors with Clang
Some of these should have been errors with GCC as well, such as attempting to 'extern C' C++ code that is not valid C.
The other issue was related to an ambiguous '->operator[]', where GCC correctly took it to mean "dereference the pointer and call operator[] on the dereferenced object", while Clang apparently took it to mean "call operator[] on this pointer".