1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-10 14:42:08 +03:00
Earle F. Philhower, III 82da5c76b9 Fix minor warning w/Ubuntu18.04 in host test build (#5829)
GCC reports the following warning about ignoring the return value of
write() (to the console/UART in this instance).

common/MockUART.cpp: In function ‘void uart_do_write_char(int, char)’:
common/MockUART.cpp:67:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
   write(uart_nr + 1, &c, 1);
   ~~~~~^~~~~~~~~~~~~~~~~~~~

Add a simple warning printout to STDERR which may not be the same as the
UART stream and could succeed.
2019-03-02 14:37:03 -03:00
..
2018-11-20 18:51:45 -02:00
2018-12-04 14:55:10 -03:00
2019-01-19 03:19:17 +01:00
2018-11-20 18:51:45 -02:00
2018-11-20 18:51:45 -02:00
2018-11-20 18:51:45 -02:00
2018-11-20 18:51:45 -02:00
2018-11-28 12:37:59 +01:00
2018-11-20 18:51:45 -02:00
2018-11-20 18:51:45 -02:00