jsmn
jsmn copied to clipboard
Mixing objects compiled with and without JSMN_PARENT_LINKS should be a compile-time error
Currently, inconsistent #define
s for JSMN_PARENT_LINKS between when jsmn was compiled and when the client code is compiled can cause a seg fault, and it is not possible to mix jsmn built with and without JSMN_PARENT_LINKS in the same executable. It would be nice to give a link-time error, and even better to allow both versions of jsmn to be mixed.
Thanks, that solved a bug in my project. This should be a note in the documentation!