dynamic_message_introspection icon indicating copy to clipboard operation
dynamic_message_introspection copied to clipboard

Fix compilation errors with Clang

Open JacobCrabill opened this issue 4 months ago • 0 comments

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".

JacobCrabill avatar Jul 17 '25 15:07 JacobCrabill