Don't trigger a GCC poison pragma in avr-lib 1.8.0
Bug #1066575 reported by
Craig Leres
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.
To post a comment you must log in.