1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-01 03:26:58 +03:00

Fix GCC 9.1 warnings (except Ticker.h, gdbstub) (#6298)

Cleans up all warnings seen w/GCC 9.1 to allow it to track the main
branch more easily until 3.x.

Does not include Ticker.h "fix" of pragmas around a function cast we're
doing that GCC9 doesn't like, that will be addressed separately and
maybe only in the 3.0 branch.

Does not include GDB hook fix, either, because the pragmas required
to disable the GCC9.1 warnings don't exist in 4.8 at all.
This commit is contained in:
Earle F. Philhower, III
2019-07-14 21:22:49 -07:00
committed by GitHub
parent c18b402c31
commit 52f8c62b81
11 changed files with 16 additions and 11 deletions

View File

@ -402,7 +402,7 @@ struct _reent
char *_asctime_buf;
/* signal info */
void (**(_sig_func))(int);
void (**_sig_func)(int);
# ifndef _REENT_GLOBAL_ATEXIT
/* atexit stuff */