Hi,
I have a very annoying problem that keeps reappearing. At some point I need to include the teensyduino headers, sometimes just to have NULL available. That also brings up macros like B1 (what's that anyway?) or min and max (which have an STL equivalent). These are processed by the preprocessor and usually get in the way of code that uses the same names in e.g. templates, totally messing up the code.
What's your strategy to circumvent this? I have not yet found a safe recipe.
Regards
Christoph
I have a very annoying problem that keeps reappearing. At some point I need to include the teensyduino headers, sometimes just to have NULL available. That also brings up macros like B1 (what's that anyway?) or min and max (which have an STL equivalent). These are processed by the preprocessor and usually get in the way of code that uses the same names in e.g. templates, totally messing up the code.
What's your strategy to circumvent this? I have not yet found a safe recipe.
Regards
Christoph