From: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
To: musl@lists.openwall.com
Subject: build with clang-3.4 warnings report
Date: Fri, 04 Apr 2014 21:59:22 +0200 [thread overview]
Message-ID: <533F0F1A.6040707@embtoolkit.org> (raw)
Hello list,
Please find bellow warning generating while bluiding musl git 91d5aa06572d with clang.
Sorry this is a raw console output it may contain duplicates
Thanks,
awg
checking target system type... mips
checking whether compiler accepts -std=c99... yes
checking whether compiler accepts -nostdinc... yes
checking whether compiler accepts -ffreestanding... yes
checking whether compiler accepts -fexcess-precision=standard... no
checking whether compiler accepts -frounding-math... yes
checking whether compiler needs attribute((may_alias)) suppression... no
checking whether compiler accepts -fno-tree-loop-distribute-patterns... no
checking for optimization settings... using provided CFLAGS
checking whether compiler accepts -pipe... yes
checking whether compiler accepts -fno-unwind-tables... yes
checking whether compiler accepts -fno-asynchronous-unwind-tables... yes
checking whether compiler accepts -Wa,--noexecstack... yes
checking whether compiler accepts -Werror=implicit-function-declaration... yes
checking whether compiler accepts -Werror=implicit-int... yes
checking whether compiler accepts -Werror=pointer-sign... yes
checking whether compiler accepts -Werror=pointer-arith... yes
checking whether compiler accepts -fno-stack-protector... yes
checking whether linker accepts -Wl,--hash-style=both... no
checking whether linker accepts -Wl,-Bsymbolic-functions... yes
checking whether linker accepts -lgcc... yes
checking whether linker accepts -lgcc_eh... no
using compiler runtime libraries: -lgcc
checking preprocessor condition _MIPSEL || __MIPSEL || __MIPSEL__... true
checking preprocessor condition __mips_soft_float... false
configured for mips variant: mipsel
checking whether compiler's long double definition matches float.h... yes
creating config.mak... done
src/aio/aio_readwrite.c:20:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.__si_fields.__sigchld.si_pid = __pthread_self()->pid,
~^~~~~~~~~
src/aio/aio_readwrite.c:18:20: note: previous initialization is here
.__si_fields.__rt.si_sigval = sev->sigev_value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/aio/lio_listio.c:47:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.__si_fields.__sigchld.si_pid = __pthread_self()->pid,
~^~~~~~~~~
src/aio/lio_listio.c:45:20: note: previous initialization is here
.__si_fields.__rt.si_sigval = sev->sigev_value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/ctype/towctrans.c:239:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else return wc + 0x2d00 - 0x10a0;
^
src/ctype/towctrans.c:242:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else return wc + 0x10a0 - 0x2d00;
^
2 warnings generated.
In file included from src/errno/strerror.c:7:
src/errno/__strerror.h:100:1: warning: implicit conversion from 'int' to 'unsigned char' changes value from 1133 to 109 [-Wconstant-conversion]
1133,
^~~~
1 warning generated.
src/internal/shgetc.c:16:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~
src/internal/shgetc.c:16:15: note: place parentheses around the '&&' expression to silence this warning
if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
^
( )
1 warning generated.
In file included from src/ipc/semtimedop.c:2:
In file included from ./include/sys/sem.h:28:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
src/locale/iconv.c:142:13: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return s[e]+0U<<24 | s[e^1]<<16 | s[e^2]<<8 | s[e^3];
~~~~^~~~~
src/locale/iconv.c:142:13: note: place parentheses around the '+' expression to silence this warning
return s[e]+0U<<24 | s[e^1]<<16 | s[e^2]<<8 | s[e^3];
^
( )
src/locale/iconv.c:323:7: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
+c%256}, &(size_t){4},
^~~~~~
src/locale/iconv.c:323:7: note: use array indexing to silence this warning
+c%256}, &(size_t){4},
^
src/locale/iconv.c:343:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (c >= 93 || c>=0xc6-0x81 && d>0x52)
~~ ~~~~~~~~~~~~~^~~~~~~~~
src/locale/iconv.c:343:33: note: place parentheses around the '&&' expression to silence this warning
if (c >= 93 || c>=0xc6-0x81 && d>0x52)
^
( )
src/locale/iconv.c:370:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
map[c*5/4+1]<<8-2*c%8 & 1023 ];
~~~^~~~~~
src/locale/iconv.c:370:20: note: place parentheses around the '-' expression to silence this warning
map[c*5/4+1]<<8-2*c%8 & 1023 ];
^
( )
src/locale/iconv.c:370:27: warning: '&' within '|' [-Wbitwise-op-parentheses]
map[c*5/4+1]<<8-2*c%8 & 1023 ];
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/locale/iconv.c:370:27: note: place parentheses around the '&' expression to silence this warning
map[c*5/4+1]<<8-2*c%8 & 1023 ];
^
( )
src/locale/iconv.c:405:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
~~~^~~~~~
src/locale/iconv.c:405:23: note: place parentheses around the '-' expression to silence this warning
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
^
( )
src/locale/iconv.c:405:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/locale/iconv.c:405:30: note: place parentheses around the '&' expression to silence this warning
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
^
( )
7 warnings generated.
src/malloc/malloc.c:130:52: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return ((union { float v; uint32_t r; }){(int)x}.r+0x1fffff>>21) - 496;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
src/malloc/malloc.c:130:52: note: place parentheses around the '+' expression to silence this warning
return ((union { float v; uint32_t r; }){(int)x}.r+0x1fffff>>21) - 496;
^
( )
1 warning generated.
src/malloc/memalign.c:48:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)mem)[-1] = header&7 | new-mem;
~~~~~~^~ ~
src/malloc/memalign.c:48:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)mem)[-1] = header&7 | new-mem;
^
( )
src/malloc/memalign.c:49:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)new)[-2] = footer&7 | new-mem;
~~~~~~^~ ~
src/malloc/memalign.c:49:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)new)[-2] = footer&7 | new-mem;
^
( )
src/malloc/memalign.c:50:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)new)[-1] = header&7 | end-new;
~~~~~~^~ ~
src/malloc/memalign.c:50:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)new)[-1] = header&7 | end-new;
^
( )
src/malloc/memalign.c:51:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)end)[-2] = footer&7 | end-new;
~~~~~~^~ ~
src/malloc/memalign.c:51:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)end)[-2] = footer&7 | end-new;
^
( )
4 warnings generated.
src/math/fma.c:334:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/fma.c:276:22: warning: ^ has lower precedence than !=; != will be evaluated first [-Wparentheses]
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
~~~~~~~~~~~~~~~^
src/math/fma.c:276:22: note: place parentheses around the '!=' expression to silence this warning
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
^
( )
src/math/fma.c:276:22: note: place parentheses around the ^ expression to evaluate it first
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
^
( )
1 warning generated.
src/math/fmaf.c:41:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/ilogb.c:6:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/ilogbf.c:6:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
In file included from src/math/j0f.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/j1f.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/jnf.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/lgammal.c:89:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
src/math/lrint.c:31:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/nearbyint.c:9:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/nearbyintf.c:7:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
In file included from src/math/sincos.c:14:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/sincosf.c:18:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/sincosl.c:2:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
src/misc/syslog.c:95:36: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
~~~^~~~~
src/misc/syslog.c:95:36: note: use array indexing to silence this warning
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
^
& [ ]
src/misc/syslog.c:95:51: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
~~~^~~~~
src/misc/syslog.c:95:51: note: use array indexing to silence this warning
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
^
& [ ]
2 warnings generated.
src/network/__dns.c:138:13: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
q[0] = id+i >> 8;
~~^~ ~~
src/network/__dns.c:138:13: note: place parentheses around the '+' expression to silence this warning
q[0] = id+i >> 8;
^
( )
1 warning generated.
src/network/dn_skipname.c:10:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else break;
^
1 warning generated.
In file included from src/network/htonl.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/htons.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/ntohl.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/ntohs.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
src/passwd/getgr_r.c:27:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (name && !strcmp(name, gr->gr_name)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/passwd/getgr_r.c:27:12: note: place parentheses around the '&&' expression to silence this warning
if (name && !strcmp(name, gr->gr_name)
^
( )
src/passwd/getgr_r.c:28:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !name && gr->gr_gid == gid) {
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~
src/passwd/getgr_r.c:28:12: note: place parentheses around the '&&' expression to silence this warning
|| !name && gr->gr_gid == gid) {
^
( )
2 warnings generated.
src/passwd/getpw_r.c:24:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (name && !strcmp(name, pw->pw_name)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/passwd/getpw_r.c:24:12: note: place parentheses around the '&&' expression to silence this warning
if (name && !strcmp(name, pw->pw_name)
^
( )
src/passwd/getpw_r.c:25:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !name && pw->pw_uid == uid) {
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~
src/passwd/getpw_r.c:25:12: note: place parentheses around the '&&' expression to silence this warning
|| !name && pw->pw_uid == uid) {
^
( )
2 warnings generated.
src/prng/__rand48_step.c:6:31: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
x = xi[0] | xi[1]<<16 | xi[2]+0ULL<<32;
~~~~~^~~~~~~
src/prng/__rand48_step.c:6:31: note: place parentheses around the '+' expression to silence this warning
x = xi[0] | xi[1]<<16 | xi[2]+0ULL<<32;
^
( )
src/prng/__rand48_step.c:7:31: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
a = lc[0] | lc[1]<<16 | lc[2]+0ULL<<32;
~~~~~^~~~~~~
src/prng/__rand48_step.c:7:31: note: place parentheses around the '+' expression to silence this warning
a = lc[0] | lc[1]<<16 | lc[2]+0ULL<<32;
^
( )
2 warnings generated.
src/regex/regcomp.c:2659:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if (((lit)->code_min == -4))
~~~~~~~~~~~~~~~~^~~~~
src/regex/regcomp.c:2659:24: note: remove extraneous parentheses around the comparison to silence this warning
if (((lit)->code_min == -4))
~ ^ ~
src/regex/regcomp.c:2659:24: note: use '=' to turn this equality comparison into an assignment
if (((lit)->code_min == -4))
^~
=
1 warning generated.
src/stdio/vfprintf.c:169:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
~~~~~^~~~
src/stdio/vfprintf.c:169:20: note: place parentheses around the '-' expression to silence this warning
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
^
( )
src/stdio/vfprintf.c:169:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
~~~~~^~~~
src/stdio/vfprintf.c:169:36: note: place parentheses around the '-' expression to silence this warning
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
^
( )
src/stdio/vfprintf.c:221:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<'+'-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:221:26: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<'+'-' ')) {
^
( )
src/stdio/vfprintf.c:223:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<' '-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:223:26: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<' '-' ')) {
^
( )
src/stdio/vfprintf.c:230:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, 3+pl, fl&~(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:230:36: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, 3+pl, fl&~(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:233:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, 3+pl, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:233:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, 3+pl, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:273:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (s-buf==1 && (y||p>0||(fl&(1U<<'#'-' ')))) *s++='.';
~~~~~^~~~
src/stdio/vfprintf.c:273:41: note: place parentheses around the '-' expression to silence this warning
if (s-buf==1 && (y||p>0||(fl&(1U<<'#'-' ')))) *s++='.';
^
( )
src/stdio/vfprintf.c:283:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:283:35: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:287:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:287:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:377:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'#'-' '))) {
~~~~~^~~~
src/stdio/vfprintf.c:377:20: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'#'-' '))) {
^
( )
src/stdio/vfprintf.c:387:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
l = 1 + p + (p || (fl&(1U<<'#'-' ')));
~~~~~^~~~
src/stdio/vfprintf.c:387:32: note: place parentheses around the '-' expression to silence this warning
l = 1 + p + (p || (fl&(1U<<'#'-' ')));
^
( )
src/stdio/vfprintf.c:400:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:400:34: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:410:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p || (fl&(1U<<'#'-' '))) out(f, ".", 1);
~~~~~^~~~
src/stdio/vfprintf.c:410:24: note: place parentheses around the '-' expression to silence this warning
if (p || (fl&(1U<<'#'-' '))) out(f, ".", 1);
^
( )
src/stdio/vfprintf.c:425:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p>0||(fl&(1U<<'#'-' '))) out(f, ".", 1);
~~~~~^~~~
src/stdio/vfprintf.c:425:26: note: place parentheses around the '-' expression to silence this warning
if (p>0||(fl&(1U<<'#'-' '))) out(f, ".", 1);
^
( )
src/stdio/vfprintf.c:434:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:434:34: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:489:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:47: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:61: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:75: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:89: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:89: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:103: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:103: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:118: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~~^~~~
src/stdio/vfprintf.c:489:118: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:132: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~^~~~
src/stdio/vfprintf.c:489:132: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:490:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= 1U<<*s-' ';
~~~~^~~~
src/stdio/vfprintf.c:490:16: note: place parentheses around the '-' expression to silence this warning
fl |= 1U<<*s-' ';
^
( )
src/stdio/vfprintf.c:503:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (w<0) fl|=(1U<<'-'-' '), w=-w;
~~~~~^~~~
src/stdio/vfprintf.c:503:25: note: place parentheses around the '-' expression to silence this warning
if (w<0) fl|=(1U<<'-'-' '), w=-w;
^
( )
src/stdio/vfprintf.c:550:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:550:20: note: place parentheses around the '-' expression to silence this warning
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:550:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:550:42: note: place parentheses around the '-' expression to silence this warning
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:567:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= (1U<<'#'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:567:18: note: place parentheses around the '-' expression to silence this warning
fl |= (1U<<'#'-' ');
^
( )
src/stdio/vfprintf.c:570:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (arg.i && (fl & (1U<<'#'-' '))) prefix+=(t>>4), pl=2;
~~~~~^~~~
src/stdio/vfprintf.c:570:31: note: place parentheses around the '-' expression to silence this warning
if (arg.i && (fl & (1U<<'#'-' '))) prefix+=(t>>4), pl=2;
^
( )
src/stdio/vfprintf.c:574:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'#'-' ')) && arg.i) prefix+=5, pl=1;
~~~~~^~~~
src/stdio/vfprintf.c:574:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'#'-' ')) && arg.i) prefix+=5, pl=1;
^
( )
src/stdio/vfprintf.c:580:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<'+'-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:580:28: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<'+'-' ')) {
^
( )
src/stdio/vfprintf.c:582:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<' '-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:582:28: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<' '-' ')) {
^
( )
src/stdio/vfprintf.c:588:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p>=0) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:588:29: note: place parentheses around the '-' expression to silence this warning
if (p>=0) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:597:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:597:19: note: place parentheses around the '-' expression to silence this warning
fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:606:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:606:19: note: place parentheses around the '-' expression to silence this warning
fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:622:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, p, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:622:33: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, p, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:636:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+p, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:636:35: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+p, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:639:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+p, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:639:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+p, fl^(1U<<'-'-' '));
^
( )
37 warnings generated.
src/stdio/vfwprintf.c:212:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:47: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:61: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:75: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:89: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:89: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:103: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:103: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:118: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~~^~~~
src/stdio/vfwprintf.c:212:118: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:132: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~^~~~
src/stdio/vfwprintf.c:212:132: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:213:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= 1U<<*s-' ';
~~~~^~~~
src/stdio/vfwprintf.c:213:16: note: place parentheses around the '-' expression to silence this warning
fl |= 1U<<*s-' ';
^
( )
src/stdio/vfwprintf.c:226:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (w<0) fl|=(1U<<'-'-' '), w=-w;
~~~~~^~~~
src/stdio/vfwprintf.c:226:25: note: place parentheses around the '-' expression to silence this warning
if (w<0) fl|=(1U<<'-'-' '), w=-w;
^
( )
src/stdio/vfwprintf.c:291:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:291:21: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:293:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:293:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:303:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:303:21: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:310:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:310:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:316:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"#"+!(fl & (1U<<'#'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:316:23: note: place parentheses around the '-' expression to silence this warning
"#"+!(fl & (1U<<'#'-' ')),
^
( )
src/stdio/vfwprintf.c:316:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"#"+!(fl & (1U<<'#'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:316:7: note: use array indexing to silence this warning
"#"+!(fl & (1U<<'#'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:317:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"+"+!(fl & (1U<<'+'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:317:23: note: place parentheses around the '-' expression to silence this warning
"+"+!(fl & (1U<<'+'-' ')),
^
( )
src/stdio/vfwprintf.c:317:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"+"+!(fl & (1U<<'+'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:317:7: note: use array indexing to silence this warning
"+"+!(fl & (1U<<'+'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:318:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"-"+!(fl & (1U<<'-'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:318:23: note: place parentheses around the '-' expression to silence this warning
"-"+!(fl & (1U<<'-'-' ')),
^
( )
src/stdio/vfwprintf.c:318:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"-"+!(fl & (1U<<'-'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:318:7: note: use array indexing to silence this warning
"-"+!(fl & (1U<<'-'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:319:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
" "+!(fl & (1U<<' '-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:319:23: note: place parentheses around the '-' expression to silence this warning
" "+!(fl & (1U<<' '-' ')),
^
( )
src/stdio/vfwprintf.c:319:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
" "+!(fl & (1U<<' '-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:319:7: note: use array indexing to silence this warning
" "+!(fl & (1U<<' '-' ')),
^
& [ ]
src/stdio/vfwprintf.c:320:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"0"+!(fl & (1U<<'0'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:320:23: note: place parentheses around the '-' expression to silence this warning
"0"+!(fl & (1U<<'0'-' ')),
^
( )
src/stdio/vfwprintf.c:320:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"0"+!(fl & (1U<<'0'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:320:7: note: use array indexing to silence this warning
"0"+!(fl & (1U<<'0'-' ')),
^
& [ ]
23 warnings generated.
src/thread/cancel_impl.c:49:44: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (self->cancelasync || ip >= __cp_begin && ip < __cp_end) {
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
src/thread/cancel_impl.c:49:44: note: place parentheses around the '&&' expression to silence this warning
if (self->cancelasync || ip >= __cp_begin && ip < __cp_end) {
^
( )
1 warning generated.
src/time/localtime_r.c:9:9: warning: comparison of constant -67908586910515200 with expression of type 'const time_t' (aka 'const long') is always false [-Wtautological-constant-out-of-range-compare]
if (*t < (-1-0x7fffffff) * 31622400LL || *t > 0x7fffffff * 31622400LL) {
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/time/localtime_r.c:9:46: warning: comparison of constant 67908586878892800 with expression of type 'const time_t' (aka 'const long') is always false [-Wtautological-constant-out-of-range-compare]
if (*t < (-1-0x7fffffff) * 31622400LL || *t > 0x7fffffff * 31622400LL) {
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
src/aio/aio_readwrite.c:20:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.__si_fields.__sigchld.si_pid = __pthread_self()->pid,
~^~~~~~~~~
src/aio/aio_readwrite.c:18:20: note: previous initialization is here
.__si_fields.__rt.si_sigval = sev->sigev_value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/aio/lio_listio.c:47:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.__si_fields.__sigchld.si_pid = __pthread_self()->pid,
~^~~~~~~~~
src/aio/lio_listio.c:45:20: note: previous initialization is here
.__si_fields.__rt.si_sigval = sev->sigev_value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/ctype/towctrans.c:239:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else return wc + 0x2d00 - 0x10a0;
^
src/ctype/towctrans.c:242:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else return wc + 0x10a0 - 0x2d00;
^
2 warnings generated.
In file included from src/errno/strerror.c:7:
src/errno/__strerror.h:100:1: warning: implicit conversion from 'int' to 'unsigned char' changes value from 1133 to 109 [-Wconstant-conversion]
1133,
^~~~
1 warning generated.
src/internal/shgetc.c:16:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~
src/internal/shgetc.c:16:15: note: place parentheses around the '&&' expression to silence this warning
if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
^
( )
1 warning generated.
In file included from src/ipc/semtimedop.c:2:
In file included from ./include/sys/sem.h:28:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/ldso/dynlink.c:91:
In file included from ./arch/mips/reloc.h:3:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
In file included from src/ldso/dynlink.c:91:
./arch/mips/reloc.h:94:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
rel[1] = sym-this->syms << 8 | 127;
~~~^~~~~~~~~~~ ~~
./arch/mips/reloc.h:94:15: note: place parentheses around the '-' expression to silence this warning
rel[1] = sym-this->syms << 8 | 127;
^
( )
4 warnings generated.
src/locale/iconv.c:142:13: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return s[e]+0U<<24 | s[e^1]<<16 | s[e^2]<<8 | s[e^3];
~~~~^~~~~
src/locale/iconv.c:142:13: note: place parentheses around the '+' expression to silence this warning
return s[e]+0U<<24 | s[e^1]<<16 | s[e^2]<<8 | s[e^3];
^
( )
src/locale/iconv.c:323:7: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
+c%256}, &(size_t){4},
^~~~~~
src/locale/iconv.c:323:7: note: use array indexing to silence this warning
+c%256}, &(size_t){4},
^
src/locale/iconv.c:343:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (c >= 93 || c>=0xc6-0x81 && d>0x52)
~~ ~~~~~~~~~~~~~^~~~~~~~~
src/locale/iconv.c:343:33: note: place parentheses around the '&&' expression to silence this warning
if (c >= 93 || c>=0xc6-0x81 && d>0x52)
^
( )
src/locale/iconv.c:370:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
map[c*5/4+1]<<8-2*c%8 & 1023 ];
~~~^~~~~~
src/locale/iconv.c:370:20: note: place parentheses around the '-' expression to silence this warning
map[c*5/4+1]<<8-2*c%8 & 1023 ];
^
( )
src/locale/iconv.c:370:27: warning: '&' within '|' [-Wbitwise-op-parentheses]
map[c*5/4+1]<<8-2*c%8 & 1023 ];
~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/locale/iconv.c:370:27: note: place parentheses around the '&' expression to silence this warning
map[c*5/4+1]<<8-2*c%8 & 1023 ];
^
( )
src/locale/iconv.c:405:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
~~~^~~~~~
src/locale/iconv.c:405:23: note: place parentheses around the '-' expression to silence this warning
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
^
( )
src/locale/iconv.c:405:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/locale/iconv.c:405:30: note: place parentheses around the '&' expression to silence this warning
tomap[c*5/4+1]<<8-2*c%8 & 1023 ]) {
^
( )
7 warnings generated.
src/malloc/malloc.c:130:52: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return ((union { float v; uint32_t r; }){(int)x}.r+0x1fffff>>21) - 496;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
src/malloc/malloc.c:130:52: note: place parentheses around the '+' expression to silence this warning
return ((union { float v; uint32_t r; }){(int)x}.r+0x1fffff>>21) - 496;
^
( )
1 warning generated.
src/malloc/memalign.c:48:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)mem)[-1] = header&7 | new-mem;
~~~~~~^~ ~
src/malloc/memalign.c:48:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)mem)[-1] = header&7 | new-mem;
^
( )
src/malloc/memalign.c:49:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)new)[-2] = footer&7 | new-mem;
~~~~~~^~ ~
src/malloc/memalign.c:49:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)new)[-2] = footer&7 | new-mem;
^
( )
src/malloc/memalign.c:50:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)new)[-1] = header&7 | end-new;
~~~~~~^~ ~
src/malloc/memalign.c:50:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)new)[-1] = header&7 | end-new;
^
( )
src/malloc/memalign.c:51:30: warning: '&' within '|' [-Wbitwise-op-parentheses]
((size_t *)end)[-2] = footer&7 | end-new;
~~~~~~^~ ~
src/malloc/memalign.c:51:30: note: place parentheses around the '&' expression to silence this warning
((size_t *)end)[-2] = footer&7 | end-new;
^
( )
4 warnings generated.
src/math/fma.c:334:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/fma.c:276:22: warning: ^ has lower precedence than !=; != will be evaluated first [-Wparentheses]
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
~~~~~~~~~~~~~~~^
src/math/fma.c:276:22: note: place parentheses around the '!=' expression to silence this warning
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
^
( )
src/math/fma.c:276:22: note: place parentheses around the ^ expression to evaluate it first
if (bits_lost != 1 ^ (int)(uhi.i & 1)) {
^
( )
1 warning generated.
src/math/fmaf.c:41:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/ilogb.c:6:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/ilogbf.c:6:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
In file included from src/math/j0f.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/j1f.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/jnf.c:17:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/lgammal.c:89:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
src/math/lrint.c:31:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/nearbyint.c:9:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
src/math/nearbyintf.c:7:15: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
In file included from src/math/sincos.c:14:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/sincosf.c:18:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
In file included from src/math/sincosl.c:2:
In file included from ./src/internal/libm.h:20:
./include/endian.h:32:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/endian.h:32:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:32:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/endian.h:32:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/endian.h:37:23: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
~~~~~~~~~~~~~~^~~~~~~
./include/endian.h:37:23: note: place parentheses around the '+' expression to silence this warning
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
^
( )
3 warnings generated.
src/misc/syslog.c:95:36: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
~~~^~~~~
src/misc/syslog.c:95:36: note: use array indexing to silence this warning
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
^
& [ ]
src/misc/syslog.c:95:51: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
~~~^~~~~
src/misc/syslog.c:95:51: note: use array indexing to silence this warning
priority, timebuf, log_ident, "["+!pid, pid, "]"+!pid);
^
& [ ]
2 warnings generated.
src/network/__dns.c:138:13: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
q[0] = id+i >> 8;
~~^~ ~~
src/network/__dns.c:138:13: note: place parentheses around the '+' expression to silence this warning
q[0] = id+i >> 8;
^
( )
1 warning generated.
src/network/dn_skipname.c:10:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else break;
^
1 warning generated.
In file included from src/network/htonl.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/htons.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/ntohl.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
In file included from src/network/ntohs.c:2:
./include/byteswap.h:14:25: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~
./include/byteswap.h:14:25: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:14:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
~ ~~~~~~^~~~~~~~~
./include/byteswap.h:14:41: note: place parentheses around the '&' expression to silence this warning
return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
^
( )
./include/byteswap.h:19:24: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
~~~~~~~~~~~~~~~^~~~~~~
./include/byteswap.h:19:24: note: place parentheses around the '+' expression to silence this warning
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
^
( )
3 warnings generated.
src/passwd/getgr_r.c:27:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (name && !strcmp(name, gr->gr_name)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/passwd/getgr_r.c:27:12: note: place parentheses around the '&&' expression to silence this warning
if (name && !strcmp(name, gr->gr_name)
^
( )
src/passwd/getgr_r.c:28:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !name && gr->gr_gid == gid) {
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~
src/passwd/getgr_r.c:28:12: note: place parentheses around the '&&' expression to silence this warning
|| !name && gr->gr_gid == gid) {
^
( )
2 warnings generated.
src/passwd/getpw_r.c:24:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (name && !strcmp(name, pw->pw_name)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/passwd/getpw_r.c:24:12: note: place parentheses around the '&&' expression to silence this warning
if (name && !strcmp(name, pw->pw_name)
^
( )
src/passwd/getpw_r.c:25:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !name && pw->pw_uid == uid) {
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~
src/passwd/getpw_r.c:25:12: note: place parentheses around the '&&' expression to silence this warning
|| !name && pw->pw_uid == uid) {
^
( )
2 warnings generated.
src/prng/__rand48_step.c:6:31: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
x = xi[0] | xi[1]<<16 | xi[2]+0ULL<<32;
~~~~~^~~~~~~
src/prng/__rand48_step.c:6:31: note: place parentheses around the '+' expression to silence this warning
x = xi[0] | xi[1]<<16 | xi[2]+0ULL<<32;
^
( )
src/prng/__rand48_step.c:7:31: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
a = lc[0] | lc[1]<<16 | lc[2]+0ULL<<32;
~~~~~^~~~~~~
src/prng/__rand48_step.c:7:31: note: place parentheses around the '+' expression to silence this warning
a = lc[0] | lc[1]<<16 | lc[2]+0ULL<<32;
^
( )
2 warnings generated.
src/regex/regcomp.c:2659:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if (((lit)->code_min == -4))
~~~~~~~~~~~~~~~~^~~~~
src/regex/regcomp.c:2659:24: note: remove extraneous parentheses around the comparison to silence this warning
if (((lit)->code_min == -4))
~ ^ ~
src/regex/regcomp.c:2659:24: note: use '=' to turn this equality comparison into an assignment
if (((lit)->code_min == -4))
^~
=
1 warning generated.
src/stdio/vfprintf.c:169:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
~~~~~^~~~
src/stdio/vfprintf.c:169:20: note: place parentheses around the '-' expression to silence this warning
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
^
( )
src/stdio/vfprintf.c:169:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
~~~~~^~~~
src/stdio/vfprintf.c:169:36: note: place parentheses around the '-' expression to silence this warning
if (fl & ((1U<<'-'-' ') | (1U<<'0'-' ')) || l >= w) return;
^
( )
src/stdio/vfprintf.c:221:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<'+'-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:221:26: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<'+'-' ')) {
^
( )
src/stdio/vfprintf.c:223:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<' '-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:223:26: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<' '-' ')) {
^
( )
src/stdio/vfprintf.c:230:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, 3+pl, fl&~(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:230:36: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, 3+pl, fl&~(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:233:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, 3+pl, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:233:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, 3+pl, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:273:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (s-buf==1 && (y||p>0||(fl&(1U<<'#'-' ')))) *s++='.';
~~~~~^~~~
src/stdio/vfprintf.c:273:41: note: place parentheses around the '-' expression to silence this warning
if (s-buf==1 && (y||p>0||(fl&(1U<<'#'-' ')))) *s++='.';
^
( )
src/stdio/vfprintf.c:283:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:283:35: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:287:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:287:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:377:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'#'-' '))) {
~~~~~^~~~
src/stdio/vfprintf.c:377:20: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'#'-' '))) {
^
( )
src/stdio/vfprintf.c:387:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
l = 1 + p + (p || (fl&(1U<<'#'-' ')));
~~~~~^~~~
src/stdio/vfprintf.c:387:32: note: place parentheses around the '-' expression to silence this warning
l = 1 + p + (p || (fl&(1U<<'#'-' ')));
^
( )
src/stdio/vfprintf.c:400:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:400:34: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+l, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:410:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p || (fl&(1U<<'#'-' '))) out(f, ".", 1);
~~~~~^~~~
src/stdio/vfprintf.c:410:24: note: place parentheses around the '-' expression to silence this warning
if (p || (fl&(1U<<'#'-' '))) out(f, ".", 1);
^
( )
src/stdio/vfprintf.c:425:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p>0||(fl&(1U<<'#'-' '))) out(f, ".", 1);
~~~~~^~~~
src/stdio/vfprintf.c:425:26: note: place parentheses around the '-' expression to silence this warning
if (p>0||(fl&(1U<<'#'-' '))) out(f, ".", 1);
^
( )
src/stdio/vfprintf.c:434:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:434:34: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+l, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:489:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:47: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:61: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:75: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:89: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:89: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:103: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfprintf.c:489:103: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:118: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~~^~~~
src/stdio/vfprintf.c:489:118: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:489:132: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~^~~~
src/stdio/vfprintf.c:489:132: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfprintf.c:490:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= 1U<<*s-' ';
~~~~^~~~
src/stdio/vfprintf.c:490:16: note: place parentheses around the '-' expression to silence this warning
fl |= 1U<<*s-' ';
^
( )
src/stdio/vfprintf.c:503:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (w<0) fl|=(1U<<'-'-' '), w=-w;
~~~~~^~~~
src/stdio/vfprintf.c:503:25: note: place parentheses around the '-' expression to silence this warning
if (w<0) fl|=(1U<<'-'-' '), w=-w;
^
( )
src/stdio/vfprintf.c:550:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:550:20: note: place parentheses around the '-' expression to silence this warning
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:550:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:550:42: note: place parentheses around the '-' expression to silence this warning
if (fl & (1U<<'-'-' ')) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:567:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= (1U<<'#'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:567:18: note: place parentheses around the '-' expression to silence this warning
fl |= (1U<<'#'-' ');
^
( )
src/stdio/vfprintf.c:570:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (arg.i && (fl & (1U<<'#'-' '))) prefix+=(t>>4), pl=2;
~~~~~^~~~
src/stdio/vfprintf.c:570:31: note: place parentheses around the '-' expression to silence this warning
if (arg.i && (fl & (1U<<'#'-' '))) prefix+=(t>>4), pl=2;
^
( )
src/stdio/vfprintf.c:574:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'#'-' ')) && arg.i) prefix+=5, pl=1;
~~~~~^~~~
src/stdio/vfprintf.c:574:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'#'-' ')) && arg.i) prefix+=5, pl=1;
^
( )
src/stdio/vfprintf.c:580:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<'+'-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:580:28: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<'+'-' ')) {
^
( )
src/stdio/vfprintf.c:582:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
} else if (fl & (1U<<' '-' ')) {
~~~~~^~~~
src/stdio/vfprintf.c:582:28: note: place parentheses around the '-' expression to silence this warning
} else if (fl & (1U<<' '-' ')) {
^
( )
src/stdio/vfprintf.c:588:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (p>=0) fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:588:29: note: place parentheses around the '-' expression to silence this warning
if (p>=0) fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:597:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:597:19: note: place parentheses around the '-' expression to silence this warning
fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:606:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl &= ~(1U<<'0'-' ');
~~~~~^~~~
src/stdio/vfprintf.c:606:19: note: place parentheses around the '-' expression to silence this warning
fl &= ~(1U<<'0'-' ');
^
( )
src/stdio/vfprintf.c:622:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, p, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:622:33: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, p, fl^(1U<<'-'-' '));
^
( )
src/stdio/vfprintf.c:636:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, '0', w, pl+p, fl^(1U<<'0'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:636:35: note: place parentheses around the '-' expression to silence this warning
pad(f, '0', w, pl+p, fl^(1U<<'0'-' '));
^
( )
src/stdio/vfprintf.c:639:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
pad(f, ' ', w, pl+p, fl^(1U<<'-'-' '));
~~~~~^~~~
src/stdio/vfprintf.c:639:35: note: place parentheses around the '-' expression to silence this warning
pad(f, ' ', w, pl+p, fl^(1U<<'-'-' '));
^
( )
37 warnings generated.
src/stdio/vfwprintf.c:212:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:47: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:61: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:75: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:89: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:89: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:103: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~^~~~
src/stdio/vfwprintf.c:212:103: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:118: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~~~^~~~
src/stdio/vfwprintf.c:212:118: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:212:132: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
~~~~^~~~
src/stdio/vfwprintf.c:212:132: note: place parentheses around the '-' expression to silence this warning
for (fl=0; (unsigned)*s-' '<32 && (((1U<<'#'-' ')|(1U<<'0'-' ')|(1U<<'-'-' ')|(1U<<' '-' ')|(1U<<'+'-' ')|(1U<<'\''-' '))&(1U<<*s-' ')); s++)
^
( )
src/stdio/vfwprintf.c:213:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
fl |= 1U<<*s-' ';
~~~~^~~~
src/stdio/vfwprintf.c:213:16: note: place parentheses around the '-' expression to silence this warning
fl |= 1U<<*s-' ';
^
( )
src/stdio/vfwprintf.c:226:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (w<0) fl|=(1U<<'-'-' '), w=-w;
~~~~~^~~~
src/stdio/vfwprintf.c:226:25: note: place parentheses around the '-' expression to silence this warning
if (w<0) fl|=(1U<<'-'-' '), w=-w;
^
( )
src/stdio/vfwprintf.c:291:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:291:21: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:293:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:293:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:303:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:303:21: note: place parentheses around the '-' expression to silence this warning
if (!(fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:310:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
~~~~~^~~~
src/stdio/vfwprintf.c:310:20: note: place parentheses around the '-' expression to silence this warning
if ((fl&(1U<<'-'-' '))) fprintf(f, "%.*s", w-p, "");
^
( )
src/stdio/vfwprintf.c:316:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"#"+!(fl & (1U<<'#'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:316:23: note: place parentheses around the '-' expression to silence this warning
"#"+!(fl & (1U<<'#'-' ')),
^
( )
src/stdio/vfwprintf.c:316:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"#"+!(fl & (1U<<'#'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:316:7: note: use array indexing to silence this warning
"#"+!(fl & (1U<<'#'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:317:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"+"+!(fl & (1U<<'+'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:317:23: note: place parentheses around the '-' expression to silence this warning
"+"+!(fl & (1U<<'+'-' ')),
^
( )
src/stdio/vfwprintf.c:317:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"+"+!(fl & (1U<<'+'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:317:7: note: use array indexing to silence this warning
"+"+!(fl & (1U<<'+'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:318:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"-"+!(fl & (1U<<'-'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:318:23: note: place parentheses around the '-' expression to silence this warning
"-"+!(fl & (1U<<'-'-' ')),
^
( )
src/stdio/vfwprintf.c:318:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"-"+!(fl & (1U<<'-'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:318:7: note: use array indexing to silence this warning
"-"+!(fl & (1U<<'-'-' ')),
^
& [ ]
src/stdio/vfwprintf.c:319:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
" "+!(fl & (1U<<' '-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:319:23: note: place parentheses around the '-' expression to silence this warning
" "+!(fl & (1U<<' '-' ')),
^
( )
src/stdio/vfwprintf.c:319:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
" "+!(fl & (1U<<' '-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:319:7: note: use array indexing to silence this warning
" "+!(fl & (1U<<' '-' ')),
^
& [ ]
src/stdio/vfwprintf.c:320:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
"0"+!(fl & (1U<<'0'-' ')),
~~~~~^~~~
src/stdio/vfwprintf.c:320:23: note: place parentheses around the '-' expression to silence this warning
"0"+!(fl & (1U<<'0'-' ')),
^
( )
src/stdio/vfwprintf.c:320:7: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
"0"+!(fl & (1U<<'0'-' ')),
~~~^~~~~~~~~~~~~~~~~~~~~~
src/stdio/vfwprintf.c:320:7: note: use array indexing to silence this warning
"0"+!(fl & (1U<<'0'-' ')),
^
& [ ]
23 warnings generated.
src/thread/cancel_impl.c:49:44: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (self->cancelasync || ip >= __cp_begin && ip < __cp_end) {
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
src/thread/cancel_impl.c:49:44: note: place parentheses around the '&&' expression to silence this warning
if (self->cancelasync || ip >= __cp_begin && ip < __cp_end) {
^
( )
1 warning generated.
src/time/localtime_r.c:9:9: warning: comparison of constant -67908586910515200 with expression of type 'const time_t' (aka 'const long') is always false [-Wtautological-constant-out-of-range-compare]
if (*t < (-1-0x7fffffff) * 31622400LL || *t > 0x7fffffff * 31622400LL) {
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/time/localtime_r.c:9:46: warning: comparison of constant 67908586878892800 with expression of type 'const time_t' (aka 'const long') is always false [-Wtautological-constant-out-of-range-compare]
if (*t < (-1-0x7fffffff) * 31622400LL || *t > 0x7fffffff * 31622400LL) {
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
next reply other threads:[~2014-04-04 19:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 19:59 Abdoulaye Walsimou Gaye [this message]
2014-04-04 20:47 ` Rich Felker
2014-04-05 1:06 ` Abdoulaye Walsimou Gaye
2014-04-05 1:54 ` Rich Felker
2014-04-05 9:04 ` Jens Gustedt
2014-04-05 9:31 ` Szabolcs Nagy
2014-04-05 13:07 ` Rich Felker
2014-04-05 14:37 ` Jens Gustedt
2014-04-05 16:35 ` Rich Felker
2014-04-05 22:08 ` Jens Gustedt
2014-04-06 1:57 ` Rich Felker
2014-04-06 16:37 ` Jens Gustedt
2014-04-06 16:49 ` Rich Felker
2014-04-07 11:17 ` Oliver Schneider
2014-04-07 17:23 ` Rich Felker
2014-04-07 19:40 ` Abdoulaye Walsimou Gaye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=533F0F1A.6040707@embtoolkit.org \
--to=awg@embtoolkit.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).