Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683344265.670723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-zbar-py-1.0.4-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683344265.670723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-zbar-py-1.0.4-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683344265.670723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iYTZAF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zbar-py-1.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/zbar-py-1.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zbar-py-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DNr3g2 + umask 022 + cd /builddir/build/BUILD + cd zbar-py-1.0.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/zbar copying zbar/__init__.py -> build/lib.linux-aarch64-3.9/zbar copying zbar/zbar.py -> build/lib.linux-aarch64-3.9/zbar copying zbar/misc.py -> build/lib.linux-aarch64-3.9/zbar running build_ext building 'zbar._zbar' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/Source creating build/temp.linux-aarch64-3.9/Source/zbar creating build/temp.linux-aarch64-3.9/Source/zbar/decoder creating build/temp.linux-aarch64-3.9/Source/zbar/qrcode creating build/temp.linux-aarch64-3.9/zbar gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder.o Source/zbar/decoder.c: In function ‘_zbar_decoder_buf_dump’: Source/zbar/decoder.c:387:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 387 | if(!decoder_dump || dumplen > decoder_dumplen) { | ^ Source/zbar/decoder.c:397:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 397 | for(i = 0; i < buflen; i++) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/code128.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/code128.o Source/zbar/decoder/code128.c: In function ‘decode6’: Source/zbar/decoder/code128.c:222:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 222 | if(chk - 7 > bars || bars > chk + 7) | ^ Source/zbar/decoder/code128.c:222:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 222 | if(chk - 7 > bars || bars > chk + 7) | ^ Source/zbar/decoder/code128.c: In function ‘postprocess’: Source/zbar/decoder/code128.c:326:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 326 | for(i = 0; i < dcode128->character / 2; i++) { | ^ Source/zbar/decoder/code128.c:349:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 349 | for(i = 1, j = 0; i < dcode128->character - 2; i++) { | ^ In file included from Source/zbar/decoder/code128.c:32: Source/zbar/decoder/code128.c: In function ‘_zbar_decode_code128’: Source/zbar/decoder/code128.c:483:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘short int:12’ [-Wsign-compare] 483 | zassert(dcode->buf_alloc > dcode128->character, 0, | ^ Source/zbar/debug.h:83:14: note: in definition of macro ‘zassert’ 83 | if(!(condition)) \ | ^~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/code39.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/code39.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/ean.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/ean.o Source/zbar/decoder/ean.c: In function ‘ean_part_end4’: Source/zbar/decoder/ean.c:244:13: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 244 | if(!par == fwd) { | ^~ Source/zbar/decoder/ean.c:244:8: note: add parentheses around left hand side expression to silence this warning 244 | if(!par == fwd) { | ^~~~ | ( ) Source/zbar/decoder/ean.c: In function ‘ean_part_end7’: Source/zbar/decoder/ean.c:293:13: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 293 | if(!par == fwd) { | ^~ Source/zbar/decoder/ean.c:293:8: note: add parentheses around left hand side expression to silence this warning 293 | if(!par == fwd) { | ^~~~ | ( ) Source/zbar/decoder/ean.c: In function ‘postprocess’: Source/zbar/decoder/ean.c:585:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘zbar_symbol_type_t’ {aka ‘enum zbar_symbol_type_e’} [-Wsign-compare] 585 | for(; j < base && ean->buf[i] >= 0; i++, j++) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/i25.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/i25.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/pdf417.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/pdf417.o Source/zbar/decoder/pdf417.c: In function ‘_zbar_decode_pdf417’: Source/zbar/decoder/pdf417.c:191:13: warning: unused variable ‘c’ [-Wunused-variable] 191 | int c = dcode417->character; | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/decoder/qr_finder.c -o build/temp.linux-aarch64-3.9/Source/zbar/decoder/qr_finder.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/error.c -o build/temp.linux-aarch64-3.9/Source/zbar/error.o Source/zbar/error.c:39:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] 39 | static const char const * err_str[] = { | ^~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/img_scanner.c -o build/temp.linux-aarch64-3.9/Source/zbar/img_scanner.o Source/zbar/img_scanner.c: In function ‘_zbar_image_scanner_recycle_syms’: Source/zbar/img_scanner.c:126:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 126 | if(sym->data_alloc < 1 << (i * 2)) | ^ Source/zbar/img_scanner.c: In function ‘_zbar_image_scanner_alloc_sym’: Source/zbar/img_scanner.c:208:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 208 | if(sym->data_alloc < datalen) { | ^ Source/zbar/img_scanner.c: In function ‘zbar_scan_image’: Source/zbar/img_scanner.c:525:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 525 | if(border > h / 2) | ^ Source/zbar/img_scanner.c:532:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 532 | while(y < h) { | ^ Source/zbar/img_scanner.c:537:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 537 | while(x < w) { | ^ Source/zbar/img_scanner.c:548:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 548 | if(y >= h) | ^~ Source/zbar/img_scanner.c:578:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 578 | if(border > w / 2) | ^ Source/zbar/img_scanner.c:583:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 583 | while(x < w) { | ^ Source/zbar/img_scanner.c:588:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 588 | while(y < h) { | ^ Source/zbar/img_scanner.c:599:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 599 | if(x >= w) | ^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/bch15_5.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/bch15_5.o Source/zbar/qrcode/bch15_5.c: In function ‘bch15_5_calc_syndrome’: Source/zbar/qrcode/bch15_5.c:48:47: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 48 | for(i=0;i<3;i++)for(j=0;j<5;j++)if(_y&1<<5*i+j)p^=gf16_exp[j*3]; | ~~~^~ Source/zbar/qrcode/bch15_5.c:51:47: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 51 | for(i=0;i<5;i++)for(j=0;j<3;j++)if(_y&1<<3*i+j)p^=gf16_exp[j*5]; | ~~~^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/binarize.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/binarize.o Source/zbar/qrcode/binarize.c: In function ‘qr_binarize’: Source/zbar/qrcode/binarize.c:539:53: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 539 | for(logwindw=4;logwindw<8&&(1<>3);logwindw++); | ~~~~~~^~ Source/zbar/qrcode/binarize.c:540:54: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 540 | for(logwindh=4;logwindh<8&&(1<>3);logwindh++); | ~~~~~~~^~ Source/zbar/qrcode/binarize.c:547:31: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 547 | col_sums[x]=(g<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/binarize.c:573:14: note: in expansion of macro ‘QR_MAXI’ 573 | x0=QR_MAXI(0,x-(windw>>1)); | ^~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/binarize.c:574:14: note: in expansion of macro ‘QR_MINI’ 574 | x1=QR_MINI(x+(windw>>1),_width-1); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/binarize.c:580:16: note: in expansion of macro ‘QR_MAXI’ 580 | y0offs=QR_MAXI(0,y-(windh>>1))*_width; | ^~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/binarize.c:581:16: note: in expansion of macro ‘QR_MINI’ 581 | y1offs=QR_MINI(y+(windh>>1),_height-1)*_width; | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/isaac.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/isaac.o Source/zbar/qrcode/isaac.c: In function ‘isaac_update’: Source/zbar/qrcode/isaac.c:25:12: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 25 | b=_ctx->b+(++_ctx->c)&ISAAC_MASK; | ~~~~~~~^~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:28:16: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 28 | a=(a^a<<13)+m[i+ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:29:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 29 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:29:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 29 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:30:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 30 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:30:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 30 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:30:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 30 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:32:15: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 32 | a=(a^a>>6)+m[i+ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:33:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 33 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:33:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 33 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:34:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 34 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:34:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 34 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:34:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 34 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:36:15: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 36 | a=(a^a<<2)+m[i+ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:37:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 37 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:37:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 37 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:38:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 38 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:38:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 38 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:38:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 38 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:40:16: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 40 | a=(a^a>>16)+m[i+ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:41:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 41 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:41:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 41 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:42:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 42 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:42:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 42 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:42:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 42 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:46:16: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 46 | a=(a^a<<13)+m[i-ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:47:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 47 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:47:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 47 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:48:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 48 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:48:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 48 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:48:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 48 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:50:15: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 50 | a=(a^a>>6)+m[i-ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:51:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 51 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:51:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 51 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:52:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 52 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:52:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 52 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:52:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 52 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:54:15: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 54 | a=(a^a<<2)+m[i-ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:55:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 55 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:55:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 55 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:56:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 56 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:56:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 56 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:56:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 56 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:58:16: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 58 | a=(a^a>>16)+m[i-ISAAC_SZ/2]&ISAAC_MASK; | ~~~~~~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/isaac.c:59:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 59 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:59:37: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 59 | m[i]=y=m[(x&ISAAC_SZ-1<<2)>>2]+a+b&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c:60:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 60 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^~ Source/zbar/qrcode/isaac.c:60:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 60 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ^ Source/zbar/qrcode/isaac.c:60:43: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 60 | r[i]=b=m[y>>ISAAC_SZ_LOG+2&ISAAC_SZ-1]+x&ISAAC_MASK; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/isaac.c: In function ‘isaac_mix’: Source/zbar/qrcode/isaac.c:71:16: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 71 | _x[i]^=_x[i+1&7]<>SHIFT[i]; | ~^~ Source/zbar/qrcode/isaac.c:76:9: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 76 | _x[i+3&7]+=_x[i]; | ~^~ Source/zbar/qrcode/isaac.c:77:9: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 77 | _x[i+1&7]+=_x[i+2&7]; | ~^~ Source/zbar/qrcode/isaac.c:77:20: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 77 | _x[i+1&7]+=_x[i+2&7]; | ~^~ Source/zbar/qrcode/isaac.c: In function ‘isaac_next_uint’: Source/zbar/qrcode/isaac.c:137:14: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 137 | while((d+_n-1&ISAAC_MASK)pos[0]>b->pos[0])-(a->pos[0]pos[0])<<1)+ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_cluster_lines’: Source/zbar/qrcode/qrdec.c:199:20: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 199 | thresh=a->len+7>>2; | ~~~~~~^~ Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_center_cmp’: Source/zbar/qrcode/qrdec.c:278:38: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 278 | return ((b->nedge_pts>a->nedge_pts)-(b->nedge_ptsnedge_pts)<<2)+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:279:26: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 279 | ((a->pos[1]>b->pos[1])-(a->pos[1]pos[1])<<1)+ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_centers_locate’: Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:446:6: note: in expansion of macro ‘QR_MINI’ 446 | QR_MINI(nhclusters,nvclusters)*sizeof(*centers)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_line_fit’: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:535:10: note: in expansion of macro ‘QR_MAXI’ 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:535:20: note: in expansion of macro ‘QR_MAXI’ 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:535:63: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ~~~~^~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:535:10: note: in expansion of macro ‘QR_MAXI’ 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:535:20: note: in expansion of macro ‘QR_MAXI’ 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:535:63: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ~~~~^~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:535:10: note: in expansion of macro ‘QR_MAXI’ 535 | dshift=QR_MAXI(0,QR_MAXI(qr_ilog(u),qr_ilog(abs(v)))+1-(_res+1>>1)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:538:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 538 | _l[0]=v+dround>>dshift; | ~^~~~~~~ Source/zbar/qrcode/qrdec.c:539:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 539 | _l[1]=u+w+dround>>dshift; | ~~~^~~~~~~ Source/zbar/qrcode/qrdec.c:542:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 542 | _l[0]=u+w+dround>>dshift; | ~~~^~~~~~~ Source/zbar/qrcode/qrdec.c:543:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 543 | _l[1]=v+dround>>dshift; | ~^~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_line_fit_points’: Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:572:10: note: in expansion of macro ‘QR_MINI’ 572 | xmin=QR_MINI(xmin,_p[i][0]); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:573:10: note: in expansion of macro ‘QR_MAXI’ 573 | xmax=QR_MAXI(xmax,_p[i][0]); | ^~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:575:10: note: in expansion of macro ‘QR_MINI’ 575 | ymin=QR_MINI(ymin,_p[i][1]); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:576:10: note: in expansion of macro ‘QR_MAXI’ 576 | ymax=QR_MAXI(ymax,_p[i][1]); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:4: note: in expansion of macro ‘QR_MAXI’ 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:4: note: in expansion of macro ‘QR_MAXI’ 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:49: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:4: note: in expansion of macro ‘QR_MAXI’ 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:4: note: in expansion of macro ‘QR_MAXI’ 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:40: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:580:32: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:581:49: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 581 | QR_MAXI(ymax-ybar,ybar-ymin)))-(QR_INT_BITS-1>>1)); | ^~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:580:10: note: in expansion of macro ‘QR_MAXI’ 580 | sshift=QR_MAXI(0,qr_ilog(_np*QR_MAXI(QR_MAXI(xmax-xbar,xbar-xmin), | ^~~~~~~ Source/zbar/qrcode/qrdec.c:585:21: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 585 | dx=_p[i][0]-xbar+sround>>sshift; | ~~~~~~~~~~~~~^~~~~~~ Source/zbar/qrcode/qrdec.c:586:21: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 586 | dy=_p[i][1]-ybar+sround>>sshift; | ~~~~~~~~~~~~~^~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_line_isect’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:615:9: note: in expansion of macro ‘QR_DIVROUND’ 615 | _p[0]=QR_DIVROUND(x,d); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:616:9: note: in expansion of macro ‘QR_DIVROUND’ 616 | _p[1]=QR_DIVROUND(y,d); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_aff_init’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:651:19: note: in expansion of macro ‘QR_DIVROUND’ 651 | _aff->inv[0][0]=QR_DIVROUND(dy2<<_res,det); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:652:19: note: in expansion of macro ‘QR_DIVROUND’ 652 | _aff->inv[0][1]=QR_DIVROUND(-dx2<<_res,det); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:653:19: note: in expansion of macro ‘QR_DIVROUND’ 653 | _aff->inv[1][0]=QR_DIVROUND(-dy1<<_res,det); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:654:19: note: in expansion of macro ‘QR_DIVROUND’ 654 | _aff->inv[1][1]=QR_DIVROUND(dx1<<_res,det); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_aff_project’: Source/zbar/qrcode/qrdec.c:670:61: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 670 | _p[0]=(_aff->fwd[0][0]*_u+_aff->fwd[0][1]*_v+(1<<_aff->res-1)>>_aff->res) | ~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:670:47: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 670 | _p[0]=(_aff->fwd[0][0]*_u+_aff->fwd[0][1]*_v+(1<<_aff->res-1)>>_aff->res) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:672:61: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 672 | _p[1]=(_aff->fwd[1][0]*_u+_aff->fwd[1][1]*_v+(1<<_aff->res-1)>>_aff->res) | ~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:672:47: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 672 | _p[1]=(_aff->fwd[1][0]*_u+_aff->fwd[1][1]*_v+(1<<_aff->res-1)>>_aff->res) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_init’: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:728:14: note: in expansion of macro ‘QR_MAXI’ 728 | b0=qr_ilog(QR_MAXI(abs(dx10),abs(dy10)))+qr_ilog(abs(a20+a22)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:729:14: note: in expansion of macro ‘QR_MAXI’ 729 | b1=qr_ilog(QR_MAXI(abs(dx20),abs(dy20)))+qr_ilog(abs(a21+a22)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:730:14: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:730:22: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:730:14: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:730:22: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:730:14: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:730:22: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:730:14: note: in expansion of macro ‘QR_MAXI’ 730 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:29: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:731:21: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:731:6: note: in expansion of macro ‘QR_MAXI’ 731 | s1=QR_MAXI(0,_res+QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-2)); | ^~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:736:19: note: in expansion of macro ‘QR_FIXMUL’ 736 | _hom->fwd[0][0]=QR_FIXMUL(dx10,a20+a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:737:19: note: in expansion of macro ‘QR_FIXMUL’ 737 | _hom->fwd[0][1]=QR_FIXMUL(dx20,a21+a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:739:19: note: in expansion of macro ‘QR_FIXMUL’ 739 | _hom->fwd[1][0]=QR_FIXMUL(dy10,a20+a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:740:19: note: in expansion of macro ‘QR_FIXMUL’ 740 | _hom->fwd[1][1]=QR_FIXMUL(dy20,a21+a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/qrdec.c:742:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 742 | _hom->fwd[2][0]=a20+r1>>s1; | ~~~^~~ Source/zbar/qrcode/qrdec.c:743:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 743 | _hom->fwd[2][1]=a21+r1>>s1; | ~~~^~~ Source/zbar/qrcode/qrdec.c:744:26: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 744 | _hom->fwd22=s1>_res?a22+(r1>>_res)>>s1-_res:a22<<_res-s1; | ~~~^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:744:56: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 744 | _hom->fwd22=s1>_res?a22+(r1>>_res)>>s1-_res:a22<<_res-s1; | ~~~~^~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:746:14: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:746:22: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:746:14: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:746:22: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:746:14: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:746:22: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:746:14: note: in expansion of macro ‘QR_MAXI’ 746 | b0=qr_ilog(QR_MAXI(QR_MAXI(abs(dx10),abs(dx20)),abs(dx30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:747:12: note: in expansion of macro ‘QR_MAXI’ 747 | qr_ilog(QR_MAXI(abs(_hom->fwd[0][0]),abs(_hom->fwd[1][0]))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:748:14: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:748:22: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:748:14: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:748:22: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:748:14: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:748:22: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:748:14: note: in expansion of macro ‘QR_MAXI’ 748 | b1=qr_ilog(QR_MAXI(QR_MAXI(abs(dy10),abs(dy20)),abs(dy30)))+ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:749:12: note: in expansion of macro ‘QR_MAXI’ 749 | qr_ilog(QR_MAXI(abs(_hom->fwd[0][1]),abs(_hom->fwd[1][1]))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:751:6: note: in expansion of macro ‘QR_MAXI’ 751 | s2=QR_MAXI(0,QR_MAXI(b0,b1)+b2-(QR_INT_BITS-3)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:751:16: note: in expansion of macro ‘QR_MAXI’ 751 | s2=QR_MAXI(0,QR_MAXI(b0,b1)+b2-(QR_INT_BITS-3)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:751:6: note: in expansion of macro ‘QR_MAXI’ 751 | s2=QR_MAXI(0,QR_MAXI(b0,b1)+b2-(QR_INT_BITS-3)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:751:16: note: in expansion of macro ‘QR_MAXI’ 751 | s2=QR_MAXI(0,QR_MAXI(b0,b1)+b2-(QR_INT_BITS-3)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:751:6: note: in expansion of macro ‘QR_MAXI’ 751 | s2=QR_MAXI(0,QR_MAXI(b0,b1)+b2-(QR_INT_BITS-3)); | ^~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:757:19: note: in expansion of macro ‘QR_FIXMUL’ 757 | _hom->inv[0][0]=QR_FIXMUL(_hom->fwd[1][1],a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:758:19: note: in expansion of macro ‘QR_FIXMUL’ 758 | _hom->inv[0][1]=QR_FIXMUL(-_hom->fwd[0][1],a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:759:19: note: in expansion of macro ‘QR_FIXMUL’ 759 | _hom->inv[1][0]=QR_FIXMUL(-_hom->fwd[1][0],a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:760:19: note: in expansion of macro ‘QR_FIXMUL’ 760 | _hom->inv[1][1]=QR_FIXMUL(_hom->fwd[0][0],a22,r1,s1); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:761:19: note: in expansion of macro ‘QR_FIXMUL’ 761 | _hom->inv[2][0]=QR_FIXMUL(_hom->fwd[1][0],_hom->fwd[2][1], | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:763:19: note: in expansion of macro ‘QR_FIXMUL’ 763 | _hom->inv[2][1]=QR_FIXMUL(_hom->fwd[0][1],_hom->fwd[2][0], | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:765:15: note: in expansion of macro ‘QR_FIXMUL’ 765 | _hom->inv22=QR_FIXMUL(_hom->fwd[0][0],_hom->fwd[1][1], | ^~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_unproject’: Source/zbar/qrcode/qrdec.c:782:30: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 782 | +_hom->inv22+(1<<_hom->res-1)>>_hom->res; | ~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:782:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 781 | w=_hom->inv[2][0]*_x+_hom->inv[2][1]*_y | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | +_hom->inv22+(1<<_hom->res-1)>>_hom->res; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:794:11: note: in expansion of macro ‘QR_DIVROUND’ 794 | _q[0]=QR_DIVROUND(x,w); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:795:11: note: in expansion of macro ‘QR_DIVROUND’ 795 | _q[1]=QR_DIVROUND(y,w); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_fproject’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:816:11: note: in expansion of macro ‘QR_DIVROUND’ 816 | _p[0]=QR_DIVROUND(_x,_w)+_hom->x0; | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:817:11: note: in expansion of macro ‘QR_DIVROUND’ 817 | _p[1]=QR_DIVROUND(_y,_w)+_hom->y0; | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_cmp_edge_pt’: Source/zbar/qrcode/qrdec.c:860:28: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 860 | return ((a->edge>b->edge)-(a->edgeedge)<<1)+ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_estimate_module_size_and_version’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:964:10: note: in expansion of macro ‘QR_DIVROUND’ 964 | mean=QR_DIVROUND(sum,n); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_ransac’: Source/zbar/qrcode/qrdec.c:1082:48: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 1082 | thresh=qr_isqrt(qr_point_distance2(p0,p1)<<2*QR_FINDER_SUBPREC+1); | ^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_line_fit_finder_pair’: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1165:8: note: in expansion of macro ‘QR_MAXI’ 1165 | npts=QR_MAXI(n0,1)+QR_MAXI(n1,1); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1165:22: note: in expansion of macro ‘QR_MAXI’ 1165 | npts=QR_MAXI(n0,1)+QR_MAXI(n1,1); | ^~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_quick_crossing_check’: Source/zbar/qrcode/qrdec.c:1214:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1214 | if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1; | ^~ Source/zbar/qrcode/qrdec.c:1214:6: note: add parentheses around left hand side expression to silence this warning 1214 | if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1; | ^~~~~~~~~~~~~~~~~~~~~ | ( ) Source/zbar/qrcode/qrdec.c:1214:54: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1214 | if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1; | ^~ Source/zbar/qrcode/qrdec.c:1214:33: note: add parentheses around left hand side expression to silence this warning 1214 | if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1; | ^~~~~~~~~~~~~~~~~~~~~ | ( ) Source/zbar/qrcode/qrdec.c:1215:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1215 | if(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1; | ~~~^~~~ Source/zbar/qrcode/qrdec.c:1215:36: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1215 | if(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1; | ~~~^~~~ Source/zbar/qrcode/qrdec.c:1215:45: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1215 | if(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1; | ^~ Source/zbar/qrcode/qrdec.c:1215:6: note: add parentheses around left hand side expression to silence this warning 1215 | if(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_locate_crossing’: Source/zbar/qrcode/qrdec.c:1256:33: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1256 | if(!_img[x0[1]*_width+x0[0]]!=_v)break; | ^~ Source/zbar/qrcode/qrdec.c:1256:8: note: add parentheses around left hand side expression to silence this warning 1256 | if(!_img[x0[1]*_width+x0[0]]!=_v)break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) Source/zbar/qrcode/qrdec.c:1268:33: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1268 | if(!_img[x1[1]*_width+x1[0]]!=_v)break; | ^~ Source/zbar/qrcode/qrdec.c:1268:8: note: add parentheses around left hand side expression to silence this warning 1268 | if(!_img[x1[1]*_width+x1[0]]!=_v)break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) Source/zbar/qrcode/qrdec.c:1271:21: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 1271 | _p[0]=(x0[0]+x1[0]+1<>1; | ~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:1272:21: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 1272 | _p[1]=(x0[1]+x1[1]+1<>1; | ~~~~~~~~~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_aff_line_step’: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1289:9: note: in expansion of macro ‘QR_MAXI’ 1289 | shift=QR_MAXI(0,qr_ilog(_du)+qr_ilog(abs(n))+3-QR_INT_BITS); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1291:6: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1291 | n=n+round>>shift; | ~^~~~~~ Source/zbar/qrcode/qrdec.c:1292:6: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1292 | d=d+round>>shift; | ~^~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1299:6: note: in expansion of macro ‘QR_DIVROUND’ 1299 | dv=QR_DIVROUND(n,d); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_img_get_bit’: Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:15: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:15: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:18:30: note: in expansion of macro ‘QR_MAXI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:15: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:48: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:48: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:18:30: note: in expansion of macro ‘QR_MAXI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1322:48: note: in expansion of macro ‘QR_CLAMPI’ 1322 | return _img[QR_CLAMPI(0,_y,_height-1)*_width+QR_CLAMPI(0,_x,_width-1)]!=0; | ^~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_cell_init’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1426:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1426 | if(i00)i00=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i00)),i00); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1426:27: note: in expansion of macro ‘QR_DIVROUND’ 1426 | if(i00)i00=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i00)),i00); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1426:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1426 | if(i00)i00=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i00)),i00); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1427:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1427 | if(i01)i01=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i01)),i01); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1427:27: note: in expansion of macro ‘QR_DIVROUND’ 1427 | if(i01)i01=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i01)),i01); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1427:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1427 | if(i01)i01=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i01)),i01); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1428:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1428 | if(i10)i10=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i10)),i10); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1428:27: note: in expansion of macro ‘QR_DIVROUND’ 1428 | if(i10)i10=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i10)),i10); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1428:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1428 | if(i10)i10=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i10)),i10); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1429:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1429 | if(i11)i11=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i11)),i11); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1429:27: note: in expansion of macro ‘QR_DIVROUND’ 1429 | if(i11)i11=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i11)),i11); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1429:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1429 | if(i11)i11=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i11)),i11); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1430:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1430 | if(i20)i20=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i20)),i20); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1430:27: note: in expansion of macro ‘QR_DIVROUND’ 1430 | if(i20)i20=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i20)),i20); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1430:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1430 | if(i20)i20=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i20)),i20); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1431:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1431 | if(i21)i21=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i21)),i21); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1431:27: note: in expansion of macro ‘QR_DIVROUND’ 1431 | if(i21)i21=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i21)),i21); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/qrdec.c:1431:14: note: in expansion of macro ‘QR_FLIPSIGNI’ 1431 | if(i21)i21=QR_FLIPSIGNI(QR_DIVROUND(i22,abs(i21)),i21); | ^~~~~~~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1447:14: note: in expansion of macro ‘QR_MAXI’ 1447 | b0=qr_ilog(QR_MAXI(abs(dx10),abs(dy10)))+qr_ilog(abs(a20+a22)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1448:14: note: in expansion of macro ‘QR_MAXI’ 1448 | b1=qr_ilog(QR_MAXI(abs(dx20),abs(dy20)))+qr_ilog(abs(a21+a22)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1449:14: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1449:22: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1449:14: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1449:22: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1449:14: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1449:22: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1449:14: note: in expansion of macro ‘QR_MAXI’ 1449 | b2=qr_ilog(QR_MAXI(QR_MAXI(abs(a20),abs(a21)),abs(a22))); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:27: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1450:19: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1450:9: note: in expansion of macro ‘QR_MAXI’ 1450 | shift=QR_MAXI(0,QR_MAXI(QR_MAXI(b0,b1),b2)-(QR_INT_BITS-3-QR_ALIGN_SUBPREC)); | ^~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1453:7: note: in expansion of macro ‘QR_FIXMUL’ 1453 | a00=QR_FIXMUL(dx10,a20+a22,round,shift); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1454:7: note: in expansion of macro ‘QR_FIXMUL’ 1454 | a01=QR_FIXMUL(dx20,a21+a22,round,shift); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1455:7: note: in expansion of macro ‘QR_FIXMUL’ 1455 | a10=QR_FIXMUL(dy10,a20+a22,round,shift); | ^~~~~~~~~ Source/zbar/qrcode/util.h:39:59: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 39 | #define QR_FIXMUL(_a,_b,_r,_s) ((int)((_a)*(long long)(_b)+(_r)>>(_s))) | ~~~~~~~~~~~~~~~~~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1456:7: note: in expansion of macro ‘QR_FIXMUL’ 1456 | a11=QR_FIXMUL(dy20,a21+a22,round,shift); | ^~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1463:25: note: in expansion of macro ‘QR_DIVROUND’ 1463 | _cell->fwd[0][0]=(i00?QR_DIVROUND(a00,i00):0)+(i10?QR_DIVROUND(a01,i10):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1463:54: note: in expansion of macro ‘QR_DIVROUND’ 1463 | _cell->fwd[0][0]=(i00?QR_DIVROUND(a00,i00):0)+(i10?QR_DIVROUND(a01,i10):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1464:25: note: in expansion of macro ‘QR_DIVROUND’ 1464 | _cell->fwd[0][1]=(i01?QR_DIVROUND(a00,i01):0)+(i11?QR_DIVROUND(a01,i11):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1464:54: note: in expansion of macro ‘QR_DIVROUND’ 1464 | _cell->fwd[0][1]=(i01?QR_DIVROUND(a00,i01):0)+(i11?QR_DIVROUND(a01,i11):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1465:25: note: in expansion of macro ‘QR_DIVROUND’ 1465 | _cell->fwd[1][0]=(i00?QR_DIVROUND(a10,i00):0)+(i10?QR_DIVROUND(a11,i10):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1465:54: note: in expansion of macro ‘QR_DIVROUND’ 1465 | _cell->fwd[1][0]=(i00?QR_DIVROUND(a10,i00):0)+(i10?QR_DIVROUND(a11,i10):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1466:25: note: in expansion of macro ‘QR_DIVROUND’ 1466 | _cell->fwd[1][1]=(i01?QR_DIVROUND(a10,i01):0)+(i11?QR_DIVROUND(a11,i11):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1466:54: note: in expansion of macro ‘QR_DIVROUND’ 1466 | _cell->fwd[1][1]=(i01?QR_DIVROUND(a10,i01):0)+(i11?QR_DIVROUND(a11,i11):0); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1467:25: note: in expansion of macro ‘QR_DIVROUND’ 1467 | _cell->fwd[2][0]=(i00?QR_DIVROUND(a20,i00):0)+(i10?QR_DIVROUND(a21,i10):0) | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1467:54: note: in expansion of macro ‘QR_DIVROUND’ 1467 | _cell->fwd[2][0]=(i00?QR_DIVROUND(a20,i00):0)+(i10?QR_DIVROUND(a21,i10):0) | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1468:10: note: in expansion of macro ‘QR_DIVROUND’ 1468 | +(i20?QR_DIVROUND(a22,i20):0)+round>>shift; | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1468:33: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1467 | _cell->fwd[2][0]=(i00?QR_DIVROUND(a20,i00):0)+(i10?QR_DIVROUND(a21,i10):0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1468 | +(i20?QR_DIVROUND(a22,i20):0)+round>>shift; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1469:25: note: in expansion of macro ‘QR_DIVROUND’ 1469 | _cell->fwd[2][1]=(i01?QR_DIVROUND(a20,i01):0)+(i11?QR_DIVROUND(a21,i11):0) | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1469:54: note: in expansion of macro ‘QR_DIVROUND’ 1469 | _cell->fwd[2][1]=(i01?QR_DIVROUND(a20,i01):0)+(i11?QR_DIVROUND(a21,i11):0) | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1470:10: note: in expansion of macro ‘QR_DIVROUND’ 1470 | +(i21?QR_DIVROUND(a22,i21):0)+round>>shift; | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1470:33: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1469 | _cell->fwd[2][1]=(i01?QR_DIVROUND(a20,i01):0)+(i11?QR_DIVROUND(a21,i11):0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1470 | +(i21?QR_DIVROUND(a22,i21):0)+round>>shift; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Source/zbar/qrcode/qrdec.c:1471:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1471 | _cell->fwd[2][2]=a22+round>>shift; | ~~~^~~~~~ Source/zbar/qrcode/qrdec.c:1490:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1490 | _cell->fwd[0][2]=a02+2>>2; | ~~~^~ Source/zbar/qrcode/qrdec.c:1491:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1491 | _cell->fwd[1][2]=a12+2>>2; | ~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_cell_fproject’: Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1514:11: note: in expansion of macro ‘QR_DIVROUND’ 1514 | _p[0]=QR_DIVROUND(_x,_w)+_cell->x0; | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1515:11: note: in expansion of macro ‘QR_DIVROUND’ 1515 | _p[1]=QR_DIVROUND(_y,_w)+_cell->y0; | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_alignment_pattern_search’: Source/zbar/qrcode/qrdec.c:1621:44: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 1621 | x=_cell->fwd[0][0]*u+_cell->fwd[0][1]*v+_cell->fwd[0][2]<fwd[1][0]*u+_cell->fwd[1][1]*v+_cell->fwd[1][2]<fwd[2][0]*u+_cell->fwd[2][1]*v+_cell->fwd[2][2]<>’ [-Wparentheses] 1695 | x0=p[MASK_COORDS[i][1]][MASK_COORDS[i][0]][0]+dx>>QR_FINDER_SUBPREC; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ Source/zbar/qrcode/qrdec.c:1697:52: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1697 | y0=p[MASK_COORDS[i][1]][MASK_COORDS[i][0]][1]+dy>>QR_FINDER_SUBPREC; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ Source/zbar/qrcode/qrdec.c:1699:56: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1699 | x1=p[4-MASK_COORDS[i][1]][4-MASK_COORDS[i][0]][0]+dx>>QR_FINDER_SUBPREC; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ Source/zbar/qrcode/qrdec.c:1701:56: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1701 | y1=p[4-MASK_COORDS[i][1]][4-MASK_COORDS[i][0]][1]+dy>>QR_FINDER_SUBPREC; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1731:9: note: in expansion of macro ‘QR_MAXI’ 1731 | w=QR_MAXI(a,b); | ^~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1732:18: note: in expansion of macro ‘QR_DIVROUND’ 1732 | c[i<<1][0]=QR_DIVROUND(w*(b*c[i<<1][0]+a*c[i<<1|1][0]),a*b); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1733:18: note: in expansion of macro ‘QR_DIVROUND’ 1733 | c[i<<1][1]=QR_DIVROUND(w*(b*c[i<<1][1]+a*c[i<<1|1][1]),a*b); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1748:8: note: in expansion of macro ‘QR_DIVROUND’ 1748 | dx=QR_DIVROUND(c[0][0],nc[0]); | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:1749:8: note: in expansion of macro ‘QR_DIVROUND’ 1749 | dy=QR_DIVROUND(c[0][1],nc[0]); | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_hom_fit’: Source/zbar/qrcode/qrdec.c:1887:41: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 1887 | ox=(_aff->x0<<_aff->res)+(1<<_aff->res-1); | ~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:1888:41: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 1888 | oy=(_aff->y0<<_aff->res)+(1<<_aff->res-1); | ~~~~~~~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c:1917:35: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1917 | rdone=rv>=QR_MINI(bv,_dl->o[1]+bv>>1)||nrempty>14; | ~~~~~~~~~^~~ Source/zbar/qrcode/util.h:10:37: note: in definition of macro ‘QR_MINI’ 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ^~ Source/zbar/qrcode/qrdec.c:1917:35: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1917 | rdone=rv>=QR_MINI(bv,_dl->o[1]+bv>>1)||nrempty>14; | ~~~~~~~~~^~~ Source/zbar/qrcode/util.h:10:49: note: in definition of macro ‘QR_MINI’ 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ^~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1917:15: note: in expansion of macro ‘QR_MINI’ 1917 | rdone=rv>=QR_MINI(bv,_dl->o[1]+bv>>1)||nrempty>14; | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1918:35: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1918 | bdone=bu>=QR_MINI(ru,_ur->o[0]+ru>>1)||nbempty>14; | ~~~~~~~~~^~~ Source/zbar/qrcode/util.h:10:37: note: in definition of macro ‘QR_MINI’ 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ^~ Source/zbar/qrcode/qrdec.c:1918:35: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1918 | bdone=bu>=QR_MINI(ru,_ur->o[0]+ru>>1)||nbempty>14; | ~~~~~~~~~^~~ Source/zbar/qrcode/util.h:10:49: note: in definition of macro ‘QR_MINI’ 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ^~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1918:15: note: in expansion of macro ‘QR_MINI’ 1918 | bdone=bu>=QR_MINI(ru,_ur->o[0]+ru>>1)||nbempty>14; | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1920:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1920 | x0=rx+drxj>>_aff->res+QR_FINDER_SUBPREC; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1921:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1921 | y0=ry+dryj>>_aff->res+QR_FINDER_SUBPREC; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1922:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1922 | x1=rx-drxj>>_aff->res+QR_FINDER_SUBPREC; Source/zbar/qrcode/qrdec.c:1923:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1923 | y1=ry-dryj>>_aff->res+QR_FINDER_SUBPREC; Source/zbar/qrcode/qrdec.c:1937:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1937 | ru=ru+q[0]>>1; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1939:31: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1939 | if(q[1]+drv>rv)rv=rv+q[1]>>1; | ~~^~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1944:17: note: in expansion of macro ‘QR_MAXI’ 1944 | if(nr>QR_MAXI(1,rlastfit+(rlastfit>>2))){ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:1964:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1964 | x0=bx+dbxj>>_aff->res+QR_FINDER_SUBPREC; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1965:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1965 | y0=by+dbyj>>_aff->res+QR_FINDER_SUBPREC; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1966:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1966 | x1=bx-dbxj>>_aff->res+QR_FINDER_SUBPREC; Source/zbar/qrcode/qrdec.c:1967:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1967 | y1=by-dbyj>>_aff->res+QR_FINDER_SUBPREC; Source/zbar/qrcode/qrdec.c:1982:31: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1982 | if(q[0]+dbu>bu)bu=bu+q[0]>>1; | ~~^~~~~ Source/zbar/qrcode/qrdec.c:1983:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 1983 | bv=bv+q[1]>>1; | ~~^~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:1988:17: note: in expansion of macro ‘QR_MAXI’ 1988 | if(nb>QR_MAXI(1,blastfit+(blastfit>>2))){ | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2016:11: note: in expansion of macro ‘QR_MAXI’ 2016 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2017:14: note: in expansion of macro ‘QR_MAXI’ 2017 | qr_ilog(QR_MAXI(abs(_aff->fwd[0][1]),abs(_aff->fwd[1][1]))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2018:17: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2018 | -(_aff->res+1>>1)); | ~~~~~~~~~^~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2016:11: note: in expansion of macro ‘QR_MAXI’ 2016 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2017:14: note: in expansion of macro ‘QR_MAXI’ 2017 | qr_ilog(QR_MAXI(abs(_aff->fwd[0][1]),abs(_aff->fwd[1][1]))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2018:17: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2018 | -(_aff->res+1>>1)); | ~~~~~~~~~^~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2016:11: note: in expansion of macro ‘QR_MAXI’ 2016 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2020:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2020 | l[1][0]=_aff->fwd[1][1]+round>>shift; | ~~~~~~~~~~~~~~~^~~~~~ Source/zbar/qrcode/qrdec.c:2021:29: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2021 | l[1][1]=-_aff->fwd[0][1]+round>>shift; | ~~~~~~~~~~~~~~~~^~~~~~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2028:11: note: in expansion of macro ‘QR_MAXI’ 2028 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2029:14: note: in expansion of macro ‘QR_MAXI’ 2029 | qr_ilog(QR_MAXI(abs(_aff->fwd[0][1]),abs(_aff->fwd[1][1]))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2030:17: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2030 | -(_aff->res+1>>1)); | ~~~~~~~~~^~ Source/zbar/qrcode/util.h:9:42: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2028:11: note: in expansion of macro ‘QR_MAXI’ 2028 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2029:14: note: in expansion of macro ‘QR_MAXI’ 2029 | qr_ilog(QR_MAXI(abs(_aff->fwd[0][1]),abs(_aff->fwd[1][1]))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2030:17: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2030 | -(_aff->res+1>>1)); | ~~~~~~~~~^~ Source/zbar/qrcode/util.h:9:49: note: in definition of macro ‘QR_MAXI’ 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ^~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2028:11: note: in expansion of macro ‘QR_MAXI’ 2028 | shift=QR_MAXI(0, | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2032:28: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2032 | l[3][0]=_aff->fwd[1][0]+round>>shift; | ~~~~~~~~~~~~~~~^~~~~~ Source/zbar/qrcode/qrdec.c:2033:29: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 2033 | l[3][1]=-_aff->fwd[0][0]+round>>shift; | ~~~~~~~~~~~~~~~~^~~~~~ Source/zbar/qrcode/qrdec.c:2042:22: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 2042 | _p[i][0]>=_width<=_height<>1,_x))/(_y)) | ^~ Source/zbar/qrcode/qrdec.c:2100:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 2100 | QR_EXTMUL(6*_p[0][0],c21-p3[1]*dx21,0)))+mask^mask,w); Source/zbar/qrcode/util.h:12:33: note: in definition of macro ‘QR_SIGNMASK’ 12 | #define QR_SIGNMASK(_x) (-((_x)<0)) | ^~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2098:16: note: in expansion of macro ‘QR_DIVROUND’ 2098 | brx=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][0],p3[0]*dy21, | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2100:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 2100 | QR_EXTMUL(6*_p[0][0],c21-p3[1]*dx21,0)))+mask^mask,w); Source/zbar/qrcode/util.h:12:33: note: in definition of macro ‘QR_SIGNMASK’ 12 | #define QR_SIGNMASK(_x) (-((_x)<0)) | ^~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2098:16: note: in expansion of macro ‘QR_DIVROUND’ 2098 | brx=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][0],p3[0]*dy21, | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2098:16: note: in expansion of macro ‘QR_DIVROUND’ 2098 | brx=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][0],p3[0]*dy21, | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2103:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 2103 | QR_EXTMUL(6*_p[0][1],c21+p3[0]*dy21,0)))+mask^mask,w); Source/zbar/qrcode/util.h:17:32: note: in definition of macro ‘QR_DIVROUND’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~ Source/zbar/qrcode/qrdec.c:2103:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 2103 | QR_EXTMUL(6*_p[0][1],c21+p3[0]*dy21,0)))+mask^mask,w); Source/zbar/qrcode/util.h:12:33: note: in definition of macro ‘QR_SIGNMASK’ 12 | #define QR_SIGNMASK(_x) (-((_x)<0)) | ^~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2101:16: note: in expansion of macro ‘QR_DIVROUND’ 2101 | bry=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][1],-p3[1]*dx21, | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2103:48: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 2103 | QR_EXTMUL(6*_p[0][1],c21+p3[0]*dy21,0)))+mask^mask,w); Source/zbar/qrcode/util.h:12:33: note: in definition of macro ‘QR_SIGNMASK’ 12 | #define QR_SIGNMASK(_x) (-((_x)<0)) | ^~ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2101:16: note: in expansion of macro ‘QR_DIVROUND’ 2101 | bry=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][1],-p3[1]*dx21, | ^~~~~~~~~~~ Source/zbar/qrcode/util.h:14:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 14 | #define QR_FLIPSIGNI(_a,_b) ((_a)+QR_SIGNMASK(_b)^QR_SIGNMASK(_b)) | ^ Source/zbar/qrcode/util.h:17:36: note: in expansion of macro ‘QR_FLIPSIGNI’ 17 | #define QR_DIVROUND(_x,_y) (((_x)+QR_FLIPSIGNI(_y>>1,_x))/(_y)) | ^~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2101:16: note: in expansion of macro ‘QR_DIVROUND’ 2101 | bry=(int)QR_DIVROUND(QR_EXTMUL((dim-7)*_p[0][1],-p3[1]*dx21, | ^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_finder_fmt_info_decode’: Source/zbar/qrcode/qrdec.c:2373:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2373 | if(nerrs[besti]>3&&nerrs[i]<=3|| | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:2374:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2374 | count[i]>count[besti]||count[i]==count[besti]&&nerrs[i]>’ [-Wparentheses] 2404 | stride=_dim+QR_INT_BITS-1>>QR_INT_LOGBITS; | ~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2408:55: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 2408 | _grid->fpmask[j*stride+(i>>QR_INT_LOGBITS)]|=1<<(i&QR_INT_BITS-1); | ^ Source/zbar/qrcode/qrdec.c: In function ‘qr_sampling_grid_is_in_fp’: Source/zbar/qrcode/qrdec.c:2415:44: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 2415 | return _grid->fpmask[_u*(_dim+QR_INT_BITS-1>>QR_INT_LOGBITS) | ~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2416:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 2416 | +(_v>>QR_INT_LOGBITS)]>>(_v&QR_INT_BITS-1)&1; | ^ Source/zbar/qrcode/qrdec.c: In function ‘qr_sampling_grid_init’: Source/zbar/qrcode/qrdec.c:2472:20: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 2472 | (dim+QR_INT_BITS-1>>QR_INT_LOGBITS)*sizeof(*_grid->fpmask)); | ~~~~~~~~~~~~~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2521:12: note: in expansion of macro ‘QR_MINI’ 2521 | jmax=QR_MINI(k,nalign-1)-(k==nalign-1); | ^~~~~~~ Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2522:12: note: in expansion of macro ‘QR_MAXI’ 2522 | jmin=QR_MAXI(0,k-(nalign-1))+(k==nalign-1); | ^~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2548:11: note: in expansion of macro ‘QR_SORT2I’ 2548 | QR_SORT2I(p0[0],p1[0]); | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2549:11: note: in expansion of macro ‘QR_SORT2I’ 2549 | QR_SORT2I(p0[1],p1[1]); | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2550:11: note: in expansion of macro ‘QR_SORT2I’ 2550 | QR_SORT2I(p1[0],p2[0]); | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2551:11: note: in expansion of macro ‘QR_SORT2I’ 2551 | QR_SORT2I(p1[1],p2[1]); | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2552:11: note: in expansion of macro ‘QR_SORT2I’ 2552 | QR_SORT2I(p0[0],p1[0]); | ^~~~~~~~~ Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:24:9: note: in expansion of macro ‘QR_MINI’ 24 | t__=QR_MINI(_a,_b)^(_a); \ | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2553:11: note: in expansion of macro ‘QR_SORT2I’ 2553 | QR_SORT2I(p0[1],p1[1]); | ^~~~~~~~~ Source/zbar/qrcode/qrdec.c:2603:12: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 2603 | _width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:18:30: note: in expansion of macro ‘QR_MAXI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2602:14: note: in expansion of macro ‘QR_CLAMPI’ 2602 | _p[i][0]=QR_CLAMPI(-_width<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ^~ Source/zbar/qrcode/util.h:18:41: note: in expansion of macro ‘QR_MINI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.h:18:30: note: in expansion of macro ‘QR_MAXI’ 18 | #define QR_CLAMPI(_a,_b,_c) (QR_MAXI(_a,QR_MINI(_b,_c))) | ^~~~~~~ Source/zbar/qrcode/qrdec.c:2604:14: note: in expansion of macro ‘QR_CLAMPI’ 2604 | _p[i][1]=QR_CLAMPI(-_height<>’ [-Wparentheses] 2688 | stride=_dim+QR_INT_BITS-1>>QR_INT_LOGBITS; | ~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2734:34: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 2734 | mi=mi>>QR_INT_BITS%3|mi<<3-QR_INT_BITS%3; | ^~ Source/zbar/qrcode/qrdec.c:2763:31: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 2763 | m=m>>QR_INT_BITS%6|m<<6-QR_INT_BITS%6; | ^~ Source/zbar/qrcode/qrdec.c:2775:40: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 2775 | for(i=0;i<6;i++)m|=((i*j)%3+i*j+1&1)<>QR_INT_BITS%6|m<<6-QR_INT_BITS%6; | ^~ Source/zbar/qrcode/qrdec.c:2791:40: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 2791 | for(i=0;i<6;i++)m|=((i*j)%3+i+j+1&1)<>QR_INT_BITS%6|m<<6-QR_INT_BITS%6; | ^~ Source/zbar/qrcode/qrdec.c: In function ‘qr_sampling_grid_sample’: Source/zbar/qrcode/qrdec.c:2812:26: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 2812 | stride=_dim+QR_INT_BITS-1>>QR_INT_LOGBITS; | ~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2856:63: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 2856 | qr_img_get_bit(_img,_width,_height,p[0],p[1])<<(v&QR_INT_BITS-1); | ^ Source/zbar/qrcode/qrdec.c: In function ‘qr_samples_unpack’: Source/zbar/qrcode/qrdec.c:2887:26: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 2887 | stride=_dim+QR_INT_BITS-1>>QR_INT_LOGBITS; | ~~~~~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2900:16: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 2900 | nbits=(_dim-1&QR_INT_BITS-1)+1; | ~~~~^~ Source/zbar/qrcode/qrdec.c:2910:36: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 2910 | bits=bits<<1|data1>>nbits&1; | ~~~~~~~~~~~~^~ Source/zbar/qrcode/qrdec.c:2915:36: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 2915 | bits=bits<<1|data2>>nbits&1; | ~~~~~~~~~~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/util.h:10:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 10 | #define QR_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:2946:13: note: in expansion of macro ‘QR_MINI’ 2946 | nbits=QR_MINI(_dim-(i<endbit; | ~^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c:3017:29: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 3017 | if(_bits>16)ret|=p[2]>>8-_b->endbit; | ~^~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_pack_buf_avail’: Source/zbar/qrcode/qrdec.c:3025:22: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 3025 | return (_b->storage-_b->endbyte<<3)-_b->endbit; | ~~~~~~~~~~~^~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdec.c:11: Source/zbar/qrcode/qrdec.c: In function ‘qr_code_data_clear’: Source/zbar/qrcode/qrdec.h:42:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 42 | #define QR_MODE_HAS_DATA(_mode) (!((_mode)&(_mode)-1)) | ~~~~~~~^~ Source/zbar/qrcode/qrdec.c:3255:8: note: in expansion of macro ‘QR_MODE_HAS_DATA’ 3255 | if(QR_MODE_HAS_DATA(_qrdata->entries[i].mode)){ | ^~~~~~~~~~~~~~~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_code_ncodewords’: Source/zbar/qrcode/qrdec.c:3303:44: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 3302 | return (_version<<4)*(_version+8) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 3303 | -(5*nalign)*(5*nalign-2)+36*(_version<7)+83>>3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ Source/zbar/qrcode/qrdec.c: In function ‘qr_code_decode’: Source/zbar/qrcode/qrdec.c:3396:24: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 3396 | dim*(dim+QR_INT_BITS-1>>QR_INT_LOGBITS)*sizeof(*data_bits)); | ~~~~~~~~~~~~~~~^~ In file included from Source/zbar/qrcode/qrdec.c:15: Source/zbar/qrcode/qrdec.c: In function ‘qr_reader_try_configuration’: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdec.c:3497:49: note: in expansion of macro ‘QR_MAXI’ 3497 | res=QR_INT_BITS-2-QR_FINDER_SUBPREC-qr_ilog(QR_MAXI(_width,_height)-1); | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/qrdectxt.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/qrdectxt.o In file included from Source/zbar/qrcode/qrdectxt.c:11: Source/zbar/qrcode/qrdectxt.c: In function ‘qr_code_data_list_extract_text’: Source/zbar/qrcode/qrdec.h:42:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 42 | #define QR_MODE_HAS_DATA(_mode) (!((_mode)&(_mode)-1)) | ~~~~~~~^~ Source/zbar/qrcode/qrdectxt.c:124:16: note: in expansion of macro ‘QR_MODE_HAS_DATA’ 124 | if(QR_MODE_HAS_DATA(entry->mode)){ | ^~~~~~~~~~~~~~~~ In file included from Source/zbar/qrcode/qrdectxt.c:12: Source/zbar/qrcode/util.h:9:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 9 | #define QR_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/qrdectxt.c:308:42: note: in expansion of macro ‘QR_MAXI’ 308 | sprintf(buf,"ISO8859-%i",QR_MAXI(cur_eci,3)-2); | ^~~~~~~ Source/zbar/qrcode/qrdectxt.c:358:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 358 | for(j = 0; j < syms->npts; j++) { | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/rs.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/rs.o Source/zbar/qrcode/rs.c: In function ‘rs_gsqrt’: Source/zbar/qrcode/rs.c:67:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 67 | return _gf->exp[loga+(255&-(loga&1))>>1]; | ~~~~^~~~~~~~~~~~~~~~ Source/zbar/qrcode/rs.c: In function ‘rs_cubic_solve’: Source/zbar/qrcode/rs.c:199:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 199 | logd=logd2+(255&-(logd2&1))>>1; | ~~~~~^~~~~~~~~~~~~~~~~ Source/zbar/qrcode/rs.c: In function ‘rs_quartic_solve’: Source/zbar/qrcode/rs.c:297:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 297 | if(nroots!=2||_x[0]!=s&&_x[1]!=s)_x[nroots++]=s; | ~~~~~~~~^~~~~~~~~~ Source/zbar/qrcode/rs.c: In function ‘rs_correct’: Source/zbar/qrcode/rs.c:533:44: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses] 533 | if(nerrors<=0||nerrors-_nerasures>_npar-_nerasures>>1)return -1; | ~~~~~^~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/qrcode/util.c -o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/util.o Source/zbar/qrcode/util.c: In function ‘qr_isqrt’: Source/zbar/qrcode/util.c:22:13: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 22 | t=(g<<1)+b<(_a)))) | ~~~~^~~~~ Source/zbar/qrcode/util.c:57:9: note: in expansion of macro ‘QR_MAXI’ 57 | shift=QR_MAXI(shift,0); | ^~~~~~~ Source/zbar/qrcode/util.c:62:8: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 62 | x+=_y+mask^mask; | ~~^~~~~ Source/zbar/qrcode/util.c:63:8: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 63 | _y-=u+mask^mask; | ~^~~~~ Source/zbar/qrcode/util.c:64:6: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 64 | u=x+1>>1; | ~^~ Source/zbar/qrcode/util.c:65:7: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 65 | v=_y+1>>1; | ~~^~ Source/zbar/qrcode/util.c:67:7: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 67 | x+=v+mask^mask; | ~^~~~~ Source/zbar/qrcode/util.c:68:8: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 68 | _y-=u+mask^mask; | ~^~~~~ Source/zbar/qrcode/util.c:71:8: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 71 | u=x+1>>2; | ~^~ Source/zbar/qrcode/util.c:73:9: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 73 | v=_y+r>>2*i; | ~~^~ Source/zbar/qrcode/util.c:75:9: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 75 | x+=v+mask^mask; | ~^~~~~ Source/zbar/qrcode/util.c:76:13: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] 76 | _y=_y-(u+mask^mask)<<1; | ~^~~~~ Source/zbar/qrcode/util.c:76:10: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 76 | _y=_y-(u+mask^mask)<<1; | ~~^~~~~~~~~~~~~~ Source/zbar/qrcode/util.c:78:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] 78 | return x+((1U<>1)>>shift; | ~^~~~~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/refcnt.c -o build/temp.linux-aarch64-3.9/Source/zbar/refcnt.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/scanner.c -o build/temp.linux-aarch64-3.9/Source/zbar/scanner.o Source/zbar/scanner.c: In function ‘zbar_scan_y’: Source/zbar/scanner.c:249:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 249 | (calc_thresh(scn) <= abs(y1_1))) | ^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c Source/zbar/symbol.c -o build/temp.linux-aarch64-3.9/Source/zbar/symbol.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DENABLE_QRCODE -DENABLE_EAN -DENABLE_I25 -DENABLE_CODE39 -DENABLE_CODE128 -DENABLE_PDF417 -DHAVE_INTTYPES_H -DZBAR_VERSION_MAJOR=0 -DZBAR_VERSION_MINOR=10 -DNO_STATS -ISource -ISource/zbar -I/usr/include/python3.9 -c zbar/_zbar.c -o build/temp.linux-aarch64-3.9/zbar/_zbar.o gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-3.9/Source/zbar/decoder.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/code128.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/code39.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/ean.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/i25.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/pdf417.o build/temp.linux-aarch64-3.9/Source/zbar/decoder/qr_finder.o build/temp.linux-aarch64-3.9/Source/zbar/error.o build/temp.linux-aarch64-3.9/Source/zbar/img_scanner.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/bch15_5.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/binarize.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/isaac.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/qrdec.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/qrdectxt.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/rs.o build/temp.linux-aarch64-3.9/Source/zbar/qrcode/util.o build/temp.linux-aarch64-3.9/Source/zbar/refcnt.o build/temp.linux-aarch64-3.9/Source/zbar/scanner.o build/temp.linux-aarch64-3.9/Source/zbar/symbol.o build/temp.linux-aarch64-3.9/zbar/_zbar.o -L/usr/lib64 -o build/lib.linux-aarch64-3.9/zbar/_zbar.cpython-39-aarch64-linux-gnu.so + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KUC3KP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 + cd zbar-py-1.0.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr creating /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar copying build/lib.linux-aarch64-3.9/zbar/__init__.py -> /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar copying build/lib.linux-aarch64-3.9/zbar/zbar.py -> /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar copying build/lib.linux-aarch64-3.9/zbar/misc.py -> /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar copying build/lib.linux-aarch64-3.9/zbar/_zbar.cpython-39-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar byte-compiling /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar/zbar.py to zbar.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar/misc.py to misc.cpython-39.pyc writing byte-compilation script '/tmp/tmppz66jmqi.py' /usr/bin/python3 /tmp/tmppz66jmqi.py removing /tmp/tmppz66jmqi.py running install_egg_info running egg_info writing zbar_py.egg-info/PKG-INFO writing dependency_links to zbar_py.egg-info/dependency_links.txt writing requirements to zbar_py.egg-info/requires.txt writing top-level names to zbar_py.egg-info/top_level.txt reading manifest file 'zbar_py.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'LICENSE-LGPL21.txt' writing manifest file 'zbar_py.egg-info/SOURCES.txt' Copying zbar_py.egg-info to /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar_py-1.0.4-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64//usr/share/doc/python-zbar-py + '[' -d doc ']' + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + cp -arf examples /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64//usr/share/doc/python-zbar-py + pushd /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 ~/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64 ~/build/BUILD/zbar-py-1.0.4 + '[' -d usr/lib ']' + '[' -d usr/lib64 ']' + find usr/lib64 -type f -printf '/%h/%f\n' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/zbar-py-1.0.4 + popd + mv /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.0.4-1 --unique-debug-suffix -1.0.4-1.aarch64 --unique-debug-src-base python-zbar-py-1.0.4-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/zbar-py-1.0.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar/_zbar.cpython-39-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9/site-packages/zbar/_zbar.cpython-39-aarch64-linux-gnu.so 826 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-zbar-py-1.0.4-1.noarch error: Directory not found: /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib/python3.9/site-packages/* RPM build errors: Directory not found: /builddir/build/BUILDROOT/python-zbar-py-1.0.4-1.aarch64/usr/lib/python3.9/site-packages/* Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-zbar-py.spec