Warning below while compiling mbed-os-example-wifi
[Warning] BufferedSerial.cpp@31,66: 'void mbed::SerialBase::attach(T*, void (T::*)(), mbed::SerialBase::IrqType) [with T = BufferedSerial]' is deprecated: The attach function does not support cv-qualifiers. Replaced by attach(callback(obj, method), type). [since mbed-os-5.1] [-Wdeprecated-declarations]
[Warning] BufferedSerial.cpp@156,73: 'void mbed::SerialBase::attach(T*, void (T::*)(), mbed::SerialBase::IrqType) [with T = BufferedSerial]' is deprecated: The attach function does not support cv-qualifiers. Replaced by attach(callback(obj, method), type). [since mbed-os-5.1] [-Wdeprecated-declarations]
Warning below while compiling mbed-os-example-wifi