Re: [PATCH v2] fpu/softfloat: Silent 'bitwise negation of a boolean expression' warning

2020-05-28 Thread Philippe Mathieu-Daudé
On 5/28/20 3:37 PM, Eric Blake wrote: > On 5/28/20 4:00 AM, Philippe Mathieu-Daudé wrote: >> On 5/28/20 10:57 AM, Thomas Huth wrote: >>> On 28/05/2020 10.48, Philippe Mathieu-Daudé wrote: When building with clang version 10.0.0-4ubuntu1, we get: > > In the subject, I'd suggest

Re: [PATCH v2] fpu/softfloat: Silent 'bitwise negation of a boolean expression' warning

2020-05-28 Thread Eric Blake
On 5/28/20 4:00 AM, Philippe Mathieu-Daudé wrote: On 5/28/20 10:57 AM, Thomas Huth wrote: On 28/05/2020 10.48, Philippe Mathieu-Daudé wrote: When building with clang version 10.0.0-4ubuntu1, we get: In the subject, I'd suggest s/Silent/Silence/ CC lm32-softmmu/fpu/softfloat.o

Re: [PATCH v2] fpu/softfloat: Silent 'bitwise negation of a boolean expression' warning

2020-05-28 Thread Philippe Mathieu-Daudé
On 5/28/20 10:57 AM, Thomas Huth wrote: > On 28/05/2020 10.48, Philippe Mathieu-Daudé wrote: >> When building with clang version 10.0.0-4ubuntu1, we get: >> >> CC lm32-softmmu/fpu/softfloat.o >> fpu/softfloat.c:3365:13: error: bitwise negation of a boolean expression; >> did you mean

Re: [PATCH v2] fpu/softfloat: Silent 'bitwise negation of a boolean expression' warning

2020-05-28 Thread Thomas Huth
On 28/05/2020 10.48, Philippe Mathieu-Daudé wrote: > When building with clang version 10.0.0-4ubuntu1, we get: > > CC lm32-softmmu/fpu/softfloat.o > fpu/softfloat.c:3365:13: error: bitwise negation of a boolean expression; > did you mean logical negation? [-Werror,-Wbool-operation] >

[PATCH v2] fpu/softfloat: Silent 'bitwise negation of a boolean expression' warning

2020-05-28 Thread Philippe Mathieu-Daudé
When building with clang version 10.0.0-4ubuntu1, we get: CC lm32-softmmu/fpu/softfloat.o fpu/softfloat.c:3365:13: error: bitwise negation of a boolean expression; did you mean logical negation? [-Werror,-Wbool-operation] absZ &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) &