Follow-up Comment #1, bug #45151 (project avr-libc): If _SFR_ASM_COMPAT is defined, you can't use any of the macros/ functions from power.h. Now __power_all_enable/disable are modified as inline function, so those functions are expanded where power.h is included and caused these errors.
Possible solution maybe to include power.h conditionally (if not _SFR_ASM_COMPAT) _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?45151> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev