Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/amuc.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1678958479.978711/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'db415ffbbdaa45d1b9b08cda6743da01', '-D', '/var/lib/mock/fedora-38-aarch64-1678958479.978711/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/amuc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1603065600 Wrote: /builddir/build/SRPMS/amuc-1.7.355f024-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/amuc.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1678958479.978711/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd2fafd4af5254d3ab2f71a828d5b7fe9', '-D', '/var/lib/mock/fedora-38-aarch64-1678958479.978711/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3uyir_r_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/amuc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1603065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pZYPgG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf amuc-355f0243480dde6c691e783489793eb445a88967 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/amuc-355f024.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd amuc-355f0243480dde6c691e783489793eb445a88967 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/amuc-0001-fix-build-with-gcc-7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/amuc-0002-add-missing-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/amuc-0003-fix-makefiles.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e s/strip/#strip/g Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DZfJUh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd amuc-355f0243480dde6c691e783489793eb445a88967 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j4 V=1 VERBOSE=1 -j1 make -C src-abcm2ps make[1]: Entering directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-abcm2ps' g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer abcm2ps.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer abcparse.cpp abcparse.cpp: In function 'char* get_deco(char*, char*)': abcparse.cpp:403:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 403 | if (strlen(*t) == l | ~~~~~~~~~~~^~~~ abcparse.cpp: In function 'char* parse_acc(char*, SYMBOL*)': abcparse.cpp:427:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 427 | if (nacc >= sizeof s->un.key.pits) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ abcparse.cpp: In function 'const char* parse_meter(char*, SYMBOL*)': abcparse.cpp:843:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 843 | && i < sizeof s->un.meter.meter[0].top) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abcparse.cpp:852:45: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 852 | && i < sizeof s->un.meter.meter[0].bot) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abcparse.cpp: In function 'char* parse_tempo(char*, SYMBOL*)': abcparse.cpp:1087:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1087 | || i >= sizeof s->un.tempo.length | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1088 | / sizeof s->un.tempo.length[0]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abcparse.cpp: In function 'char* get_user(char*, SYMBOL*)': abcparse.cpp:1129:21: warning: array subscript has type 'char' [-Wchar-subscripts] 1129 | if (char_tb[*p] != CHAR_DECO) /* accept any character */ | ^~ abcparse.cpp:1131:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1131 | char_tb[*p] = CHAR_DECO; | ^~ abcparse.cpp: In function 'char* parse_bar(abctune*, char*)': abcparse.cpp:1315:49: warning: array subscript has type 'char' [-Wchar-subscripts] 1315 | curvoice = &voice_tab[curvoice->mvoice]; | ~~~~~~~~~~^~~~~~ abcparse.cpp: In function 'char* parse_deco(char*, deco*)': abcparse.cpp:1467:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1467 | if (char_tb[c] != CHAR_DECO) | ^ abcparse.cpp: In function 'int parse_line(abctune*, char*)': abcparse.cpp:1702:33: warning: array subscript has type 'char' [-Wchar-subscripts] 1702 | switch (char_tb[*p++]) { | ^~~~ abcparse.cpp:1838:65: warning: array subscript has type 'char' [-Wchar-subscripts] 1838 | curvoice->qplet = qtb[curvoice->pplet]; | ~~~~~~~~~~^~~~~ abcparse.cpp:1912:57: warning: array subscript has type 'char' [-Wchar-subscripts] 1912 | curvoice = &voice_tab[curvoice->mvoice]; | ~~~~~~~~~~^~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer buffer.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer deco.cpp deco.cpp: In function 'void d_arp(deco_elt*)': deco.cpp:273:21: warning: variable 'dd' set but not used [-Wunused-but-set-variable] 273 | deco_def_s *dd; | ^~ deco.cpp: In function 'void d_near(deco_elt*)': deco.cpp:399:21: warning: variable 'dd' set but not used [-Wunused-but-set-variable] 399 | deco_def_s *dd; | ^~ deco.cpp: In function 'void d_slide(deco_elt*)': deco.cpp:467:21: warning: variable 'dd' set but not used [-Wunused-but-set-variable] 467 | deco_def_s *dd; | ^~ deco.cpp: In function 'void deco_add(char*)': deco.cpp:676:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 676 | if (c_func < 0 || c_func >= sizeof func_tb / sizeof func_tb[0]) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deco.cpp:702:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 702 | for (ps_x = 0; ps_x < sizeof ps_func_tb / sizeof ps_func_tb[0]; ps_x++) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deco.cpp:714:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 714 | for (str_x = 1; str_x < sizeof str_tb / sizeof str_tb[0]; str_x++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deco.cpp: In function 'float draw_partempo(float, int, int, int)': deco.cpp:1512:50: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1512 | while (i < sizeof s->un.tempo.length | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1513 | / sizeof s->un.tempo.length[0] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deco.cpp:1557:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1557 | while (j < sizeof s->un.tempo.length | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1558 | / sizeof s->un.tempo.length[0] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer draw.cpp draw.cpp: In function 'int calculate_beam(BEAM*, SYMBOL*)': draw.cpp:125:58: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | else s->xs += -stem_xoff + s->shhd[s->nhd]; | ~~~^~~ draw.cpp:205:29: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | && voice_tb[s1->voice].key.bagpipe) { | ~~~~^~~~~ draw.cpp:252:56: warning: array subscript has type 'char' [-Wchar-subscripts] 252 | if (s->pits[s->nhd] > 26) { | ~~~^~~ draw.cpp:254:64: warning: array subscript has type 'char' [-Wchar-subscripts] 254 | if (s->pits[s->nhd] > 28) | ~~~^~~ draw.cpp: In function 'void draw_rest(SYMBOL*)': draw.cpp:947:43: warning: array subscript has type 'char' [-Wchar-subscripts] 947 | if (s->un.note.len == voice_tb[s->voice].meter.wmeasure) { | ~~~^~~~~ draw.cpp: In function 'void draw_gracenotes(float, SYMBOL*)': draw.cpp:1044:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1044 | if (voice_tb[s->voice].key.bagpipe /* no slur when bagpipe */ | ~~~^~~~~ draw.cpp:1010:15: warning: variable 'a' set but not used [-Wunused-but-set-variable] 1010 | float a, b, staffb; | ^ draw.cpp: In function 'void draw_basic_note(float, SYMBOL*, int)': draw.cpp:1137:33: warning: array subscript has type 'char' [-Wchar-subscripts] 1137 | && voice_tb[s->voice].clef.type == PERC) | ~~~^~~~~ draw.cpp:1213:28: warning: array subscript has type 'char' [-Wchar-subscripts] 1213 | && voice_tb[s->voice].clef.type != PERC) { | ~~~^~~~~ In file included from draw.cpp:25: draw.cpp:1219:49: warning: array subscript has type 'char' [-Wchar-subscripts] 1219 | p, acc_tb[s->un.note.accs[m]]); | ~~~~~~~~~~~~~~~~~^ abc2ps.h:352:45: note: in definition of macro 'PUT3' 352 | #define PUT3(f,a,b,c) do {sprintf(mbf,f,a,b,c); a2b(); } while (0) | ^ draw.cpp: In function 'void draw_vocals(SYMBOL*)': draw.cpp:2412:34: warning: array subscript has type 'char' [-Wchar-subscripts] 2412 | if ((nwl = voice_tb[sym->voice].nvocal) == 0) | ~~~~~^~~~~ draw.cpp:2414:27: warning: array subscript has type 'char' [-Wchar-subscripts] 2414 | y = voice_tb[sym->voice].yvocal; | ~~~~~^~~~~ draw.cpp: In function 'void draw_whistle()': draw.cpp:2840:58: warning: array subscript has type 'char' [-Wchar-subscripts] 2840 | + acc_pitch[workmap[pitch]] | ~~~~~~~~~~~~~^ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer format.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer music.cpp music.cpp: In function 'void set_clef(int)': music.cpp:257:43: warning: array subscript has type 'char' [-Wchar-subscripts] 257 | || s->pits[s->nhd] > 20) /* G */ | ~~~^~~ music.cpp:272:43: warning: array subscript has type 'char' [-Wchar-subscripts] 272 | || s->pits[s->nhd] < 20) /* G */ | ~~~^~~ music.cpp:288:34: warning: array subscript has type 'char' [-Wchar-subscripts] 288 | if (!voice_tb[s->voice].second) | ~~~^~~~~ music.cpp:295:50: warning: array subscript has type 'char' [-Wchar-subscripts] 295 | if (voice_tb[s2->voice].second) | ~~~~^~~~~ music.cpp:309:58: warning: array subscript has type 'char' [-Wchar-subscripts] 309 | if (s2->pits[s2->nhd] <= 13) /* G, */ | ~~~~^~~ music.cpp:315:43: warning: array subscript has type 'char' [-Wchar-subscripts] 315 | if (!voice_tb[s2->voice].second) { | ~~~~^~~~~ music.cpp: In function 'void set_float()': music.cpp:503:40: warning: array subscript has type 'char' [-Wchar-subscripts] 503 | if (s->pits[s->nhd] <= 13) { /* G, */ | ~~~^~~ music.cpp:522:40: warning: array subscript has type 'char' [-Wchar-subscripts] 522 | if (s->pits[s->nhd] > up - 3) { | ~~~^~~ music.cpp:532:53: warning: array subscript has type 'char' [-Wchar-subscripts] 532 | && s1->pits[s1->nhd] > down) | ~~~~^~~ music.cpp:533:61: warning: array subscript has type 'char' [-Wchar-subscripts] 533 | down = s1->pits[s1->nhd]; | ~~~~^~~ music.cpp:545:42: warning: array subscript has type 'char' [-Wchar-subscripts] 545 | up -= s->pits[s->nhd]; | ~~~^~~ music.cpp: In function 'void set_pitch()': music.cpp:580:42: warning: array subscript has type 'char' [-Wchar-subscripts] 580 | if (!voice_tb[s->voice].second) { | ~~~^~~~~ music.cpp:611:58: warning: array subscript has type 'char' [-Wchar-subscripts] 611 | g->ymx = 3 * (g->pits[g->nhd] - 18); | ~~~^~~ music.cpp: In function 'void set_multi()': music.cpp:750:56: warning: array subscript has type 'char' [-Wchar-subscripts] 750 | p_voice = &voice_tb[s->voice]; | ~~~^~~~~ music.cpp:777:56: warning: array subscript has type 'char' [-Wchar-subscripts] 777 | if (s->pits[s->nhd] == s->ts_prev->pits[0] | ~~~^~~ music.cpp: In function 'void set_global()': music.cpp:907:48: warning: array subscript has type 'char' [-Wchar-subscripts] 907 | if (s->pits[s->nhd] <= max) | ~~~^~~ music.cpp: In function 'void set_beams(SYMBOL*)': music.cpp:1375:33: warning: array subscript has type 'char' [-Wchar-subscripts] 1375 | if (voice_tb[s->voice].key.bagpipe) | ~~~^~~~~ music.cpp: In function 'void set_stems()': music.cpp:1731:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1731 | if (s->pits[s->nhd] > 26 | ~~~^~~ music.cpp:1736:48: warning: array subscript has type 'char' [-Wchar-subscripts] 1736 | if (s->pits[s->nhd] > 28) | ~~~^~~ music.cpp:1763:47: warning: array subscript has type 'char' [-Wchar-subscripts] 1763 | if (s->un.note.ti1[s->nhd] != 0 | ~~~^~~ music.cpp:1764:50: warning: array subscript has type 'char' [-Wchar-subscripts] 1764 | || s->un.note.ti2[s->nhd] != 0) | ~~~^~~ music.cpp: In function 'void check_bar(SYMBOL*)': music.cpp:2237:32: warning: array subscript has type 'char' [-Wchar-subscripts] 2237 | p_voice = &voice_tb[s->voice]; | ~~~^~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer parse.cpp parse.cpp: In function 'SYMBOL* ins_sym(int, SYMBOL*)': parse.cpp:105:43: warning: array subscript has type 'char' [-Wchar-subscripts] 105 | curvoice = p_voice = &voice_tb[s->voice]; | ~~~^~~~~ parse.cpp: In function 'const char* get_lyric(const char*)': parse.cpp:217:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 217 | if (curfont >= sizeof lyric_fonts / sizeof lyric_fonts[0]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.cpp: In function 'void get_over(SYMBOL*)': parse.cpp:390:43: warning: array subscript has type 'char' [-Wchar-subscripts] 390 | p_voice2 = &voice_tb[s->un.v_over.voice]; | ~~~~~~~~~~~~~^~~~~ parse.cpp: In function 'void get_staves(SYMBOL*)': parse.cpp:557:46: warning: array subscript has type 'char' [-Wchar-subscripts] 557 | p_voice = &voice_tb[p_staff->voice]; | ~~~~~~~~~^~~~~ parse.cpp:586:62: warning: array subscript has type 'char' [-Wchar-subscripts] 586 | p_voice = &voice_tb[p_staff->voice]; | ~~~~~~~~~^~~~~ parse.cpp:617:62: warning: array subscript has type 'char' [-Wchar-subscripts] 617 | p_voice = &voice_tb[p_staff->voice]; | ~~~~~~~~~^~~~~ parse.cpp: In function 'void get_info(SYMBOL*, int, const char*)': parse.cpp:819:33: warning: array subscript has type 'char' [-Wchar-subscripts] 819 | deco[s->un.user.symbol] = deco_intern(s->un.user.value); | ~~~~~~~~~~~^~~~~~ parse.cpp: In function 'void do_tune(abctune*, int)': parse.cpp:1113:36: warning: array subscript has type 'char' [-Wchar-subscripts] 1113 | s->seq = seq_tb[s->type]; | ~~~^~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer subs.cpp subs.cpp: In function 'float cwid(char)': subs.cpp:250:26: warning: array subscript has type 'char' [-Wchar-subscripts] 250 | return (float) w[c] / 1000.; | ^ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer syms.cpp ar rs abc2ps.a abcm2ps.o abcparse.o buffer.o deco.o draw.o format.o music.o parse.o subs.o syms.o ar: creating abc2ps.a g++ -c -DREAD_FILE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o main.o abcm2ps.cpp abcm2ps.cpp:85:13: warning: 'void output_file()' declared 'static' but never defined [-Wunused-function] 85 | static void output_file(void); | ^~~~~~~~~~~ abcm2ps.cpp:89:14: warning: 'char* getext(const char*)' defined but not used [-Wunused-function] 89 | static char *getext(const char *fid) { | ^~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o abcm2ps main.o abcparse.o buffer.o deco.o draw.o format.o music.o parse.o subs.o syms.o make[1]: Leaving directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-abcm2ps' make -C src make[1]: Entering directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src' g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm amuc.cpp amuc.cpp:724:68: warning: multi-character character constant [-Wmultichar] 724 | new Button(bgwin->win,Rect(2,TDIST,20,0),FN,"ok",button_cmd,Id('ok')); | ^~~~ amuc.cpp:765:77: warning: multi-character character constant [-Wmultichar] 765 | but_select=ctrl->add_extrbut(top_win->win,rect2,FN,Label("select",0),Id('sel')); | ^~~~~ amuc.cpp:767:60: warning: multi-character character constant [-Wmultichar] 767 | ctrl->add_extrbut(top_win->win,rect2,FN,"sel color",Id('scol')); | ^~~~~~ amuc.cpp:769:80: warning: multi-character character constant [-Wmultichar] 769 | but_all=ctrl->add_extrbut(top_win->win,rect2,FN,Label("sel all \273",4),Id('all')); | ^~~~~ amuc.cpp:771:75: warning: multi-character character constant [-Wmultichar] 771 | but_all_col=ctrl->add_extrbut(top_win->win,rect2,FN,"sel col \273",Id('allc')); | ^~~~~~ amuc.cpp:773:73: warning: multi-character character constant [-Wmultichar] 773 | but_move=ctrl->add_extrbut(top_win->win,rect2,FN,Label("move",0),Id('move')); | ^~~~~~ amuc.cpp:775:73: warning: multi-character character constant [-Wmultichar] 775 | but_copy=ctrl->add_extrbut(top_win->win,rect2,FN,Label("copy",0),Id('copy')); | ^~~~~~ amuc.cpp:777:78: warning: multi-character character constant [-Wmultichar] 777 | but_porta=ctrl->add_extrbut(top_win->win,rect2,FN,Label("portando",0),Id('prta')); | ^~~~~~ amuc.cpp:779:79: warning: multi-character character constant [-Wmultichar] 779 | but_multi=ctrl->add_extrbut(top_win->win,rect2,FN,Label("multinote",5),Id('muln')); | ^~~~~~ amuc.cpp:781:66: warning: multi-character character constant [-Wmultichar] 781 | but_sharp=ctrl->add_extrbut(top_win->win,rect2,FN,"sharp",Id('up')); | ^~~~ amuc.cpp:783:64: warning: multi-character character constant [-Wmultichar] 783 | but_flat=ctrl->add_extrbut(top_win->win,rect2,FN,"flat",Id('do')); | ^~~~ amuc.cpp:785:68: warning: multi-character character constant [-Wmultichar] 785 | but_normal=ctrl->add_extrbut(top_win->win,rect2,FN,"normal",Id('left')); | ^~~~~~ amuc.cpp:787:78: warning: multi-character character constant [-Wmultichar] 787 | but_ninf=ctrl->add_extrbut(top_win->win,rect2,FN,Label("note info",5),Id('ninf')); | ^~~~~~ amuc.cpp:789:72: warning: multi-character character constant [-Wmultichar] 789 | unselect=new Button(top_win->win,rect2,FN,"unselect",button_cmd,Id('uns')); | ^~~~~ amuc.cpp:791:63: warning: multi-character character constant [-Wmultichar] 791 | new Button(top_win->win,rect2,FN,"re-color",button_cmd,Id('rcol')); | ^~~~~~ amuc.cpp:793:61: warning: multi-character character constant [-Wmultichar] 793 | new Button(top_win->win,rect2,FN,"delete",button_cmd,Id('del ')); | ^~~~~~ amuc.cpp:795:113: warning: multi-character character constant [-Wmultichar] 795 | semi_tones=new VSlider(top_win,Rect(2,rect2.y,55,74),FN,1,12,"shift/cp"," 1","12",slider_cmd,cBackground,Id('semt')); | ^~~~~~ amuc.cpp:801:71: warning: multi-character character constant [-Wmultichar] 801 | new Button(top_win->win,Rect(1,y1,14,0),FN,arrow_up,button_cmd,Id('shmu')); // shift move up | ^~~~~~ amuc.cpp:802:89: warning: multi-character character constant [-Wmultichar] 802 | new Button(top_win->win,Rect(15,y1,40,0),FN,Label("shift",arrow_down),button_cmd,Id('shmd'));// shift move down | ^~~~~~ amuc.cpp:804:71: warning: multi-character character constant [-Wmultichar] 804 | new Button(top_win->win,Rect(1,y1,14,0),FN,arrow_up,button_cmd,Id('shcu')); // copy move up | ^~~~~~ amuc.cpp:805:88: warning: multi-character character constant [-Wmultichar] 805 | new Button(top_win->win,Rect(15,y1,40,0),FN,Label("copy",arrow_down),button_cmd,Id('shcd')); // copy move down | ^~~~~~ amuc.cpp:861:81: warning: multi-character character constant [-Wmultichar] 861 | "reverb/ph","0","4","0","2",hvslider_cmd,cForeground,Id('rval')); | ^~~~~~ amuc.cpp:865:69: warning: multi-character character constant [-Wmultichar] 865 | new Button(bgwin->win,Rect(5,51,38,0),FN,"instr?",button_cmd,Id('revc')); | ^~~~~~ amuc.cpp:1065:10: warning: multi-character character constant [-Wmultichar] 1065 | case 'scop': | ^~~~~~ amuc.cpp:1070:10: warning: multi-character character constant [-Wmultichar] 1070 | case 'repm': | ^~~~~~ amuc.cpp:1073:10: warning: multi-character character constant [-Wmultichar] 1073 | case 'clip': | ^~~~~~ amuc.cpp:1076:10: warning: multi-character character constant [-Wmultichar] 1076 | case 'wfd': // wfile_play() finished | ^~~~~ amuc.cpp:1079:10: warning: multi-character character constant [-Wmultichar] 1079 | case 'done': // play() finished | ^~~~~~ amuc.cpp:1095:10: warning: multi-character character constant [-Wmultichar] 1095 | case 'vcfd': | ^~~~~~ amuc.cpp:1096:10: warning: multi-character character constant [-Wmultichar] 1096 | case 'clvd': | ^~~~~~ amuc.cpp:1099:10: warning: multi-character character constant [-Wmultichar] 1099 | case 'sisa': | ^~~~~~ amuc.cpp:1102:10: warning: multi-character character constant [-Wmultichar] 1102 | case 'msis': | ^~~~~~ amuc.cpp:1105:10: warning: multi-character character constant [-Wmultichar] 1105 | case 'dr0': { | ^~~~~ amuc.cpp:1111:10: warning: multi-character character constant [-Wmultichar] 1111 | case 'dr1': app->red_control->start_timbre->draw(); break; | ^~~~~ amuc.cpp:1112:10: warning: multi-character character constant [-Wmultichar] 1112 | case 'dr2': app->red_control->timbre->draw(); break; | ^~~~~ amuc.cpp:1113:10: warning: multi-character character constant [-Wmultichar] 1113 | case 'dr3': app->red_control->startup->draw(); break; | ^~~~~ amuc.cpp:1114:10: warning: multi-character character constant [-Wmultichar] 1114 | case 'dr4': app->red_control->start_amp->draw(); break; | ^~~~~ amuc.cpp:1115:10: warning: multi-character character constant [-Wmultichar] 1115 | case 'dr5': app->red_control->decay->draw(); break; | ^~~~~ amuc.cpp:1116:10: warning: multi-character character constant [-Wmultichar] 1116 | case 'dr6': app->purple_control->st_harm[param]->draw(); break; | ^~~~~ amuc.cpp:1117:10: warning: multi-character character constant [-Wmultichar] 1117 | case 'dr7': app->purple_control->harm[param]->draw(); break; | ^~~~~ amuc.cpp:1118:10: warning: multi-character character constant [-Wmultichar] 1118 | case 'dr8': app->purple_control->start_dur->draw(); break; | ^~~~~ amuc.cpp:1119:10: warning: multi-character character constant [-Wmultichar] 1119 | case 'dr9': app->blue_control->attack->draw(); break; | ^~~~~ amuc.cpp:1120:10: warning: multi-character character constant [-Wmultichar] 1120 | case 'dr10': app->blue_control->decay->draw(); break; | ^~~~~~ amuc.cpp:1121:10: warning: multi-character character constant [-Wmultichar] 1121 | case 'dr11': app->blue_control->rich->draw(); break; | ^~~~~~ amuc.cpp:1122:10: warning: multi-character character constant [-Wmultichar] 1122 | case 'dr12': app->blue_control->chorus->draw(); break; | ^~~~~~ amuc.cpp:1123:10: warning: multi-character character constant [-Wmultichar] 1123 | case 'dr13': app->black_control->fm_ctrl->draw(); break; | ^~~~~~ amuc.cpp:1124:10: warning: multi-character character constant [-Wmultichar] 1124 | case 'dr14': app->black_control->attack->draw(); break; | ^~~~~~ amuc.cpp:1125:10: warning: multi-character character constant [-Wmultichar] 1125 | case 'dr15': app->black_control->decay->draw(); break; | ^~~~~~ amuc.cpp:1126:10: warning: multi-character character constant [-Wmultichar] 1126 | case 'dr16': app->black_control->detune->draw(); break; | ^~~~~~ amuc.cpp:1127:10: warning: multi-character character constant [-Wmultichar] 1127 | case 'dr17': app->brown_control->fm_ctrl->draw(); break; | ^~~~~~ amuc.cpp:1128:10: warning: multi-character character constant [-Wmultichar] 1128 | case 'dr18': app->brown_control->detune->draw(); break; | ^~~~~~ amuc.cpp:1129:10: warning: multi-character character constant [-Wmultichar] 1129 | case 'dr19': app->brown_control->attack->draw(); break; | ^~~~~~ amuc.cpp:1130:10: warning: multi-character character constant [-Wmultichar] 1130 | case 'dr20': app->brown_control->decay->draw(); break; | ^~~~~~ amuc.cpp:1131:10: warning: multi-character character constant [-Wmultichar] 1131 | case 'dr21': app->blue_control->dur_limit->draw(); break; | ^~~~~~ amuc.cpp:1132:10: warning: multi-character character constant [-Wmultichar] 1132 | case 'dr22': app->red_control->dur_limit->draw(); break; | ^~~~~~ amuc.cpp:1133:10: warning: multi-character character constant [-Wmultichar] 1133 | case 'dr23': app->green_control->freq_mult->draw(); break; | ^~~~~~ amuc.cpp:1134:10: warning: multi-character character constant [-Wmultichar] 1134 | case 'dr24': app->green_control->attack->draw(); break; | ^~~~~~ amuc.cpp:1135:10: warning: multi-character character constant [-Wmultichar] 1135 | case 'dr25': app->green_control->decay->draw(); break; | ^~~~~~ amuc.cpp:1136:10: warning: multi-character character constant [-Wmultichar] 1136 | case 'dr26': app->green_control->chorus->draw(); break; | ^~~~~~ amuc.cpp:1137:10: warning: multi-character character constant [-Wmultichar] 1137 | case 'dr27': app->blue_control->lowpass->draw(); break; | ^~~~~~ amuc.cpp:1138:10: warning: multi-character character constant [-Wmultichar] 1138 | case 'dr33': col2ctrl(param)->mode->set_rbutnr(1,false); break; | ^~~~~~ amuc.cpp:1139:10: warning: multi-character character constant [-Wmultichar] 1139 | case 'dr36': col2ctrl(param)->mode->set_rbutnr(param2,false); break; | ^~~~~~ amuc.cpp:1140:10: warning: multi-character character constant [-Wmultichar] 1140 | case 'dr40': | ^~~~~~ amuc.cpp:1144:10: warning: multi-character character constant [-Wmultichar] 1144 | case 'dr41': app->purple_control->sound->draw_actb(); break; | ^~~~~~ amuc.cpp:1145:10: warning: multi-character character constant [-Wmultichar] 1145 | case 'dr43': app->purple_control->decay->draw(); break; | ^~~~~~ amuc.cpp:1146:10: warning: multi-character character constant [-Wmultichar] 1146 | case 'dr44': app->black_control->mod_mod->draw(); break; | ^~~~~~ amuc.cpp:1147:10: warning: multi-character character constant [-Wmultichar] 1147 | case 'dr45': app->brown_control->mod_mod->draw(); break; | ^~~~~~ amuc.cpp:1148:10: warning: multi-character character constant [-Wmultichar] 1148 | case 'dr46': { | ^~~~~~ amuc.cpp:1156:10: warning: multi-character character constant [-Wmultichar] 1156 | case 'dr49': col2phm_ctrl(param)->wave_ampl->draw(); break; | ^~~~~~ amuc.cpp:1157:10: warning: multi-character character constant [-Wmultichar] 1157 | case 'dr50': col2phm_ctrl(param)->ctrl_pitch->draw(); break; | ^~~~~~ amuc.cpp:1158:10: warning: multi-character character constant [-Wmultichar] 1158 | case 'dr51': col2FMctrl(param)->base_freq->draw(); break; | ^~~~~~ amuc.cpp:1159:10: warning: multi-character character constant [-Wmultichar] 1159 | case 'dr52': col2ctrl(param)->ampl->draw(); break; | ^~~~~~ amuc.cpp:1160:10: warning: multi-character character constant [-Wmultichar] 1160 | case 'dr55': app->red_control->tone->draw_actb(); break; | ^~~~~~ amuc.cpp:1161:10: warning: multi-character character constant [-Wmultichar] 1161 | case 'dr58': { | ^~~~~~ amuc.cpp:1171:10: warning: multi-character character constant [-Wmultichar] 1171 | case 'dr64': app->green_control->timbre1->draw(); break; | ^~~~~~ amuc.cpp:1172:10: warning: multi-character character constant [-Wmultichar] 1172 | case 'dr65': app->green_control->timbre2->draw(); break; | ^~~~~~ amuc.cpp:1173:10: warning: multi-character character constant [-Wmultichar] 1173 | case 'dr66': col2ctrl(param)->synth->hsliders[param2]->draw(); break; | ^~~~~~ amuc.cpp:1174:10: warning: multi-character character constant [-Wmultichar] 1174 | case 'dr67': col2ctrl(param)->synth->rbutwins[param2]->draw_actb(); break; | ^~~~~~ amuc.cpp:1175:10: warning: multi-character character constant [-Wmultichar] 1175 | case 'dr68': col2ctrl(param)->synth->checkboxs[param2]->draw(); break; | ^~~~~~ amuc.cpp:1176:10: warning: multi-character character constant [-Wmultichar] 1176 | case 'dr69': | ^~~~~~ amuc.cpp:1180:10: warning: multi-character character constant [-Wmultichar] 1180 | case 'dr70': col2ctrl(param)->synth->draw_wave_display(1); break; | ^~~~~~ amuc.cpp:1181:10: warning: multi-character character constant [-Wmultichar] 1181 | case 'dr71': col2ctrl(param)->synth->draw_wave_display(2); break; | ^~~~~~ amuc.cpp:1182:10: warning: multi-character character constant [-Wmultichar] 1182 | case 'dr72': col2ctrl(param)->synth->draw_wave_display(3); break; | ^~~~~~ amuc.cpp:1183:10: warning: multi-character character constant [-Wmultichar] 1183 | case 'dr73': col2ctrl(param)->synth->draw_wave_display(4); break; | ^~~~~~ amuc.cpp:1399:10: warning: multi-character character constant [-Wmultichar] 1399 | case 'sco': | ^~~~~ amuc.cpp:1400:10: warning: multi-character character constant [-Wmultichar] 1400 | case 'scr': { | ^~~~~ amuc.cpp:1403:33: warning: multi-character character constant [-Wmultichar] 1403 | const char *ext1= cmd_id=='sco' ? ".sco" : ".scr", | ^~~~~ amuc.cpp:1415:10: warning: multi-character character constant [-Wmultichar] 1415 | case 'dir': { | ^~~~~ amuc.cpp:1519:71: warning: multi-character character constant [-Wmultichar] 1519 | app->dia_wd->ddefault(app->input_file.s,read_tunes,true,fill_menu,'sco'); | ^~~~~ amuc.cpp:1523:70: warning: multi-character character constant [-Wmultichar] 1523 | app->dia_wd->ddefault(app->input_file.s,add_tunes,true,fill_menu,'sco'); | ^~~~~ amuc.cpp:1554:77: warning: multi-character character constant [-Wmultichar] 1554 | app->dia_wd->ddefault(app->script_file.s,read_script_cmd,true,fill_menu,'scr'); | ^~~~~ amuc.cpp:1573:53: warning: multi-character character constant [-Wmultichar] 1573 | app->dia_wd->ddefault(buf,set_wd,true,fill_menu,'dir'); | ^~~~~ amuc.cpp:1758:48: warning: multi-character character constant [-Wmultichar] 1758 | imp_exp->add_mbut("save as WAVE...",menu_cmd,'mkwa'); | ^~~~~~ amuc.cpp:1759:48: warning: multi-character character constant [-Wmultichar] 1759 | imp_exp->add_mbut("save as MIDI...",menu_cmd,'mkmi'); | ^~~~~~ amuc.cpp:1760:54: warning: multi-character character constant [-Wmultichar] 1760 | imp_exp->add_mbut("save as postscript...",menu_cmd,'mkps'); | ^~~~~~ amuc.cpp:1761:50: warning: multi-character character constant [-Wmultichar] 1761 | imp_exp->add_mbut("read MIDI file...",menu_cmd,'imid'); | ^~~~~~ amuc.cpp:1766:36: warning: multi-character character constant [-Wmultichar] 1766 | help->add_mbut("manual",menu_cmd,'man'); | ^~~~~ amuc.cpp:1767:35: warning: multi-character character constant [-Wmultichar] 1767 | help->add_mbut("about",menu_cmd,'abou'); | ^~~~~~ amuc.cpp:2137:25: warning: multi-character character constant [-Wmultichar] 2137 | if (upd) send_uev('dr36',ctrl_col,0); | ^~~~~~ amuc.cpp:2141:25: warning: multi-character character constant [-Wmultichar] 2141 | if (upd) send_uev('dr36',ctrl_col,1); | ^~~~~~ amuc.cpp:2192:25: warning: multi-character character constant [-Wmultichar] 2192 | if (upd) send_uev('dr0'); // app_local->tempoView->tempo->draw(); | ^~~~~ amuc.cpp:2196:25: warning: multi-character character constant [-Wmultichar] 2196 | if (upd) send_uev('dr1'); // red_control->start_timbre->draw(); | ^~~~~ amuc.cpp:2201:25: warning: multi-character character constant [-Wmultichar] 2201 | if (upd) send_uev('dr2'); // red_control->timbre->draw(); | ^~~~~ amuc.cpp:2206:25: warning: multi-character character constant [-Wmultichar] 2206 | if (upd) send_uev('dr3'); // red_control->startup->draw(); | ^~~~~ amuc.cpp:2211:25: warning: multi-character character constant [-Wmultichar] 2211 | if (upd) send_uev('dr4'); // red_control->start_amp->draw(); | ^~~~~ amuc.cpp:2216:25: warning: multi-character character constant [-Wmultichar] 2216 | if (upd) send_uev('dr5'); // red_control->decay->draw(); | ^~~~~ amuc.cpp:2225:22: warning: multi-character character constant [-Wmultichar] 2225 | send_uev('dr6',n); // purple_control->st_harm[n]->draw(); | ^~~~~ amuc.cpp:2236:22: warning: multi-character character constant [-Wmultichar] 2236 | send_uev('dr7',n); // purple_control->harm[n]->draw(); | ^~~~~ amuc.cpp:2243:25: warning: multi-character character constant [-Wmultichar] 2243 | if (upd) send_uev('dr8'); // purple_control->start_dur->draw(); | ^~~~~ amuc.cpp:2248:25: warning: multi-character character constant [-Wmultichar] 2248 | if (upd) send_uev('dr9'); // blue_control->attack->draw(); | ^~~~~ amuc.cpp:2253:25: warning: multi-character character constant [-Wmultichar] 2253 | if (upd) send_uev('dr10'); // blue_control->decay->draw(); | ^~~~~~ amuc.cpp:2258:25: warning: multi-character character constant [-Wmultichar] 2258 | if (upd) send_uev('dr21'); // blue_control->dur_limit->draw(); | ^~~~~~ amuc.cpp:2263:25: warning: multi-character character constant [-Wmultichar] 2263 | if (upd) send_uev('dr27'); // blue_control->lowpass->draw(); | ^~~~~~ amuc.cpp:2268:25: warning: multi-character character constant [-Wmultichar] 2268 | if (upd) send_uev('dr22'); // red_control->dur_limit->draw(); | ^~~~~~ amuc.cpp:2273:25: warning: multi-character character constant [-Wmultichar] 2273 | if (upd) send_uev('dr11'); // blue_control->rich->draw(); | ^~~~~~ amuc.cpp:2277:25: warning: multi-character character constant [-Wmultichar] 2277 | if (upd) send_uev('dr12'); // blue_control->chorus->draw(); | ^~~~~~ amuc.cpp:2284:18: warning: multi-character character constant [-Wmultichar] 2284 | send_uev('dr13'); // black_control->fm_ctrl->draw(); | ^~~~~~ amuc.cpp:2289:25: warning: multi-character character constant [-Wmultichar] 2289 | if (upd) send_uev('dr14'); // black_control->attack->draw(); | ^~~~~~ amuc.cpp:2294:25: warning: multi-character character constant [-Wmultichar] 2294 | if (upd) send_uev('dr15'); // black_control->decay->draw(); | ^~~~~~ amuc.cpp:2299:25: warning: multi-character character constant [-Wmultichar] 2299 | if (upd) send_uev('dr16'); // black_control->detune->draw(); | ^~~~~~ amuc.cpp:2307:18: warning: multi-character character constant [-Wmultichar] 2307 | send_uev('dr17'); // brown_control->fm_ctrl->draw(); | ^~~~~~ amuc.cpp:2312:25: warning: multi-character character constant [-Wmultichar] 2312 | if (upd) send_uev('dr18'); // brown_control->detune->draw(); | ^~~~~~ amuc.cpp:2317:25: warning: multi-character character constant [-Wmultichar] 2317 | if (upd) send_uev('dr19'); // brown_control->attack->draw(); | ^~~~~~ amuc.cpp:2322:25: warning: multi-character character constant [-Wmultichar] 2322 | if (upd) send_uev('dr20'); // brown_control->decay->draw(); | ^~~~~~ amuc.cpp:2328:25: warning: multi-character character constant [-Wmultichar] 2328 | if (upd) send_uev('dr64'); // green_control->timbre1->draw(); | ^~~~~~ amuc.cpp:2333:25: warning: multi-character character constant [-Wmultichar] 2333 | if (upd) send_uev('dr65'); // green_control->timbre2->draw(); | ^~~~~~ amuc.cpp:2337:25: warning: multi-character character constant [-Wmultichar] 2337 | if (upd) send_uev('dr24'); // green_control->attack->draw(); | ^~~~~~ amuc.cpp:2342:25: warning: multi-character character constant [-Wmultichar] 2342 | if (upd) send_uev('dr25'); // green_control->decay->draw(); | ^~~~~~ amuc.cpp:2348:25: warning: multi-character character constant [-Wmultichar] 2348 | if (upd) send_uev('dr23'); // green_control->freq_mult->draw(); | ^~~~~~ amuc.cpp:2353:25: warning: multi-character character constant [-Wmultichar] 2353 | if (upd) send_uev('dr26'); // green_control->chorus->draw(); | ^~~~~~ amuc.cpp:2361:20: warning: multi-character character constant [-Wmultichar] 2361 | send_uev('dr33',col); | ^~~~~~ amuc.cpp:2373:18: warning: multi-character character constant [-Wmultichar] 2373 | send_uev('dr40'); // revb_view->reverb->draw(), revb_view->draw() | ^~~~~~ amuc.cpp:2378:25: warning: multi-character character constant [-Wmultichar] 2378 | if (upd) send_uev('dr41'); // purple_control->sound->draw() | ^~~~~~ amuc.cpp:2382:39: warning: multi-character character constant [-Wmultichar] 2382 | set_phm(info,upd,info.idata.col,'dr58'); | ^~~~~~ amuc.cpp:2386:25: warning: multi-character character constant [-Wmultichar] 2386 | if (upd) send_uev('dr55'); // red_control->tone->draw() | ^~~~~~ amuc.cpp:2390:25: warning: multi-character character constant [-Wmultichar] 2390 | if (upd) send_uev('dr43'); // purple_control->decay->draw(); | ^~~~~~ amuc.cpp:2397:18: warning: multi-character character constant [-Wmultichar] 2397 | send_uev('dr44'); // black_control->mod_mod->draw(); | ^~~~~~ amuc.cpp:2404:18: warning: multi-character character constant [-Wmultichar] 2404 | send_uev('dr45'); // brown_control->mod_mod->draw(); | ^~~~~~ amuc.cpp:2409:32: warning: multi-character character constant [-Wmultichar] 2409 | if (!read_wavef(upd,info,'dr46')) return false; | ^~~~~~ amuc.cpp:2414:25: warning: multi-character character constant [-Wmultichar] 2414 | if (upd) send_uev('dr49',info.idata.col); | ^~~~~~ amuc.cpp:2418:25: warning: multi-character character constant [-Wmultichar] 2418 | if (upd) send_uev('dr50',info.idata.col); | ^~~~~~ amuc.cpp:2424:18: warning: multi-character character constant [-Wmultichar] 2424 | send_uev('dr51',info.idata.col); | ^~~~~~ amuc.cpp:2432:25: warning: multi-character character constant [-Wmultichar] 2432 | if (upd) send_uev('dr52',info.idata.col); | ^~~~~~ amuc.cpp:2441:29: warning: multi-character character constant [-Wmultichar] 2441 | if (upd) send_uev('dr52',info.idata.col); | ^~~~~~ amuc.cpp:2477:10: warning: multi-character character constant [-Wmultichar] 2477 | case 'nois': // from phm control, add noise | ^~~~~~ amuc.cpp:2494:10: warning: multi-character character constant [-Wmultichar] 2494 | case 'mkwa': | ^~~~~~ amuc.cpp:2500:10: warning: multi-character character constant [-Wmultichar] 2500 | case 'mkmi': | ^~~~~~ amuc.cpp:2506:10: warning: multi-character character constant [-Wmultichar] 2506 | case 'mkps': | ^~~~~~ amuc.cpp:2512:10: warning: multi-character character constant [-Wmultichar] 2512 | case 'imid': | ^~~~~~ amuc.cpp:2519:10: warning: multi-character character constant [-Wmultichar] 2519 | case 'man': { | ^~~~~ amuc.cpp:2524:10: warning: multi-character character constant [-Wmultichar] 2524 | case 'abou': | ^~~~~~ amuc.cpp:2538:10: warning: multi-character character constant [-Wmultichar] 2538 | case 'uns': // unselect | ^~~~~ amuc.cpp:2540:10: warning: multi-character character constant [-Wmultichar] 2540 | case 'rcol': // re-color selected | ^~~~~~ amuc.cpp:2541:10: warning: multi-character character constant [-Wmultichar] 2541 | case 'del ': // delete selection | ^~~~~~ amuc.cpp:2542:10: warning: multi-character character constant [-Wmultichar] 2542 | case 'shmu': case 'shmd': // shift move up, down | ^~~~~~ amuc.cpp:2542:23: warning: multi-character character constant [-Wmultichar] 2542 | case 'shmu': case 'shmd': // shift move up, down | ^~~~~~ amuc.cpp:2543:10: warning: multi-character character constant [-Wmultichar] 2543 | case 'shcu': case 'shcd': // shift copy up, down | ^~~~~~ amuc.cpp:2543:23: warning: multi-character character constant [-Wmultichar] 2543 | case 'shcu': case 'shcd': // shift copy up, down | ^~~~~~ amuc.cpp:2548:10: warning: multi-character character constant [-Wmultichar] 2548 | case 'ok': | ^~~~ amuc.cpp:2551:10: warning: multi-character character constant [-Wmultichar] 2551 | case 'eq': { | ^~~~ amuc.cpp:2556:10: warning: multi-character character constant [-Wmultichar] 2556 | case 'revc': { | ^~~~~~ amuc.cpp:2563:10: warning: multi-character character constant [-Wmultichar] 2563 | case 'cwf': { // re-collect wave files | ^~~~~ amuc.cpp:2584:10: warning: multi-character character constant [-Wmultichar] 2584 | case 'smod': // from phys mod ctrl, sample mode | ^~~~~~ amuc.cpp:2602:10: warning: multi-character character constant [-Wmultichar] 2602 | case 'moms': // mode = mono synthesizer | ^~~~~~ amuc.cpp:2618:10: warning: multi-character character constant [-Wmultichar] 2618 | case 'up': app->act_action=XK_Up; break; | ^~~~ amuc.cpp:2619:10: warning: multi-character character constant [-Wmultichar] 2619 | case 'do': app->act_action=XK_Down; break; | ^~~~ amuc.cpp:2620:10: warning: multi-character character constant [-Wmultichar] 2620 | case 'left': app->act_action=XK_Left; break; | ^~~~~~ amuc.cpp:2621:10: warning: multi-character character constant [-Wmultichar] 2621 | case 'ninf': app->act_action='i'; break; | ^~~~~~ amuc.cpp:2622:10: warning: multi-character character constant [-Wmultichar] 2622 | case 'sel': app->act_action='s'; break; | ^~~~~ amuc.cpp:2623:10: warning: multi-character character constant [-Wmultichar] 2623 | case 'scol': app->act_action='scol'; break; | ^~~~~~ amuc.cpp:2623:34: warning: multi-character character constant [-Wmultichar] 2623 | case 'scol': app->act_action='scol'; break; | ^~~~~~ amuc.cpp:2624:10: warning: multi-character character constant [-Wmultichar] 2624 | case 'move': app->act_action='m'; break; | ^~~~~~ amuc.cpp:2625:10: warning: multi-character character constant [-Wmultichar] 2625 | case 'copy': app->act_action='c'; break; | ^~~~~~ amuc.cpp:2626:10: warning: multi-character character constant [-Wmultichar] 2626 | case 'prta': app->act_action='p'; break; | ^~~~~~ amuc.cpp:2627:10: warning: multi-character character constant [-Wmultichar] 2627 | case 'all': app->act_action='a'; break; | ^~~~~ amuc.cpp:2628:10: warning: multi-character character constant [-Wmultichar] 2628 | case 'allc': app->act_action='allc'; break; | ^~~~~~ amuc.cpp:2628:34: warning: multi-character character constant [-Wmultichar] 2628 | case 'allc': app->act_action='allc'; break; | ^~~~~~ amuc.cpp:2629:10: warning: multi-character character constant [-Wmultichar] 2629 | case 'muln': app->act_action='n'; break; | ^~~~~~ amuc.cpp:2636:10: warning: multi-character character constant [-Wmultichar] 2636 | case 'rval': { // reverb value | ^~~~~~ amuc.cpp:2647:10: warning: multi-character character constant [-Wmultichar] 2647 | case 'fm ': { // from black_ or brown_control, fm freq, fm index | ^~~~~~ amuc.cpp:2653:10: warning: multi-character character constant [-Wmultichar] 2653 | case 'momo': // from black_ or brown_control, mod mod | ^~~~~~ amuc.cpp:2656:10: warning: multi-character character constant [-Wmultichar] 2656 | case 'radn': // from red_control, attack diff/nrsin | ^~~~~~ amuc.cpp:2659:10: warning: multi-character character constant [-Wmultichar] 2659 | case 'rsdn': // from red_control, sustain diff/nsin | ^~~~~~ amuc.cpp:2662:10: warning: multi-character character constant [-Wmultichar] 2662 | case 'grw1': // from green_control, diff/nsin wave1 | ^~~~~~ amuc.cpp:2665:10: warning: multi-character character constant [-Wmultichar] 2665 | case 'grw2': // from green_control, diff/nsin wave2 | ^~~~~~ amuc.cpp:2668:10: warning: multi-character character constant [-Wmultichar] 2668 | case 'spte': // from phys mod ctrl, speed_tension | ^~~~~~ amuc.cpp:2679:10: warning: multi-character character constant [-Wmultichar] 2679 | case 'deca': // from phys mod ctrl, decay | ^~~~~~ amuc.cpp:2682:10: warning: multi-character character constant [-Wmultichar] 2682 | case 'grfm': // freq ratio green instrument | ^~~~~~ amuc.cpp:2685:10: warning: multi-character character constant [-Wmultichar] 2685 | case 'iamp': { | ^~~~~~ amuc.cpp:2691:10: warning: multi-character character constant [-Wmultichar] 2691 | case 'fmat': | ^~~~~~ amuc.cpp:2695:10: warning: multi-character character constant [-Wmultichar] 2695 | case 'fmde': | ^~~~~~ amuc.cpp:2699:10: warning: multi-character character constant [-Wmultichar] 2699 | case 'rest': // startup red instrument | ^~~~~~ amuc.cpp:2702:10: warning: multi-character character constant [-Wmultichar] 2702 | case 'samp': // start-ampl red instrument | ^~~~~~ amuc.cpp:2705:10: warning: multi-character character constant [-Wmultichar] 2705 | case 'rede': // decay red instrument | ^~~~~~ amuc.cpp:2708:10: warning: multi-character character constant [-Wmultichar] 2708 | case 'grat': // attack green instrument | ^~~~~~ amuc.cpp:2711:10: warning: multi-character character constant [-Wmultichar] 2711 | case 'grde': // decay green instrument | ^~~~~~ amuc.cpp:2714:10: warning: multi-character character constant [-Wmultichar] 2714 | case 'purd': // decay purple instrument | ^~~~~~ amuc.cpp:2717:10: warning: multi-character character constant [-Wmultichar] 2717 | case 'blat': // attack blue instrument | ^~~~~~ amuc.cpp:2720:10: warning: multi-character character constant [-Wmultichar] 2720 | case 'blde': // decay blue instrument | ^~~~~~ amuc.cpp:2723:10: warning: multi-character character constant [-Wmultichar] 2723 | case 'durl': // duration limit instrument | ^~~~~~ amuc.cpp:2729:10: warning: multi-character character constant [-Wmultichar] 2729 | case 'lpas': // lowpass blue instr | ^~~~~~ amuc.cpp:2732:10: warning: multi-character character constant [-Wmultichar] 2732 | case 'fmdt': // detune black or brown instrument | ^~~~~~ amuc.cpp:2736:10: warning: multi-character character constant [-Wmultichar] 2736 | case 'puah': { // update attack harmonics purple instr | ^~~~~~ amuc.cpp:2743:10: warning: multi-character character constant [-Wmultichar] 2743 | case 'purp': { // update purple instr | ^~~~~~ amuc.cpp:2750:10: warning: multi-character character constant [-Wmultichar] 2750 | case 'pusu': // startup duration purple instr | ^~~~~~ amuc.cpp:2753:10: warning: multi-character character constant [-Wmultichar] 2753 | case 'wamp': // wave ampl sampled instr | ^~~~~~ amuc.cpp:2757:10: warning: multi-character character constant [-Wmultichar] 2757 | case 'phwa': // wave ampl sampled instr | ^~~~~~ amuc.cpp:2761:10: warning: multi-character character constant [-Wmultichar] 2761 | case 'semt': // shift semitones | ^~~~~~ amuc.cpp:2770:10: warning: multi-character character constant [-Wmultichar] 2770 | case 'fmgr': { // amplitude group | ^~~~~~ amuc.cpp:2776:10: warning: multi-character character constant [-Wmultichar] 2776 | case 'purt': // sound-mode purple instrument | ^~~~~~ amuc.cpp:2779:10: warning: multi-character character constant [-Wmultichar] 2779 | case 'redt': // tone-mode red instrument | ^~~~~~ amuc.cpp:2782:10: warning: multi-character character constant [-Wmultichar] 2782 | case 'grnr': { // score group nr | ^~~~~~ amuc.cpp:2804:10: warning: multi-character character constant [-Wmultichar] 2804 | case 'fsel': // read sample wave file | ^~~~~~ amuc.cpp:3068:10: warning: multi-character character constant [-Wmultichar] 3068 | case 'scmn': | ^~~~~~ amuc.cpp:3071:10: warning: multi-character character constant [-Wmultichar] 3071 | case 'scv': | ^~~~~ amuc.cpp:3074:10: warning: multi-character character constant [-Wmultichar] 3074 | case 'mmnr': | ^~~~~~ amuc.cpp:3077:10: warning: multi-character character constant [-Wmultichar] 3077 | case 'muv': | ^~~~~ amuc.cpp:3086:10: warning: multi-character character constant [-Wmultichar] 3086 | case 'scv': | ^~~~~ amuc.cpp:3095:10: warning: multi-character character constant [-Wmultichar] 3095 | case 'scv': | ^~~~~ amuc.cpp:3098:10: warning: multi-character character constant [-Wmultichar] 3098 | case 'muv': | ^~~~~ amuc.cpp:3109:60: warning: multi-character character constant [-Wmultichar] 3109 | FN,draw_cmd,mouse_down,0,0,cBgrGrey,Id('mmnr')); | ^~~~~~ amuc.cpp:3112:65: warning: multi-character character constant [-Wmultichar] 3112 | FN,draw_cmd,mouse_down,0,mouse_up,cWhite,Id('muv')); | ^~~~~ amuc.cpp:3118:49: warning: multi-character character constant [-Wmultichar] 3118 | FN,draw_cmd,cBgrGrey,1,Id('minf')); | ^~~~~~ amuc.cpp:3159:10: warning: multi-character character constant [-Wmultichar] 3159 | case 'muv': the_mv()->draw_sc2(false); break; | ^~~~~ amuc.cpp:3160:10: warning: multi-character character constant [-Wmultichar] 3160 | case 'minf': the_mv()->draw_tune_names(); break; | ^~~~~~ amuc.cpp:3185:12: warning: multi-character character constant [-Wmultichar] 3185 | send_uev('sisa',ctrl_col); | ^~~~~~ amuc.cpp:3190:12: warning: multi-character character constant [-Wmultichar] 3190 | send_uev('msis',ctrl_col); | ^~~~~~ amuc.cpp:3196:14: warning: multi-character character constant [-Wmultichar] 3196 | send_uev('sisa',ctrl_col); | ^~~~~~ amuc.cpp:3591:10: warning: multi-character character constant [-Wmultichar] 3591 | case 'allc': // select all of 1 color | ^~~~~~ amuc.cpp:3636:10: warning: multi-character character constant [-Wmultichar] 3636 | case 'scol': // select all of 1 color | ^~~~~~ amuc.cpp:4075:60: warning: multi-character character constant [-Wmultichar] 4075 | FR,draw_cmd,mouse_down,0,0,cBgrGrey,Id('scmn',index)); | ^~~~~~ amuc.cpp:4078:75: warning: multi-character character constant [-Wmultichar] 4078 | FR,draw_cmd,mouse_down,mouse_moved,mouse_up,cWhite,Id('scv',index)); | ^~~~~ amuc.cpp:4096:98: warning: multi-character character constant [-Wmultichar] 4096 | group_nr=new RButWin(text_win,Rect(58,32,18,3*TDIST),FN,"gr#",false,rbutwin_cmd,cForeground,Id('grnr',index)); | ^~~~~~ amuc.cpp:4466:10: warning: multi-character character constant [-Wmultichar] 4466 | case 'shmu': case 'shmd': | ^~~~~~ amuc.cpp:4466:23: warning: multi-character character constant [-Wmultichar] 4466 | case 'shmu': case 'shmd': | ^~~~~~ amuc.cpp:4467:10: warning: multi-character character constant [-Wmultichar] 4467 | case 'shcu': case 'shcd': | ^~~~~~ amuc.cpp:4467:23: warning: multi-character character constant [-Wmultichar] 4467 | case 'shcu': case 'shcd': | ^~~~~~ amuc.cpp:4469:16: warning: multi-character character constant [-Wmultichar] 4469 | if (mes=='shmd' || mes=='shcd') shift= -shift; | ^~~~~~ amuc.cpp:4469:31: warning: multi-character character constant [-Wmultichar] 4469 | if (mes=='shmd' || mes=='shcd') shift= -shift; | ^~~~~~ amuc.cpp:4476:12: warning: multi-character character constant [-Wmultichar] 4476 | case 'uns': | ^~~~~ amuc.cpp:4479:12: warning: multi-character character constant [-Wmultichar] 4479 | case 'rcol': | ^~~~~~ amuc.cpp:4492:12: warning: multi-character character constant [-Wmultichar] 4492 | case 'del ': | ^~~~~~ amuc.cpp:4500:12: warning: multi-character character constant [-Wmultichar] 4500 | case 'shmu': case 'shmd': // shift move | ^~~~~~ amuc.cpp:4500:25: warning: multi-character character constant [-Wmultichar] 4500 | case 'shmu': case 'shmd': // shift move | ^~~~~~ amuc.cpp:4501:12: warning: multi-character character constant [-Wmultichar] 4501 | case 'shcu': case 'shcd': { // shift copy | ^~~~~~ amuc.cpp:4501:25: warning: multi-character character constant [-Wmultichar] 4501 | case 'shcu': case 'shcd': { // shift copy | ^~~~~~ amuc.cpp:4502:27: warning: multi-character character constant [-Wmultichar] 4502 | bool move= mes=='shmu' || mes=='shmd'; | ^~~~~~ amuc.cpp:4502:42: warning: multi-character character constant [-Wmultichar] 4502 | bool move= mes=='shmu' || mes=='shmd'; | ^~~~~~ amuc.cpp:4537:10: warning: multi-character character constant [-Wmultichar] 4537 | case 'del ': | ^~~~~~ amuc.cpp:4538:10: warning: multi-character character constant [-Wmultichar] 4538 | case 'uns': | ^~~~~ amuc.cpp:4542:10: warning: multi-character character constant [-Wmultichar] 4542 | case 'shmu': case 'shmd': if (warn) alert("warning: some notes not shifted"); break; | ^~~~~~ amuc.cpp:4542:23: warning: multi-character character constant [-Wmultichar] 4542 | case 'shmu': case 'shmd': if (warn) alert("warning: some notes not shifted"); break; | ^~~~~~ amuc.cpp:4543:10: warning: multi-character character constant [-Wmultichar] 4543 | case 'shcu': case 'shcd': if (warn) alert("warning: some notes not copied"); break; | ^~~~~~ amuc.cpp:4543:23: warning: multi-character character constant [-Wmultichar] 4543 | case 'shcu': case 'shcd': if (warn) alert("warning: some notes not copied"); break; | ^~~~~~ amuc.cpp:4847:76: warning: multi-character character constant [-Wmultichar] 4847 | new Button(top_win->win,Rect(rect.x,rect.y,18,0),MR,arrow_up,mvup_cmd,Id('up')); | ^~~~ amuc.cpp:4848:81: warning: multi-character character constant [-Wmultichar] 4848 | new Button(top_win->win,Rect(rect.x+22,rect.y,18,0),MR,arrow_down,mvdo_cmd,Id('do')); | ^~~~ amuc.cpp:4969:52: warning: multi-character character constant [-Wmultichar] 4969 | if ((jack_interface=new JackInterf("Amuc",play,'done',i_am_playing))->okay) { | ^~~~~~ amuc.cpp:6096:100: warning: multi-character character constant [-Wmultichar] 6096 | ctr->group=new RButWin(ctr->cview,ctr->gr_rect,FN,"gr#",false,rbutwin_cmd,cForeground,Id('fmgr',col)); | ^~~~~~ amuc.cpp:6220:85: warning: multi-character character constant [-Wmultichar] 6220 | "FM freq/index","-1","7","0","7",hvslider_cmd,cForeground,Id('fm ',col)); | ^~~~~~ amuc.cpp:6225:91: warning: multi-character character constant [-Wmultichar] 6225 | mode=new RButWin(cview,Rect(4,96,44,2*TDIST),FN,"mode",false,rbutton_cmd,cForeground,Id('moms',col)); | ^~~~~~ amuc.cpp:6229:63: warning: multi-character character constant [-Wmultichar] 6229 | eq=new Button(bgwin,Rect(54,97,28,0),FN,"eq?",button_cmd,Id('eq',col)); | ^~~~ amuc.cpp:6232:98: warning: multi-character character constant [-Wmultichar] 6232 | detune=new HSlider(cview,Rect(92,TDIST,60,0),FN,0,5,"detune","0","5",slider_cmd,cForeground,Id('fmdt',col)); | ^~~~~~ amuc.cpp:6236:84: warning: multi-character character constant [-Wmultichar] 6236 | "MM depth/freq","0","5","0","3",hvslider_cmd,cForeground,Id('momo',col)); | ^~~~~~ amuc.cpp:6245:99: warning: multi-character character constant [-Wmultichar] 6245 | attack=new HSlider(cview,Rect(184,TDIST,56,0),FN,0,5,"attack","0","5",slider_cmd,cForeground,Id('fmat',col)); | ^~~~~~ amuc.cpp:6248:94: warning: multi-character character constant [-Wmultichar] 6248 | decay=new HSlider(cview,Rect(184,56,56,0),FN,0,5,"decay","0","5",slider_cmd,cForeground,Id('fmde',col)); | ^~~~~~ amuc.cpp:6251:97: warning: multi-character character constant [-Wmultichar] 6251 | ampl=new HSlider(cview,Rect(178,98,64,0),FN,0,9,"amplitude","0","9",slider_cmd,cForeground,Id('iamp',col)); | ^~~~~~ amuc.cpp:6258:91: warning: multi-character character constant [-Wmultichar] 6258 | mode=new RButWin(cview,Rect(4,18,44,2*TDIST),FN,"mode",false,rbutton_cmd,cForeground,Id('moms',col)); | ^~~~~~ amuc.cpp:6262:62: warning: multi-character character constant [-Wmultichar] 6262 | eq=new Button(bgwin,Rect(4,60,28,0),FN,"eq?",button_cmd,Id('eq',col)); | ^~~~ amuc.cpp:6266:86: warning: multi-character character constant [-Wmultichar] 6266 | "diff/nrsin","1","5","2","4",hvslider_cmd,cForeground,Id('radn')); | ^~~~~~ amuc.cpp:6270:80: warning: multi-character character constant [-Wmultichar] 6270 | "diff/nrsin","1","5","2","4",hvslider_cmd,cForeground,Id('rsdn')); | ^~~~~~ amuc.cpp:6273:106: warning: multi-character character constant [-Wmultichar] 6273 | start_amp=new VSlider(cview,Rect(174,TDIST,24,44),FN,0,3,"start-amp","0","3",slider_cmd,cForeground,Id('samp')); | ^~~~~~ amuc.cpp:6276:93: warning: multi-character character constant [-Wmultichar] 6276 | tone=new RButWin(cview,Rect(202,32,38,2*TDIST),FN,"tone",false,rbutwin_cmd,cForeground,Id('redt')); | ^~~~~~ amuc.cpp:6282:96: warning: multi-character character constant [-Wmultichar] 6282 | startup=new HSlider(cview,Rect(4,96,50,0),FN,0,5,"startup","0","5",slider_cmd,cForeground,Id('rest')); | ^~~~~~ amuc.cpp:6285:93: warning: multi-character character constant [-Wmultichar] 6285 | decay=new HSlider(cview,Rect(56,96,50,0),FN,0,5,"decay","0","5",slider_cmd,cForeground,Id('rede')); | ^~~~~~ amuc.cpp:6288:102: warning: multi-character character constant [-Wmultichar] 6288 | dur_limit=new HSlider(cview,Rect(108,96,54,0),FN,0,4,"dur limit","0","4",slider_cmd,cForeground,Id('durl',eRed)); | ^~~~~~ amuc.cpp:6291:97: warning: multi-character character constant [-Wmultichar] 6291 | ampl=new HSlider(cview,Rect(184,96,60,0),FN,0,9,"amplitude","0","9",slider_cmd,cForeground,Id('iamp',col)); | ^~~~~~ amuc.cpp:6311:94: warning: multi-character character constant [-Wmultichar] 6311 | mode=new RButWin(cview,Rect(4,TDIST,44,2*TDIST),FN,"mode",false,rbutton_cmd,cForeground,Id('moms',col)); | ^~~~~~ amuc.cpp:6316:62: warning: multi-character character constant [-Wmultichar] 6316 | eq=new Button(bgwin,Rect(4,50,28,0),FN,"eq?",button_cmd,Id('eq',col)); | ^~~~ amuc.cpp:6320:86: warning: multi-character character constant [-Wmultichar] 6320 | "diff/nrsin","1","4","2","4",hvslider_cmd,cForeground,Id('grw1')); | ^~~~~~ amuc.cpp:6324:86: warning: multi-character character constant [-Wmultichar] 6324 | "diff/nrsin","1","4","2","4",hvslider_cmd,cForeground,Id('grw2')); | ^~~~~~ amuc.cpp:6327:106: warning: multi-character character constant [-Wmultichar] 6327 | freq_mult=new HSlider(cview,Rect(170,TDIST,54,0),FN,0,3,"freq ratio","0","3",slider_cmd,cForeground,Id('grfm')); | ^~~~~~ amuc.cpp:6331:96: warning: multi-character character constant [-Wmultichar] 6331 | chorus=new HSlider(cview,Rect(170,52,54,0),FN,0,3,"chorus","0","3",slider_cmd,cForeground,Id('grfm')); // same cmd as freq_mult | ^~~~~~ amuc.cpp:6334:94: warning: multi-character character constant [-Wmultichar] 6334 | attack=new HSlider(cview,Rect(4,96,55,0),FN,0,5,"attack","0","5",slider_cmd,cForeground,Id('grat')); | ^~~~~~ amuc.cpp:6336:93: warning: multi-character character constant [-Wmultichar] 6336 | decay=new HSlider(cview,Rect(63,96,55,0),FN,0,5,"decay","0","5",slider_cmd,cForeground,Id('grde')); | ^~~~~~ amuc.cpp:6341:97: warning: multi-character character constant [-Wmultichar] 6341 | ampl=new HSlider(cview,Rect(170,96,66,0),FN,0,9,"amplitude","0","9",slider_cmd,cForeground,Id('iamp',col)); | ^~~~~~ amuc.cpp:6361:97: warning: multi-character character constant [-Wmultichar] 6361 | attack=new HSlider(cview,Rect(5,TDIST,55,0),FN,0,5,"attack","0","5",slider_cmd,cForeground,Id('blat')); | ^~~~~~ amuc.cpp:6364:92: warning: multi-character character constant [-Wmultichar] 6364 | decay=new HSlider(cview,Rect(5,52,55,0),FN,0,5,"decay","0","5",slider_cmd,cForeground,Id('blde')); | ^~~~~~ amuc.cpp:6371:105: warning: multi-character character constant [-Wmultichar] 6371 | dur_limit=new HSlider(cview,Rect(145,TDIST,55,0),FN,0,4,"dur limit","0","4",slider_cmd,cForeground,Id('durl',col)); | ^~~~~~ amuc.cpp:6374:98: warning: multi-character character constant [-Wmultichar] 6374 | lowpass=new HSlider(cview,Rect(145,54,55,0),FN,0,4,"lowpass","0","4",slider_cmd,cForeground,Id('lpas',col)); | ^~~~~~ amuc.cpp:6379:97: warning: multi-character character constant [-Wmultichar] 6379 | ampl=new HSlider(cview,Rect(145,94,64,0),FN,0,9,"amplitude","0","9",slider_cmd,cForeground,Id('iamp',col)); | ^~~~~~ amuc.cpp:6382:92: warning: multi-character character constant [-Wmultichar] 6382 | mode=new RButWin(cview,Rect(70,70,44,2*TDIST),FN,"mode",false,rbutton_cmd,cForeground,Id('moms',col)); | ^~~~~~ amuc.cpp:6387:62: warning: multi-character character constant [-Wmultichar] 6387 | eq=new Button(bgwin,Rect(5,85,28,0),FN,"eq?",button_cmd,Id('eq',col)); | ^~~~ amuc.cpp:6399:91: warning: multi-character character constant [-Wmultichar] 6399 | mode=new RButWin(cview,Rect(4,17,36,2*TDIST),FN,"mode",false,rbutton_cmd,cForeground,Id('moms',col)); | ^~~~~~ amuc.cpp:6403:62: warning: multi-character character constant [-Wmultichar] 6403 | eq=new Button(bgwin,Rect(4,50,28,0),FN,"eq?",button_cmd,Id('eq',col)); | ^~~~ amuc.cpp:6408:110: warning: multi-character character constant [-Wmultichar] 6408 | st_harm[n]=new VSlider(cview,Rect(left,TDIST,20,44),FN,0,3,labels[n],"0","3",slider_cmd,cForeground,Id('puah',n)); | ^~~~~~ amuc.cpp:6410:106: warning: multi-character character constant [-Wmultichar] 6410 | st_harm[n]=new VSlider(cview,Rect(left,TDIST,14,44),FN,0,3,labels[n],0,0,slider_cmd,cForeground,Id('puah',n)); | ^~~~~~ amuc.cpp:6418:107: warning: multi-character character constant [-Wmultichar] 6418 | harm[n]=new VSlider(cview,Rect(left,TDIST,20,44),FN,0,3,labels[n],"0","3",slider_cmd,cForeground,Id('purp',n)); | ^~~~~~ amuc.cpp:6420:103: warning: multi-character character constant [-Wmultichar] 6420 | harm[n]=new VSlider(cview,Rect(left,TDIST,14,44),FN,0,3,labels[n],0,0,slider_cmd,cForeground,Id('purp',n)); | ^~~~~~ amuc.cpp:6426:99: warning: multi-character character constant [-Wmultichar] 6426 | (start_dur=new HSlider(cview,Rect(4,96,50,0),FN,0,5,"startup","0","5",slider_cmd,cForeground,Id('pusu')))->value()=2; | ^~~~~~ amuc.cpp:6428:94: warning: multi-character character constant [-Wmultichar] 6428 | (decay=new HSlider(cview,Rect(58,96,50,0),FN,0,5,"decay","0","5",slider_cmd,cForeground,Id('purd')))->value()=1; | ^~~~~~ amuc.cpp:6430:98: warning: multi-character character constant [-Wmultichar] 6430 | sound=new RButWin(cview,Rect(193,TDIST,48,4*TDIST),FN,"sound",false,rbutwin_cmd,cForeground,Id('purt')); | ^~~~~~ amuc.cpp:6438:98: warning: multi-character character constant [-Wmultichar] 6438 | ampl=new HSlider(cview,Rect(172,100,72,0),FN,0,9,"amplitude","0","9",slider_cmd,cForeground,Id('iamp',col)); | ^~~~~~ amuc.cpp:6449:75: warning: multi-character character constant [-Wmultichar] 6449 | if (!wfile_play && !(wfile_play=new JackInterf("Amuc play",play_wfile,'wfd',wf_playing))->okay) wfile_play=0; | ^~~~~ amuc.cpp:6465:100: warning: multi-character character constant [-Wmultichar] 6465 | mode=new RButWin(subview1,Rect(2,TDIST,70,2*TDIST),FN,"samples",false,rbutton_cmd,cForeground,Id('smod',col)); | ^~~~~~ amuc.cpp:6471:90: warning: multi-character character constant [-Wmultichar] 6471 | "speed/tension","1","5","1","5",hvslider_cmd,cForeground,Id('spte',col)); | ^~~~~~ amuc.cpp:6472:100: warning: multi-character character constant [-Wmultichar] 6472 | decay=new HSlider(subview1,Rect(170,TDIST,60,0),FN,1,5,"decay","1","5",slider_cmd,cForeground,Id('deca',col)); | ^~~~~~ amuc.cpp:6474:89: warning: multi-character character constant [-Wmultichar] 6474 | add_noise=new CheckBox(subwin1,Rect(80,76,0,0),FN,cForeground,"dirty",checkbox_cmd,Id('nois',col)); | ^~~~~~ amuc.cpp:6491:66: warning: multi-character character constant [-Wmultichar] 6491 | "wave file",Style(1,0,2),cForeground,Id('fsel',col)); | ^~~~~~ amuc.cpp:6495:75: warning: multi-character character constant [-Wmultichar] 6495 | new Button(subwin2,Rect(88,38,0,0),FN,"rescan wave files",button_cmd,Id('cwf',col)); | ^~~~~ amuc.cpp:6500:103: warning: multi-character character constant [-Wmultichar] 6500 | wave_ampl=new HSlider(subview1,Rect(2,62,70,0),FN,0,7,"wave ampl","0","7",slider_cmd,cForeground,Id('wamp',col)); | ^~~~~~ amuc.cpp: In function 'DialogCommands::import_midi(char const*)': amuc.cpp:1648:31: warning: '%s' directive output may be truncated writing up to 100 bytes into a region of size 45 [-Wformat-truncation=] 1648 | snprintf(mes,50,"edit %s",instr_map.s); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from amuc.cpp:3: In function 'snprintf', inlined from 'DialogCommands::import_midi(char const*)' at amuc.cpp:1648:17: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 106 bytes into a destination of size 50 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ amuc.cpp: In function 'read_conf_file(char const**, int)': amuc.cpp:6610:64: warning: '%s' directive output may be truncated writing up to 100 bytes into a region of size 64 [-Wformat-truncation=] 6610 | snprintf(mess,100,"conf file .amucrc: unexpected item '%s'",str.s); | ^~ ~~~~~ In function 'snprintf', inlined from 'read_conf_file(char const**, int)' at amuc.cpp:6610:17: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 38 and 138 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm x-widgets.cpp x-widgets.cpp:3106:14: warning: multi-character character constant [-Wmultichar] 3106 | send_uev('go'); | ^~~~ x-widgets.cpp:3128:23: warning: multi-character character constant [-Wmultichar] 3128 | if (uev_dat[0]=='go') { | ^~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm sound.cpp sound.cpp:1376:16: warning: multi-character character constant [-Wmultichar] 1376 | send_uev('repm',cur.snr); | ^~~~~~ sound.cpp:1491:26: warning: multi-character character constant [-Wmultichar] 1491 | send_uev('repm',cur.snr); | ^~~~~~ sound.cpp:1534:24: warning: multi-character character constant [-Wmultichar] 1534 | send_uev('repm',cur.snr); | ^~~~~~ sound.cpp:1705:25: warning: multi-character character constant [-Wmultichar] 1705 | if (clipped) send_uev('clip'); | ^~~~~~ sound.cpp:1710:12: warning: multi-character character constant [-Wmultichar] 1710 | send_uev('scop'); | ^~~~~~ sound.cpp:1726:14: warning: multi-character character constant [-Wmultichar] 1726 | send_uev('repm',cur.snr); | ^~~~~~ sound.cpp:1735:12: warning: multi-character character constant [-Wmultichar] 1735 | send_uev('done'); | ^~~~~~ sound.cpp:1760:12: warning: multi-character character constant [-Wmultichar] 1760 | send_uev('scop'); | ^~~~~~ sound.cpp:1790:14: warning: multi-character character constant [-Wmultichar] 1790 | send_uev('scop'); | ^~~~~~ sound.cpp: In member function 'float Instrument::delay(float)': sound.cpp:247:10: warning: operation on '((Instrument*)this)->Instrument::d_ind' may be undefined [-Wsequence-point] 247 | d_ind=(++d_ind)%stereo_delay; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm str.cpp str.cpp: In member function 'void Str::rword(FILE*, const char*)': str.cpp:98:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 98 | while (ch2=ch,ch=getc(in)) { | ~~^~~~~~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm midi-out.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm ps-out.cpp ps-out.cpp: In member function 'PostscriptOut::insert(int, int, int, int, int, int)': ps-out.cpp:214:14: warning: 'note1.next_dur' may be used uninitialized [-Wmaybe-uninitialized] 214 | while (np->next_dur>0) { | ~~~~^~~~~~~~ ps-out.cpp:216:12: note: 'note1' declared here 216 | PsNote note1(col,grn,ind,0,lnr,note_sign,np->next_dur); | ^~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm physical-mod.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm bitmaps.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm read-waves.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm dump-wav.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm mono-synth.cpp mono-synth.cpp:365:10: warning: multi-character character constant [-Wmultichar] 365 | case 'eq': | ^~~~ mono-synth.cpp:370:10: warning: multi-character character constant [-Wmultichar] 370 | case 'ldp': | ^~~~~ mono-synth.cpp:401:10: warning: multi-character character constant [-Wmultichar] 401 | case 'modp': | ^~~~~~ mono-synth.cpp:406:10: warning: multi-character character constant [-Wmultichar] 406 | case 'addp': | ^~~~~~ mono-synth.cpp:418:10: warning: multi-character character constant [-Wmultichar] 418 | case 'wrp': | ^~~~~ mono-synth.cpp:444:10: warning: multi-character character constant [-Wmultichar] 444 | case 'vcfd': { | ^~~~~~ mono-synth.cpp:462:10: warning: multi-character character constant [-Wmultichar] 462 | case 'clvd': | ^~~~~~ mono-synth.cpp:470:92: warning: multi-character character constant [-Wmultichar] 470 | buttons[0]=new Button(pwin->win,Rect(pt.x,pt.y-6,80,14),FN,"load patches",but_cmd,Id(col,'ldp')); | ^~~~~ mono-synth.cpp:471:98: warning: multi-character character constant [-Wmultichar] 471 | buttons[1]=new Button(pwin->win,Rect(pt.x,pt.y+12,80,14),FN,"update this patch",but_cmd,Id(col,'modp')); | ^~~~~~ mono-synth.cpp:472:98: warning: multi-character character constant [-Wmultichar] 472 | buttons[2]=new Button(pwin->win,Rect(pt.x,pt.y+30,80,14),FN,"add current patch",but_cmd,Id(col,'addp')); | ^~~~~~ mono-synth.cpp:473:100: warning: multi-character character constant [-Wmultichar] 473 | buttons[3]=new Button(pwin->win,Rect(pt.x,pt.y+48,80,14),FN,"save patches to '.'",but_cmd,Id(col,'wrp')); | ^~~~~ mono-synth.cpp:786:21: warning: multi-character character constant [-Wmultichar] 786 | if (res) send_uev('vcfd',col); // VCF display | ^~~~~~ mono-synth.cpp:787:17: warning: multi-character character constant [-Wmultichar] 787 | else send_uev('clvd',col); // clear VCF display | ^~~~~~ mono-synth.cpp:1075:66: warning: multi-character character constant [-Wmultichar] 1075 | eq=new Button(topwin,Rect(10,470,28,0),FN,"eq?",but_cmd,Id(col,'eq')); | ^~~~ mono-synth.cpp:1257:18: warning: multi-character character constant [-Wmultichar] 1257 | send_uev('dr66',col,i); // draw sliders | ^~~~~~ mono-synth.cpp:1261:23: warning: multi-character character constant [-Wmultichar] 1261 | if (dr_eg) send_uev('dr69',col,i); // draw eg display | ^~~~~~ mono-synth.cpp:1275:18: warning: multi-character character constant [-Wmultichar] 1275 | send_uev('dr67',col,i); // draw radio buttons | ^~~~~~ mono-synth.cpp:1279:25: warning: multi-character character constant [-Wmultichar] 1279 | if (dr_wav1) send_uev('dr70',col,i); // draw waveforms | ^~~~~~ mono-synth.cpp:1280:25: warning: multi-character character constant [-Wmultichar] 1280 | if (dr_wav2) send_uev('dr71',col,i); | ^~~~~~ mono-synth.cpp:1281:25: warning: multi-character character constant [-Wmultichar] 1281 | if (dr_wav3) send_uev('dr72',col,i); | ^~~~~~ mono-synth.cpp:1282:25: warning: multi-character character constant [-Wmultichar] 1282 | if (dr_wav4) send_uev('dr73',col,i); | ^~~~~~ mono-synth.cpp:1290:18: warning: multi-character character constant [-Wmultichar] 1290 | send_uev('dr68',col,i); // draw check boxes | ^~~~~~ mono-synth.cpp: In member function 'void Synth::draw_wave_display(int, bool)': mono-synth.cpp:826:7: warning: variable 'wf_index' set but not used [-Wunused-but-set-variable] 826 | wf_index; | ^~~~~~~~ mono-synth.cpp: In member function 'Synth::button_cmd(Id)': mono-synth.cpp:404:24: warning: 'strndup' specified bound 100 exceeds source size 99 [-Wstringop-overread] 404 | pd->patch=strndup(strchr(buf,':')+1,max100); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mono-synth.cpp:361:8: note: source object allocated here 361 | buf[max100],buf2[max100]; | ^~~ mono-synth.cpp:416:24: warning: 'strndup' specified bound 100 exceeds source size 99 [-Wstringop-overread] 416 | pd->patch=strndup(strchr(buf,':')+1,max100); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mono-synth.cpp:361:8: note: source object allocated here 361 | buf[max100],buf2[max100]; | ^~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm snd-interface.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm midi-in.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm chords.cpp g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm midi-keyb.cpp midi-keyb.cpp: In function 'void run_keyboard()': midi-keyb.cpp:54:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 54 | if (0xF8 & B == 0xF8) | ~~^~~~~~~ midi-keyb.cpp:40:9: warning: variable 'byte1' set but not used [-Wunused-but-set-variable] 40 | uchar byte1=0,byte2=0, | ^~~~~ g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm midi-keyb-jack.cpp g++ amuc.o x-widgets.o sound.o str.o midi-out.o ps-out.o physical-mod.o bitmaps.o read-waves.o dump-wav.o mono-synth.o snd-interface.o midi-in.o chords.o midi-keyb.o midi-keyb-jack.o ../src-abcm2ps/abc2ps.a -o amuc -lX11 -lasound -lXft -lcairo -ljack -lpthread sound.cpp:265:8: warning: type 'struct Note' violates the C++ One Definition Rule [-Wodr] 265 | struct Note { | ^ ../src-abcm2ps/abcparse.h:35:8: note: a different type is defined in another translation unit 35 | struct Note { /* note or rest */ | ^ sound.cpp:266:9: note: the first difference of corresponding definitions is field 'cat' 266 | uchar cat, | ^ ../src-abcm2ps/abcparse.h:36:21: note: a field with different name is defined in another translation unit 36 | signed char pits[MAXHD]; /* pitches for notes */ | ^ amuc.cpp: In member function 'check_len': amuc.cpp:2920:26: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2920 | scInfo=new ScInfo[len]; | ^ amuc.cpp:2920:26: note: in a call to built-in allocation function 'operator new []' mono-synth.cpp: In member function 'button_cmd.isra': mono-synth.cpp:404:24: warning: 'strndup' specified bound 100 exceeds source size 99 [-Wstringop-overread] 404 | pd->patch=strndup(strchr(buf,':')+1,max100); | ^ mono-synth.cpp:361:8: note: source object allocated here 361 | buf[max100],buf2[max100]; | ^ mono-synth.cpp:416:24: warning: 'strndup' specified bound 100 exceeds source size 99 [-Wstringop-overread] 416 | pd->patch=strndup(strchr(buf,':')+1,max100); | ^ mono-synth.cpp:361:8: note: source object allocated here 361 | buf[max100],buf2[max100]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src' make -C src-wav2score make[1]: Entering directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-wav2score' g++ -c -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm wav2score.cpp wav2score.cpp:1016:18: warning: multi-character character constant [-Wmultichar] 1016 | send_uev('updi',the_xpos2,xpos); | ^~~~~~ wav2score.cpp:1023:12: warning: multi-character character constant [-Wmultichar] 1023 | send_uev('arro'); // for play button | ^~~~~~ wav2score.cpp:1309:10: warning: multi-character character constant [-Wmultichar] 1309 | case 'updi': // update select pointer in wave display (par1 = previous xpos, par2 = xpos) | ^~~~~~ wav2score.cpp:1314:10: warning: multi-character character constant [-Wmultichar] 1314 | case 'arro': | ^~~~~~ wav2score.cpp: In member function 'bool Wav2Score::read_wav_head(const char*, FILE*&)': wav2score.cpp:207:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 207 | fread(word,4,1,wav)!=1 && (er_nr=1) || strncmp(word,"RIFF",4) && (er_nr=2) || | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:208:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 208 | fread(&dum32, 4,1,wav)!=1 && (er_nr=3) || // header size | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:209:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 209 | fread(word, 8,1,wav)!=1 && (er_nr=4) || strncmp(word,"WAVEfmt ",8) && (er_nr=5) || | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:209:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 209 | fread(word, 8,1,wav)!=1 && (er_nr=4) || strncmp(word,"WAVEfmt ",8) && (er_nr=5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:210:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 210 | fread(&dum32, 4,1,wav)!=1 && (er_nr=6) || dum32!=16 && (er_nr=7) || // chunk size | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:210:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 210 | fread(&dum32, 4,1,wav)!=1 && (er_nr=6) || dum32!=16 && (er_nr=7) || // chunk size | ~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:211:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 211 | fread(&dum16, 2,1,wav)!=1 && (er_nr=8) // format tag (1 = uncompressed PCM) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ wav2score.cpp:228:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 228 | if (fread(&dum16, 2,1,wav)!=1 && (er_nr=16) || // block align | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ wav2score.cpp: In member function 'void Wav2Score::fill_wavelines()': wav2score.cpp:600:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 600 | if (yhi1val1) ylo1=val1; if (ylo2>val2) ylo2=val2; | ^~ wav2score.cpp:601:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 601 | if (ylo1>val1) ylo1=val1; if (ylo2>val2) ylo2=val2; | ^~ wav2score.cpp: In member function 'void Wav2Score::draw_waveline(int, int)': wav2score.cpp:637:7: warning: unused variable 'yhi' [-Wunused-variable] 637 | int yhi,ylo; | ^~~ wav2score.cpp:637:11: warning: unused variable 'ylo' [-Wunused-variable] 637 | int yhi,ylo; | ^~~ wav2score.cpp: In function 'void mouse_down(Id, int, int, int)': wav2score.cpp:754:11: warning: unused variable 'n' [-Wunused-variable] 754 | int n, | ^ wav2score.cpp: In member function 'Gui::Gui()': wav2score.cpp:1121:18: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 1121 | sprintf(txt,"%d",nr-1); | ^~ wav2score.cpp:1121:17: note: directive argument in the range [-2147483648, 98] 1121 | sprintf(txt,"%d",nr-1); | ^~~~ In file included from /usr/include/stdio.h:906, from wav2score.cpp:1: In function 'sprintf', inlined from 'Gui::Gui()' at wav2score.cpp:1121:12: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 2 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wav2score.cpp: In member function 'Gui::Gui()': wav2score.cpp:1142:47: warning: '%s' directive output may be truncated writing up to 100 bytes into a region of size 74 [-Wformat-truncation=] 1142 | snprintf(buf,100,"write configuration file: %s",configf.s); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'Gui::Gui()' at wav2score.cpp:1142:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 27 and 127 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -c -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm fft.cpp fft.cpp: In function 'void rfft(float*, int, bool)': fft.cpp:65:14: warning: unused variable 'first' [-Wunused-variable] 65 | static int first = 1 ; | ^~~~~ fft.cpp: In function 'void cfft(float*, int, bool)': fft.cpp:144:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 144 | register float rtemp, itemp ; | ^~~~~ fft.cpp:144:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 144 | register float rtemp, itemp ; | ^~~~~ g++ ../src/x-widgets.o ../src/snd-interface.o ../src/str.o wav2score.o fft.o -o wav2score -lX11 -lasound -lXft -lcairo -ljack -lpthread make[1]: Leaving directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-wav2score' make -C src-tr-sco make[1]: Entering directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-tr-sco' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o tr-sco -I../src tr-sco.cpp ../src/str.o make[1]: Leaving directory '/builddir/build/BUILD/amuc-355f0243480dde6c691e783489793eb445a88967/src-tr-sco' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9yzNTd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 ++ dirname /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd amuc-355f0243480dde6c691e783489793eb445a88967 + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/bin/ + /usr/bin/install -m 644 src/amuc /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/bin/ + /usr/bin/install -m 644 src-abcm2ps/abcm2ps /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/bin/ + /usr/bin/install -m 644 src-wav2score/wav2score /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/bin/ + /usr/bin/install -m 644 src-tr-sco/tr-sco /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/bin/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/amuc/samples/ + /usr/bin/install -m 644 samples/00-Impact.wav samples/01-LowFoot.wav samples/02-Foot.wav samples/03-FlangeKick.wav samples/05-LowLowTom.wav samples/06-LowTom.wav samples/07-Tom.wav samples/08-HiTom.wav samples/09-HiHiTom.wav samples/10-LowSnare.wav samples/11-Snare.wav samples/12-HiSnare.wav samples/15-FringeSnare.wav samples/16-TrashySnare.wav samples/20-LowSidestick.wav samples/21-Sidestick.wav samples/22-HiSidestick.wav samples/30-Crash.wav samples/31-Ride.wav samples/32-RideBell.wav samples/33-OpenHihat.wav samples/35-LongClosedHihat.wav samples/36-ClosedHihat.wav samples/37-ShortClosedHihat.wav samples/40-LowLowLowConga.wav samples/41-LowLowConga.wav samples/42-LowConga.wav samples/43-MidConga.wav samples/44-HiConga.wav samples/45-HiHiConga.wav samples/50-Triangle.wav samples/51-Cabasa.wav samples/52-Rimshot.wav samples/53-Timbale.wav samples/54-Clap.wav samples/55-Cowbell.wav /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/amuc/samples/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/amuc/samples/ + /usr/bin/install -m 644 samples/00-Impact.wav samples/01-LowFoot.wav samples/02-Foot.wav samples/03-FlangeKick.wav samples/05-LowLowTom.wav samples/06-LowTom.wav samples/07-Tom.wav samples/08-HiTom.wav samples/09-HiHiTom.wav samples/10-LowSnare.wav samples/11-Snare.wav samples/12-HiSnare.wav samples/15-FringeSnare.wav samples/16-TrashySnare.wav samples/20-LowSidestick.wav samples/21-Sidestick.wav samples/22-HiSidestick.wav samples/30-Crash.wav samples/31-Ride.wav samples/32-RideBell.wav samples/33-OpenHihat.wav samples/35-LongClosedHihat.wav samples/36-ClosedHihat.wav samples/37-ShortClosedHihat.wav samples/40-LowLowLowConga.wav samples/41-LowLowConga.wav samples/42-LowConga.wav samples/43-MidConga.wav samples/44-HiConga.wav samples/45-HiHiConga.wav samples/50-Triangle.wav samples/51-Cabasa.wav samples/52-Rimshot.wav samples/53-Timbale.wav samples/54-Clap.wav samples/55-Cowbell.wav /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/amuc/samples/ + /usr/bin/install -m 644 tunes/chords-and-scales tunes/how-low.sco tunes/how-low.scr tunes/how-synth.sco tunes/how-synth.scr tunes/monosynth-patches tunes/org-concerto.hd tunes/org-concerto.sco tunes/org-concerto.scr tunes/rising.sco tunes/rising.scr /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/amuc/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/man/man1/ + /usr/bin/install -m 644 doc/amuc.1 /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/man/man1/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/doc/amuc/ + /usr/bin/install -m 644 doc/a-title.png doc/amuc-man.html doc/amuc-title-transp.png doc/amuc-title.gif doc/amuc-title.png doc/amuc.1 doc/amuc.png doc/chords-and-scales.html doc/edit-window.png doc/file-menu.png doc/icon2.png doc/keys-window.png doc/mail-adr.gif doc/mail-adr.png doc/mono-synth.png doc/no-zoom.png doc/org-conc1.png doc/org-conc2.png doc/org_c3.png doc/piano-mode.png doc/ps-notes.png doc/sampled-phys.png doc/sampled-wave.png doc/score-display.png doc/wav2score.png doc/zoomed.png /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/doc/amuc/ + rm /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64//usr/share/doc/amuc/amuc.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: amuc-1.7.355f024-3.fc38.aarch64 Provides: amuc = 1.7.355f024-3.fc38 amuc(aarch-64) = 1.7.355f024-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 Wrote: /builddir/build/RPMS/amuc-1.7.355f024-3.fc38.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3ccs14 + umask 022 + cd /builddir/build/BUILD + cd amuc-355f0243480dde6c691e783489793eb445a88967 + /usr/bin/rm -rf /builddir/build/BUILDROOT/amuc-1.7.355f024-3.fc38.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OLbzhq + umask 022 + cd /builddir/build/BUILD + rm -rf amuc-355f0243480dde6c691e783489793eb445a88967 amuc-355f0243480dde6c691e783489793eb445a88967.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0