I have a big C library (C++ compilable) that i try to use as a JUCE Module.
(It is my fork of Pure Data).
There is a function called “class_addMethod” in it.
It compiles fine but the JUCE application crash.
My function is called instead of the Objective-C’s one here in juce_osx_ObjCHelpers.h.
I put all my C code inside its own namespace.
But it does nothing. Crash again.
Notice that renaming my function is a solution.
Is there a better way to avoid such (silent ) name collisions (instead of renaming everything )?