This patch series tries to fix all the warnings (which are treated as errors) when building Cygwin with GCC 8.3. I'm not confident that I've chosen the best way to fix each warning. All I can say is that the build now succeeds.
Ken Brown (5): Cygwin: avoid GCC 8.3 errors with -Werror=class-memaccess Cygwin: avoid GCC 8.3 errors with -Werror=stringop-truncation Cygwin: suppress GCC 8.3 errors with -Warray-bounds Cygwin: fix GCC 8.3 'asm volatile' errors Cygwin: fix GCC 8.3 'local external declaration errors' winsup/cygserver/bsd_mutex.cc | 5 ++--- winsup/cygwin/environ.cc | 2 +- winsup/cygwin/flock.cc | 2 +- winsup/cygwin/include/sys/utmp.h | 6 +++--- winsup/cygwin/miscfuncs.cc | 4 ++-- winsup/cygwin/path.cc | 4 ++-- winsup/cygwin/path.h | 2 +- winsup/cygwin/pinfo.cc | 4 ++-- winsup/cygwin/uname.cc | 2 +- winsup/utils/dumper.cc | 2 ++ 10 files changed, 17 insertions(+), 16 deletions(-) -- 2.21.0