Skip to content

wiring_constants.h define of true/false causing trouble #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thinkyhead opened this issue May 12, 2018 · 1 comment
Closed

wiring_constants.h define of true/false causing trouble #50

thinkyhead opened this issue May 12, 2018 · 1 comment

Comments

@thinkyhead
Copy link

The wiring_constants.h file defines true as 0x1 and false as 0x0 and this conflicts with the definition in stdbool.h included by Arduino.h (and others). The compiler bails when it hits this issue, causing builds to fail. For example…

How can this possibly be avoided or fixed?

@thinkyhead
Copy link
Author

Seems to be something else. These aren't the primary cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant