Skip to content

Use of TimeLib.h with this library demonstrates strange month calculation from TimeLib functions #150

Answered by Makuna
Makuna asked this question in Q&A
Discussion options

You must be logged in to vote

I am using Arduino IDE. I have found in the past that flags that are passed to the compiler have changed and that cause unintentional effects and BUGs. AVR for some reason has these issues popup every few years and I don't know why. I suspect they are looking for optimizations since it's truly an 8 bit processor with tight memory, and they don't use a wide enough test suit to catch this stuff.

My investigation was to see if I could find a root cause and understand why my library can cause any effect on another as it could popup elsewhere. But my library is pretty straight forward and the only thing is a PROGMEM array (pretty standard AVR). The timelib does do some funky things to override…

Replies: 1 comment 8 replies

Comment options

Makuna
Jan 17, 2023
Maintainer Author

You must be logged in to vote
8 replies
@Makuna
Comment options

Makuna Jan 18, 2023
Maintainer Author

@Makuna
Comment options

Makuna Jan 18, 2023
Maintainer Author

@parallyze
Comment options

@Makuna
Comment options

Makuna Jan 19, 2023
Maintainer Author

Answer selected by Makuna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants