Re: [PATCH] Cygwin: fix build with GCC 7

2018-04-17 Thread Corinna Vinschen
On Apr 17 10:54, Yaakov Selkowitz wrote: > GCC 7 is able to see straight through this trick, so use a more formal > method to avoid the warning. > > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/random.cc | 14 +- > 1 file changed, 5 insertions(+), 9

[PATCH] Cygwin: fix build with GCC 7

2018-04-17 Thread Yaakov Selkowitz
GCC 7 is able to see straight through this trick, so use a more formal method to avoid the warning. Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/random.cc | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/winsup/cygwin/random.cc