Missing header guards
BrentWilkins opened this issue · 3 comments
BrentWilkins commented
Missing header guards
nseidle commented
Hey Brent - can you tell me more? What are header guards?
BrentWilkins commented
Quickly, they prevent a header from being included more than once causing symbol redefinitions. You can find more info here: https://en.wikipedia.org/wiki/Include_guard It appears that many of your headers are missing them. I first noticed it due to this pull request to fix another one: sparkfun/SparkFun_MPL3115A2_Breakout_Arduino_Library#1
nseidle commented
Got it. Should be fixed in next push.