-
Notifications
You must be signed in to change notification settings - Fork 328
Description
The 1634, 828, and x41 chips give warnings about int-to-pointer cast. I do not know how to make these warnings go away without changing the progmem byte arrays to ints, and thus wasting flash space.
I have not been able to find a compiler flag to turn off the warnings. Some posts discussing this confidently asserted that there was no such flag, and spoke of the thing it was warning about in such terms as if I wished to shake hands with Satan himself, and you should never disable the warning because there's no legitimate reason to do it (clearly said by people who don't write code that has to fit in 1024 instruction words).
However, other posts I have read imply that there's an easy work around that nobody bothered talking about because it's so obvious. I have no idea, and consider this a low priority as it does not impact compilation.