I decided to switch to C99 mode and noticed that when I do eeprom.h code fails with all sorts of warnings.
Is the code for most of the header files incompatible with C99?
No, C99 should be fine. Make sure you are using GNU99 standards mode, as there are a few header items (such as PSTR) that takes advantage of GNU extensions.
Post your errors/warnings here and I'll see if I can give you solutions.
- Dean :twisted:
Make Atmel Studio better with my free extensions. Open source and feedback welcome!
Thanks dean :)
Changing from -std=c99 to -std=gnu99
seems to have fixed me up :)
Btw., that's completely fixed in the current version.
Please don't send me PMs, use email if you want to approach me personally.
© 2022 Microchip Technology Inc.