Symbols in the firmware clashing with libraries

Just a head’s up - spark_utilities.h defines INT, DOUBLE BOOLEAN in an enum - it’s quite likely these will clash with third party libraries. Libraries often define INT so they can have a known integer size that doesn’t change with platform.

I had a clash, but was lucky! :sunny: The library defined INT but never used it! So I just commented out the definition, and I’m good. But this might be something to put in the backlog to address at some point since it’s quite likely the clash will happen again as more libraries are ported.

3 Likes