Re: [PATCH v2] winsup/doc/faq-what.xml: FAQ 1.2 Windows versions supported

2020-09-21 Thread Jon Turney
On 18/09/2020 22:17, Ken Brown via Cygwin-patches wrote: Do you have to run something to regen the docs, FAQ.html, and push to the web site, or does it run periodically, so I can follow up to the OP and get feed back from the responder? No, sorry.  I don't know how/when that's done. I belie

[PATCH 2/3] Cygwin: avoid GCC 10 error with -Werror=narrowing

2020-09-21 Thread Jon Turney
../../../../src/winsup/cygwin/fhandler_console.cc: In member function 'const unsigned char* fhandler_console::write_normal(const unsigned char*, const unsigned char*)': ../../../../src/winsup/cygwin/fhandler_console.cc:2782:8: error: narrowing conversion of '-2' from 'int' to 'long unsigned int'

[PATCH 3/3] Cygwin: avoid GCC 10 error with -Werror=narrowing

2020-09-21 Thread Jon Turney
../../../../src/winsup/cygwin/pinfo.cc: In member function 'DWORD pinfo::status_exit(DWORD)': ../../../../src/winsup/cygwin/ntdll.h:21:68: error: narrowing conversion of '-536870295' from 'NTSTATUS' {aka 'int'} to 'unsigned int' [-Wnarrowing] ../../../../src/winsup/cygwin/pinfo.cc:136:10: note: i

[PATCH 0/3] Warning fixes for gcc 10.2

2020-09-21 Thread Jon Turney
Jon Turney (3): Cygwin: avoid GCC 10 error with -Werror=parentheses Cygwin: avoid GCC 10 error with -Werror=narrowing Cygwin: avoid GCC 10 error with -Werror=narrowing winsup/cygwin/fhandler_console.cc | 4 ++-- winsup/cygwin/fhandler_socket_inet.cc | 2 +- winsup/cygwin/ntdll.h

[PATCH 1/3] Cygwin: avoid GCC 10 error with -Werror=parentheses

2020-09-21 Thread Jon Turney
../../../../src/winsup/cygwin/fhandler_socket_inet.cc: In member function 'ssize_t fhandler_socket_wsock::send_internal(_WSAMSG*, int)': ../../../../src/winsup/cygwin/fhandler_socket_inet.cc:1381:69: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] --- winsu

Re: [PATCH v2] winsup/doc/faq-what.xml: FAQ 1.2 Windows versions supported

2020-09-21 Thread Ken Brown via Cygwin-patches
On 9/21/2020 3:22 PM, Jon Turney wrote: On 18/09/2020 22:17, Ken Brown via Cygwin-patches wrote: Do you have to run something to regen the docs, FAQ.html, and push to the web site, or does it run periodically, so I can follow up to the OP and get feed back from the responder? No, sorry.  I don

Re: [PATCH 0/3] Warning fixes for gcc 10.2

2020-09-21 Thread Ken Brown via Cygwin-patches
On 9/21/2020 3:25 PM, Jon Turney wrote: Jon Turney (3): Cygwin: avoid GCC 10 error with -Werror=parentheses Cygwin: avoid GCC 10 error with -Werror=narrowing Cygwin: avoid GCC 10 error with -Werror=narrowing winsup/cygwin/fhandler_console.cc | 4 ++-- winsup/cygwin/fhandler_socke