> Curious, if you replace that by a cast to uint16_t (which then gets
> assigned to a uint8_t register), will it still complain?

     EEARL =  (uint16_t)__p;
and
    EEARL = (uint8_t) (uint16_t)__p;

both work without error.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to