Don't trigger a GCC poison pragma in avr-lib 1.8.0

Bug #1066575 reported by Craig Leres
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Arduino
New
Undecided
Unassigned

Bug Description

There are pragmas in several avr-libc 1.8.0 includes (avr/iom128.h, avr/iom162.h, avr/iomxx0_1.h, and avr/iomxx4.h) that poison SIG_USART1_RECV:

    #pragma GCC poison SIG_USART1_RECV

This means the SIG_USART1_RECV reference in HardwareSerial.cpp causes a compile error.

The attached patch removes the "#elif ... #error" code from the module.

Revision history for this message
Craig Leres (leres) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.