Hello,

I've an issue when compiling with FastLED lib, because it defines
__PROG_TYPES_COMPAT__ macro and pgmspace uses newer or older syntax for the
used avr-g++

As follows the error:
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__
/usr/local/avr/include/avr/pgmspace.h:   The typedef is only visible if the
macro __PROG_TYPES_COMPAT__

I just undefined the macro in FastLED but I think is useful.

Take care.

Reply via email to