As I said, it might be in conjunction with this
You can also try
#praga SPARK_NO_PREPROCESSOR
#include <Particle.h>
and add function prototype for your functions in the main project file.
Maybe this is also something @jvanier wants to chime in on in connection with the possible impact of his bug-fix.