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

2020-09-29 Thread Brian Inglis
After pulling the error fixes, rm **/config.cache, and re-making, I got some
funny results while rebuilding cygwin32 only.
Some previously built object files were no longer recognized as such, and halted
the build; even file showed them as generic "data".
This persisted even after rm **/config.cache, plus those object files not
showing as "Intel 80386 COFF object file", and redoing ./configure && make.
Only after doing "make distclean", rm **/config.cache, ./configure && make, did
the build complete normally.
Any ideas what the issue might have been, and best practices for rebuilding
cygwin after tool updates?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]


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

2020-09-27 Thread Brian Inglis
On 2020-09-21 16:39, Ken Brown via Cygwin-patches wrote:
> 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_socket_inet.cc | 2 +-
>>   winsup/cygwin/ntdll.h | 2 +-
>>   winsup/cygwin/pseudo-reloc.cc | 2 --
>>   4 files changed, 4 insertions(+), 6 deletions(-)
> 
> LGTM.
> 
> Ken

Same or better than what I came up with, before I came on here to post, and saw
you had already dealt with those! ++PUSH

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]


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_socket_inet.cc | 2 +-
  winsup/cygwin/ntdll.h | 2 +-
  winsup/cygwin/pseudo-reloc.cc | 2 --
  4 files changed, 4 insertions(+), 6 deletions(-)


LGTM.

Ken


[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 | 2 +-
 winsup/cygwin/pseudo-reloc.cc | 2 --
 4 files changed, 4 insertions(+), 6 deletions(-)

-- 
2.28.0