I: pbuilder: network access will be disabled during build I: Current time: Sat Jun 15 03:48:13 +14 2024 I: pbuilder-time-stamp: 1718372893 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [komposter_0+git20201216+ds-2.dsc] I: copying [./komposter_0+git20201216+ds.orig.tar.xz] I: copying [./komposter_0+git20201216+ds-2.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Jan 5 03:03:58 2022 +14 gpgv: using RSA key B60A1BF363DC1319FF0A8E89116852BCDF7515C0 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./komposter_0+git20201216+ds-2.dsc: no acceptable signature found dpkg-source: info: extracting komposter in komposter-0+git20201216+ds dpkg-source: info: unpacking komposter_0+git20201216+ds.orig.tar.xz dpkg-source: info: unpacking komposter_0+git20201216+ds-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/29982/tmp/hooks/D01_modify_environment starting debug: Running on ionos6-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Jun 15 03:48 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/29982/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/29982/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=bacfbdc341bb45a39a5bb6c5190bbf1f LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=29982 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ZDEFyq7L/pbuilderrc_46fW --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZDEFyq7L/b2 --logfile b2/build.log --extrapackages usrmerge komposter_0+git20201216+ds-2.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash -rwxr-xr-x 1 root root 137160 Sep 21 2022 date -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd -rwxr-xr-x 1 root root 108940 Sep 21 2022 df -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep -rwxr-xr-x 1 root root 34664 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln -rwxr-xr-x 1 root root 55600 Mar 24 2023 login -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 63016 Mar 24 2023 more -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed lrwxrwxrwx 1 root root 9 Jun 15 03:48 sh -> /bin/bash -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty -rwsr-xr-x 1 root root 83492 Mar 24 2023 su -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch -rwxr-xr-x 1 root root 34664 Sep 21 2022 true -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/29982/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libfreetype6-dev, freeglut3-dev, mesa-common-dev, libopenal-dev, pkg-config, fonts-ferrite-core, fonts-agave, fonts-inter dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19604 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libfreetype6-dev; however: Package libfreetype6-dev is not installed. pbuilder-satisfydepends-dummy depends on freeglut3-dev; however: Package freeglut3-dev is not installed. pbuilder-satisfydepends-dummy depends on mesa-common-dev; however: Package mesa-common-dev is not installed. pbuilder-satisfydepends-dummy depends on libopenal-dev; however: Package libopenal-dev is not installed. pbuilder-satisfydepends-dummy depends on pkg-config; however: Package pkg-config is not installed. pbuilder-satisfydepends-dummy depends on fonts-ferrite-core; however: Package fonts-ferrite-core is not installed. pbuilder-satisfydepends-dummy depends on fonts-agave; however: Package fonts-agave is not installed. pbuilder-satisfydepends-dummy depends on fonts-inter; however: Package fonts-inter is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} fonts-agave{a} fonts-ferrite-core{a} fonts-inter{a} freeglut3-dev{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libasound2{a} libasound2-data{a} libbrotli-dev{a} libbrotli1{a} libbsd0{a} libdebhelper-perl{a} libdrm-amdgpu1{a} libdrm-common{a} libdrm-dev{a} libdrm-intel1{a} libdrm-nouveau2{a} libdrm-radeon1{a} libdrm2{a} libedit2{a} libegl-dev{a} libegl-mesa0{a} libegl1{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libfreetype-dev{a} libfreetype6{a} libfreetype6-dev{a} libgbm1{a} libgl-dev{a} libgl1{a} libgl1-mesa-dev{a} libgl1-mesa-dri{a} libglapi-mesa{a} libgles-dev{a} libgles1{a} libgles2{a} libglu1-mesa{a} libglu1-mesa-dev{a} libglut-dev{a} libglut3.12{a} libglvnd-core-dev{a} libglvnd-dev{a} libglvnd0{a} libglx-dev{a} libglx-mesa0{a} libglx0{a} libice-dev{a} libice6{a} libicu72{a} libllvm15{a} libmagic-mgc{a} libmagic1{a} libopenal-data{a} libopenal-dev{a} libopenal1{a} libopengl-dev{a} libopengl0{a} libpciaccess-dev{a} libpciaccess0{a} libpipeline1{a} libpkgconf3{a} libpng-dev{a} libpng16-16{a} libpthread-stubs0-dev{a} libsensors-config{a} libsensors5{a} libsm-dev{a} libsm6{a} libsndio7.0{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libwayland-client0{a} libwayland-server0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libx11-xcb1{a} libxau-dev{a} libxau6{a} libxcb-dri2-0{a} libxcb-dri3-0{a} libxcb-glx0{a} libxcb-present0{a} libxcb-randr0{a} libxcb-shm0{a} libxcb-sync1{a} libxcb-xfixes0{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxfixes3{a} libxi6{a} libxml2{a} libxshmfence1{a} libxt-dev{a} libxt6{a} libxxf86vm1{a} libz3-4{a} m4{a} man-db{a} mesa-common-dev{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} x11-common{a} x11proto-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: alsa-topology-conf alsa-ucm-conf curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl libpng-tools libpulse0 lynx wget 0 packages upgraded, 130 newly installed, 0 to remove and 0 not upgraded. Need to get 78.5 MB of archives. After unpacking 303 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main i386 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main i386 libmagic-mgc i386 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main i386 libmagic1 i386 1:5.44-3 [114 kB] Get: 4 http://deb.debian.org/debian bookworm/main i386 file i386 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main i386 gettext-base i386 0.21-12 [162 kB] Get: 6 http://deb.debian.org/debian bookworm/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main i386 groff-base i386 1.22.4-10 [932 kB] Get: 8 http://deb.debian.org/debian bookworm/main i386 bsdextrautils i386 2.38.1-5+b1 [90.3 kB] Get: 9 http://deb.debian.org/debian bookworm/main i386 libpipeline1 i386 1.5.7-1 [40.0 kB] Get: 10 http://deb.debian.org/debian bookworm/main i386 man-db i386 2.11.2-2 [1397 kB] Get: 11 http://deb.debian.org/debian bookworm/main i386 m4 i386 1.4.19-3 [294 kB] Get: 12 http://deb.debian.org/debian bookworm/main i386 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main i386 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main i386 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main i386 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main i386 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main i386 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main i386 libelf1 i386 0.188-2.1 [179 kB] Get: 24 http://deb.debian.org/debian bookworm/main i386 dwz i386 0.15-1 [118 kB] Get: 25 http://deb.debian.org/debian bookworm/main i386 libicu72 i386 72.1-3 [9541 kB] Get: 26 http://deb.debian.org/debian bookworm/main i386 libxml2 i386 2.9.14+dfsg-1.2 [720 kB] Get: 27 http://deb.debian.org/debian bookworm/main i386 gettext i386 0.21-12 [1311 kB] Get: 28 http://deb.debian.org/debian bookworm/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main i386 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main i386 fonts-agave all 37-2 [104 kB] Get: 32 http://deb.debian.org/debian bookworm/main i386 fonts-ferrite-core all 2.02+ds-1 [41.4 kB] Get: 33 http://deb.debian.org/debian bookworm/main i386 fonts-inter all 4.0~beta7+ds-1 [2940 kB] Get: 34 http://deb.debian.org/debian bookworm/main i386 libglvnd0 i386 1.6.0-1 [42.7 kB] Get: 35 http://deb.debian.org/debian bookworm/main i386 libxau6 i386 1:1.0.9-1 [20.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main i386 libbsd0 i386 0.11.7-2 [121 kB] Get: 37 http://deb.debian.org/debian bookworm/main i386 libxdmcp6 i386 1:1.1.2-3 [26.7 kB] Get: 38 http://deb.debian.org/debian bookworm/main i386 libxcb1 i386 1.15-1 [148 kB] Get: 39 http://deb.debian.org/debian bookworm/main i386 libx11-data all 2:1.8.4-2 [292 kB] Get: 40 http://deb.debian.org/debian bookworm/main i386 libx11-6 i386 2:1.8.4-2 [782 kB] Get: 41 http://deb.debian.org/debian bookworm/main i386 libdrm-common all 2.4.114-1 [7112 B] Get: 42 http://deb.debian.org/debian bookworm/main i386 libdrm2 i386 2.4.114-1+b1 [40.8 kB] Get: 43 http://deb.debian.org/debian bookworm/main i386 libexpat1 i386 2.5.0-1 [103 kB] Get: 44 http://deb.debian.org/debian bookworm/main i386 libglapi-mesa i386 22.3.6-1+deb12u1 [35.6 kB] Get: 45 http://deb.debian.org/debian bookworm/main i386 libx11-xcb1 i386 2:1.8.4-2 [192 kB] Get: 46 http://deb.debian.org/debian bookworm/main i386 libxcb-dri2-0 i386 1.15-1 [107 kB] Get: 47 http://deb.debian.org/debian bookworm/main i386 libxcb-dri3-0 i386 1.15-1 [107 kB] Get: 48 http://deb.debian.org/debian bookworm/main i386 libxcb-glx0 i386 1.15-1 [124 kB] Get: 49 http://deb.debian.org/debian bookworm/main i386 libxcb-present0 i386 1.15-1 [106 kB] Get: 50 http://deb.debian.org/debian bookworm/main i386 libxcb-randr0 i386 1.15-1 [118 kB] Get: 51 http://deb.debian.org/debian bookworm/main i386 libxcb-shm0 i386 1.15-1 [106 kB] Get: 52 http://deb.debian.org/debian bookworm/main i386 libxcb-sync1 i386 1.15-1 [109 kB] Get: 53 http://deb.debian.org/debian bookworm/main i386 libxcb-xfixes0 i386 1.15-1 [110 kB] Get: 54 http://deb.debian.org/debian bookworm/main i386 libxext6 i386 2:1.3.4-1+b1 [55.3 kB] Get: 55 http://deb.debian.org/debian bookworm/main i386 libxfixes3 i386 1:6.0.0-2 [23.0 kB] Get: 56 http://deb.debian.org/debian bookworm/main i386 libxshmfence1 i386 1.3-1 [8976 B] Get: 57 http://deb.debian.org/debian bookworm/main i386 libxxf86vm1 i386 1:1.1.4-1+b2 [21.7 kB] Get: 58 http://deb.debian.org/debian bookworm/main i386 libdrm-amdgpu1 i386 2.4.114-1+b1 [24.1 kB] Get: 59 http://deb.debian.org/debian bookworm/main i386 libpciaccess0 i386 0.17-2 [53.4 kB] Get: 60 http://deb.debian.org/debian bookworm/main i386 libdrm-intel1 i386 2.4.114-1+b1 [67.9 kB] Get: 61 http://deb.debian.org/debian bookworm/main i386 libdrm-nouveau2 i386 2.4.114-1+b1 [20.7 kB] Get: 62 http://deb.debian.org/debian bookworm/main i386 libdrm-radeon1 i386 2.4.114-1+b1 [22.8 kB] Get: 63 http://deb.debian.org/debian bookworm/main i386 libedit2 i386 3.1-20221030-2 [97.2 kB] Get: 64 http://deb.debian.org/debian bookworm/main i386 libz3-4 i386 4.8.12-3.1 [7853 kB] Get: 65 http://deb.debian.org/debian bookworm/main i386 libllvm15 i386 1:15.0.6-4+b1 [26.5 MB] Get: 66 http://deb.debian.org/debian bookworm/main i386 libsensors-config all 1:3.6.0-7.1 [14.3 kB] Get: 67 http://deb.debian.org/debian bookworm/main i386 libsensors5 i386 1:3.6.0-7.1 [35.1 kB] Get: 68 http://deb.debian.org/debian bookworm/main i386 libgl1-mesa-dri i386 22.3.6-1+deb12u1 [7417 kB] Get: 69 http://deb.debian.org/debian bookworm/main i386 libglx-mesa0 i386 22.3.6-1+deb12u1 [156 kB] Get: 70 http://deb.debian.org/debian bookworm/main i386 libglx0 i386 1.6.0-1 [36.6 kB] Get: 71 http://deb.debian.org/debian bookworm/main i386 libgl1 i386 1.6.0-1 [82.1 kB] Get: 72 http://deb.debian.org/debian bookworm/main i386 libxi6 i386 2:1.8-1+b1 [86.2 kB] Get: 73 http://deb.debian.org/debian bookworm/main i386 libglut3.12 i386 3.4.0-1 [139 kB] Get: 74 http://deb.debian.org/debian bookworm/main i386 xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 75 http://deb.debian.org/debian bookworm/main i386 x11proto-dev all 2022.1-1 [599 kB] Get: 76 http://deb.debian.org/debian bookworm/main i386 libxau-dev i386 1:1.0.9-1 [23.3 kB] Get: 77 http://deb.debian.org/debian bookworm/main i386 libxdmcp-dev i386 1:1.1.2-3 [42.7 kB] Get: 78 http://deb.debian.org/debian bookworm/main i386 xtrans-dev all 1.4.0-1 [98.7 kB] Get: 79 http://deb.debian.org/debian bookworm/main i386 libpthread-stubs0-dev i386 0.4-1 [5340 B] Get: 80 http://deb.debian.org/debian bookworm/main i386 libxcb1-dev i386 1.15-1 [185 kB] Get: 81 http://deb.debian.org/debian bookworm/main i386 libx11-dev i386 2:1.8.4-2 [866 kB] Get: 82 http://deb.debian.org/debian bookworm/main i386 libglx-dev i386 1.6.0-1 [15.3 kB] Get: 83 http://deb.debian.org/debian bookworm/main i386 libgl-dev i386 1.6.0-1 [100 kB] Get: 84 http://deb.debian.org/debian bookworm/main i386 libglvnd-core-dev i386 1.6.0-1 [12.9 kB] Get: 85 http://deb.debian.org/debian bookworm/main i386 libwayland-server0 i386 1.21.0-1 [37.4 kB] Get: 86 http://deb.debian.org/debian bookworm/main i386 libgbm1 i386 22.3.6-1+deb12u1 [39.2 kB] Get: 87 http://deb.debian.org/debian bookworm/main i386 libwayland-client0 i386 1.21.0-1 [29.0 kB] Get: 88 http://deb.debian.org/debian bookworm/main i386 libegl-mesa0 i386 22.3.6-1+deb12u1 [124 kB] Get: 89 http://deb.debian.org/debian bookworm/main i386 libegl1 i386 1.6.0-1 [35.6 kB] Get: 90 http://deb.debian.org/debian bookworm/main i386 libegl-dev i386 1.6.0-1 [19.1 kB] Get: 91 http://deb.debian.org/debian bookworm/main i386 libgles1 i386 1.6.0-1 [11.6 kB] Get: 92 http://deb.debian.org/debian bookworm/main i386 libgles2 i386 1.6.0-1 [16.3 kB] Get: 93 http://deb.debian.org/debian bookworm/main i386 libgles-dev i386 1.6.0-1 [50.4 kB] Get: 94 http://deb.debian.org/debian bookworm/main i386 libopengl0 i386 1.6.0-1 [29.2 kB] Get: 95 http://deb.debian.org/debian bookworm/main i386 libopengl-dev i386 1.6.0-1 [4924 B] Get: 96 http://deb.debian.org/debian bookworm/main i386 libglvnd-dev i386 1.6.0-1 [4688 B] Get: 97 http://deb.debian.org/debian bookworm/main i386 libgl1-mesa-dev i386 22.3.6-1+deb12u1 [14.5 kB] Get: 98 http://deb.debian.org/debian bookworm/main i386 libglu1-mesa i386 9.0.2-1.1 [186 kB] Get: 99 http://deb.debian.org/debian bookworm/main i386 libglu1-mesa-dev i386 9.0.2-1.1 [230 kB] Get: 100 http://deb.debian.org/debian bookworm/main i386 libxext-dev i386 2:1.3.4-1+b1 [110 kB] Get: 101 http://deb.debian.org/debian bookworm/main i386 x11-common all 1:7.7+23 [252 kB] Get: 102 http://deb.debian.org/debian bookworm/main i386 libice6 i386 2:1.0.10-1 [60.8 kB] Get: 103 http://deb.debian.org/debian bookworm/main i386 libsm6 i386 2:1.2.3-1 [35.7 kB] Get: 104 http://deb.debian.org/debian bookworm/main i386 libxt6 i386 1:1.2.1-1.1 [192 kB] Get: 105 http://deb.debian.org/debian bookworm/main i386 libice-dev i386 2:1.0.10-1 [70.5 kB] Get: 106 http://deb.debian.org/debian bookworm/main i386 libsm-dev i386 2:1.2.3-1 [38.8 kB] Get: 107 http://deb.debian.org/debian bookworm/main i386 libxt-dev i386 1:1.2.1-1.1 [419 kB] Get: 108 http://deb.debian.org/debian bookworm/main i386 libglut-dev i386 3.4.0-1 [168 kB] Get: 109 http://deb.debian.org/debian bookworm/main i386 freeglut3-dev i386 3.4.0-1 [53.1 kB] Get: 110 http://deb.debian.org/debian bookworm/main i386 libasound2-data all 1.2.8-1 [20.5 kB] Get: 111 http://deb.debian.org/debian bookworm/main i386 libasound2 i386 1.2.8-1+b1 [388 kB] Get: 112 http://deb.debian.org/debian bookworm/main i386 libbrotli1 i386 1.0.9-2+b6 [275 kB] Get: 113 http://deb.debian.org/debian bookworm/main i386 libbrotli-dev i386 1.0.9-2+b6 [287 kB] Get: 114 http://deb.debian.org/debian bookworm/main i386 libpciaccess-dev i386 0.17-2 [57.9 kB] Get: 115 http://deb.debian.org/debian bookworm/main i386 libdrm-dev i386 2.4.114-1+b1 [300 kB] Get: 116 http://deb.debian.org/debian bookworm/main i386 libpng16-16 i386 1.6.39-2 [283 kB] Get: 117 http://deb.debian.org/debian bookworm/main i386 libfreetype6 i386 2.12.1+dfsg-5 [410 kB] Get: 118 http://deb.debian.org/debian bookworm/main i386 zlib1g-dev i386 1:1.2.13.dfsg-1 [913 kB] Get: 119 http://deb.debian.org/debian bookworm/main i386 libpng-dev i386 1.6.39-2 [367 kB] Get: 120 http://deb.debian.org/debian bookworm/main i386 libfreetype-dev i386 2.12.1+dfsg-5 [585 kB] Get: 121 http://deb.debian.org/debian bookworm/main i386 libfreetype6-dev i386 2.12.1+dfsg-5 [46.4 kB] Get: 122 http://deb.debian.org/debian bookworm/main i386 libopenal-data all 1:1.19.1-2 [170 kB] Get: 123 http://deb.debian.org/debian bookworm/main i386 libsndio7.0 i386 1.9.0-0.3+b2 [29.3 kB] Get: 124 http://deb.debian.org/debian bookworm/main i386 libopenal1 i386 1:1.19.1-2 [512 kB] Get: 125 http://deb.debian.org/debian bookworm/main i386 libopenal-dev i386 1:1.19.1-2 [31.3 kB] Get: 126 http://deb.debian.org/debian bookworm/main i386 libpkgconf3 i386 1.8.1-1 [38.3 kB] Get: 127 http://deb.debian.org/debian bookworm/main i386 mesa-common-dev i386 22.3.6-1+deb12u1 [2002 kB] Get: 128 http://deb.debian.org/debian bookworm/main i386 pkgconf-bin i386 1.8.1-1 [29.8 kB] Get: 129 http://deb.debian.org/debian bookworm/main i386 pkgconf i386 1.8.1-1 [25.9 kB] Get: 130 http://deb.debian.org/debian bookworm/main i386 pkg-config i386 1.8.1-1 [13.7 kB] Fetched 78.5 MB in 3s (28.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19604 files and directories currently installed.) Preparing to unpack .../000-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../001-libmagic-mgc_1%3a5.44-3_i386.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../002-libmagic1_1%3a5.44-3_i386.deb ... Unpacking libmagic1:i386 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../003-file_1%3a5.44-3_i386.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../004-gettext-base_0.21-12_i386.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../005-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../006-groff-base_1.22.4-10_i386.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../007-bsdextrautils_2.38.1-5+b1_i386.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../008-libpipeline1_1.5.7-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../009-man-db_2.11.2-2_i386.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../010-m4_1.4.19-3_i386.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../011-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../012-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../013-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../014-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../015-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../016-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../017-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../018-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../019-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../020-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../021-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../022-libelf1_0.188-2.1_i386.deb ... Unpacking libelf1:i386 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../023-dwz_0.15-1_i386.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../024-libicu72_72.1-3_i386.deb ... Unpacking libicu72:i386 (72.1-3) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../025-libxml2_2.9.14+dfsg-1.2_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../026-gettext_0.21-12_i386.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../027-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../028-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../029-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package fonts-agave. Preparing to unpack .../030-fonts-agave_37-2_all.deb ... Unpacking fonts-agave (37-2) ... Selecting previously unselected package fonts-ferrite-core. Preparing to unpack .../031-fonts-ferrite-core_2.02+ds-1_all.deb ... Unpacking fonts-ferrite-core (2.02+ds-1) ... Selecting previously unselected package fonts-inter. Preparing to unpack .../032-fonts-inter_4.0~beta7+ds-1_all.deb ... Unpacking fonts-inter (4.0~beta7+ds-1) ... Selecting previously unselected package libglvnd0:i386. Preparing to unpack .../033-libglvnd0_1.6.0-1_i386.deb ... Unpacking libglvnd0:i386 (1.6.0-1) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../034-libxau6_1%3a1.0.9-1_i386.deb ... Unpacking libxau6:i386 (1:1.0.9-1) ... Selecting previously unselected package libbsd0:i386. Preparing to unpack .../035-libbsd0_0.11.7-2_i386.deb ... Unpacking libbsd0:i386 (0.11.7-2) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../036-libxdmcp6_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../037-libxcb1_1.15-1_i386.deb ... Unpacking libxcb1:i386 (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../038-libx11-data_2%3a1.8.4-2_all.deb ... Unpacking libx11-data (2:1.8.4-2) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../039-libx11-6_2%3a1.8.4-2_i386.deb ... Unpacking libx11-6:i386 (2:1.8.4-2) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../040-libdrm-common_2.4.114-1_all.deb ... Unpacking libdrm-common (2.4.114-1) ... Selecting previously unselected package libdrm2:i386. Preparing to unpack .../041-libdrm2_2.4.114-1+b1_i386.deb ... Unpacking libdrm2:i386 (2.4.114-1+b1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../042-libexpat1_2.5.0-1_i386.deb ... Unpacking libexpat1:i386 (2.5.0-1) ... Selecting previously unselected package libglapi-mesa:i386. Preparing to unpack .../043-libglapi-mesa_22.3.6-1+deb12u1_i386.deb ... Unpacking libglapi-mesa:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libx11-xcb1:i386. Preparing to unpack .../044-libx11-xcb1_2%3a1.8.4-2_i386.deb ... Unpacking libx11-xcb1:i386 (2:1.8.4-2) ... Selecting previously unselected package libxcb-dri2-0:i386. Preparing to unpack .../045-libxcb-dri2-0_1.15-1_i386.deb ... Unpacking libxcb-dri2-0:i386 (1.15-1) ... Selecting previously unselected package libxcb-dri3-0:i386. Preparing to unpack .../046-libxcb-dri3-0_1.15-1_i386.deb ... Unpacking libxcb-dri3-0:i386 (1.15-1) ... Selecting previously unselected package libxcb-glx0:i386. Preparing to unpack .../047-libxcb-glx0_1.15-1_i386.deb ... Unpacking libxcb-glx0:i386 (1.15-1) ... Selecting previously unselected package libxcb-present0:i386. Preparing to unpack .../048-libxcb-present0_1.15-1_i386.deb ... Unpacking libxcb-present0:i386 (1.15-1) ... Selecting previously unselected package libxcb-randr0:i386. Preparing to unpack .../049-libxcb-randr0_1.15-1_i386.deb ... Unpacking libxcb-randr0:i386 (1.15-1) ... Selecting previously unselected package libxcb-shm0:i386. Preparing to unpack .../050-libxcb-shm0_1.15-1_i386.deb ... Unpacking libxcb-shm0:i386 (1.15-1) ... Selecting previously unselected package libxcb-sync1:i386. Preparing to unpack .../051-libxcb-sync1_1.15-1_i386.deb ... Unpacking libxcb-sync1:i386 (1.15-1) ... Selecting previously unselected package libxcb-xfixes0:i386. Preparing to unpack .../052-libxcb-xfixes0_1.15-1_i386.deb ... Unpacking libxcb-xfixes0:i386 (1.15-1) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../053-libxext6_2%3a1.3.4-1+b1_i386.deb ... Unpacking libxext6:i386 (2:1.3.4-1+b1) ... Selecting previously unselected package libxfixes3:i386. Preparing to unpack .../054-libxfixes3_1%3a6.0.0-2_i386.deb ... Unpacking libxfixes3:i386 (1:6.0.0-2) ... Selecting previously unselected package libxshmfence1:i386. Preparing to unpack .../055-libxshmfence1_1.3-1_i386.deb ... Unpacking libxshmfence1:i386 (1.3-1) ... Selecting previously unselected package libxxf86vm1:i386. Preparing to unpack .../056-libxxf86vm1_1%3a1.1.4-1+b2_i386.deb ... Unpacking libxxf86vm1:i386 (1:1.1.4-1+b2) ... Selecting previously unselected package libdrm-amdgpu1:i386. Preparing to unpack .../057-libdrm-amdgpu1_2.4.114-1+b1_i386.deb ... Unpacking libdrm-amdgpu1:i386 (2.4.114-1+b1) ... Selecting previously unselected package libpciaccess0:i386. Preparing to unpack .../058-libpciaccess0_0.17-2_i386.deb ... Unpacking libpciaccess0:i386 (0.17-2) ... Selecting previously unselected package libdrm-intel1:i386. Preparing to unpack .../059-libdrm-intel1_2.4.114-1+b1_i386.deb ... Unpacking libdrm-intel1:i386 (2.4.114-1+b1) ... Selecting previously unselected package libdrm-nouveau2:i386. Preparing to unpack .../060-libdrm-nouveau2_2.4.114-1+b1_i386.deb ... Unpacking libdrm-nouveau2:i386 (2.4.114-1+b1) ... Selecting previously unselected package libdrm-radeon1:i386. Preparing to unpack .../061-libdrm-radeon1_2.4.114-1+b1_i386.deb ... Unpacking libdrm-radeon1:i386 (2.4.114-1+b1) ... Selecting previously unselected package libedit2:i386. Preparing to unpack .../062-libedit2_3.1-20221030-2_i386.deb ... Unpacking libedit2:i386 (3.1-20221030-2) ... Selecting previously unselected package libz3-4:i386. Preparing to unpack .../063-libz3-4_4.8.12-3.1_i386.deb ... Unpacking libz3-4:i386 (4.8.12-3.1) ... Selecting previously unselected package libllvm15:i386. Preparing to unpack .../064-libllvm15_1%3a15.0.6-4+b1_i386.deb ... Unpacking libllvm15:i386 (1:15.0.6-4+b1) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../065-libsensors-config_1%3a3.6.0-7.1_all.deb ... Unpacking libsensors-config (1:3.6.0-7.1) ... Selecting previously unselected package libsensors5:i386. Preparing to unpack .../066-libsensors5_1%3a3.6.0-7.1_i386.deb ... Unpacking libsensors5:i386 (1:3.6.0-7.1) ... Selecting previously unselected package libgl1-mesa-dri:i386. Preparing to unpack .../067-libgl1-mesa-dri_22.3.6-1+deb12u1_i386.deb ... Unpacking libgl1-mesa-dri:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libglx-mesa0:i386. Preparing to unpack .../068-libglx-mesa0_22.3.6-1+deb12u1_i386.deb ... Unpacking libglx-mesa0:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libglx0:i386. Preparing to unpack .../069-libglx0_1.6.0-1_i386.deb ... Unpacking libglx0:i386 (1.6.0-1) ... Selecting previously unselected package libgl1:i386. Preparing to unpack .../070-libgl1_1.6.0-1_i386.deb ... Unpacking libgl1:i386 (1.6.0-1) ... Selecting previously unselected package libxi6:i386. Preparing to unpack .../071-libxi6_2%3a1.8-1+b1_i386.deb ... Unpacking libxi6:i386 (2:1.8-1+b1) ... Selecting previously unselected package libglut3.12:i386. Preparing to unpack .../072-libglut3.12_3.4.0-1_i386.deb ... Unpacking libglut3.12:i386 (3.4.0-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../073-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../074-x11proto-dev_2022.1-1_all.deb ... Unpacking x11proto-dev (2022.1-1) ... Selecting previously unselected package libxau-dev:i386. Preparing to unpack .../075-libxau-dev_1%3a1.0.9-1_i386.deb ... Unpacking libxau-dev:i386 (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:i386. Preparing to unpack .../076-libxdmcp-dev_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp-dev:i386 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../077-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libpthread-stubs0-dev:i386. Preparing to unpack .../078-libpthread-stubs0-dev_0.4-1_i386.deb ... Unpacking libpthread-stubs0-dev:i386 (0.4-1) ... Selecting previously unselected package libxcb1-dev:i386. Preparing to unpack .../079-libxcb1-dev_1.15-1_i386.deb ... Unpacking libxcb1-dev:i386 (1.15-1) ... Selecting previously unselected package libx11-dev:i386. Preparing to unpack .../080-libx11-dev_2%3a1.8.4-2_i386.deb ... Unpacking libx11-dev:i386 (2:1.8.4-2) ... Selecting previously unselected package libglx-dev:i386. Preparing to unpack .../081-libglx-dev_1.6.0-1_i386.deb ... Unpacking libglx-dev:i386 (1.6.0-1) ... Selecting previously unselected package libgl-dev:i386. Preparing to unpack .../082-libgl-dev_1.6.0-1_i386.deb ... Unpacking libgl-dev:i386 (1.6.0-1) ... Selecting previously unselected package libglvnd-core-dev:i386. Preparing to unpack .../083-libglvnd-core-dev_1.6.0-1_i386.deb ... Unpacking libglvnd-core-dev:i386 (1.6.0-1) ... Selecting previously unselected package libwayland-server0:i386. Preparing to unpack .../084-libwayland-server0_1.21.0-1_i386.deb ... Unpacking libwayland-server0:i386 (1.21.0-1) ... Selecting previously unselected package libgbm1:i386. Preparing to unpack .../085-libgbm1_22.3.6-1+deb12u1_i386.deb ... Unpacking libgbm1:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libwayland-client0:i386. Preparing to unpack .../086-libwayland-client0_1.21.0-1_i386.deb ... Unpacking libwayland-client0:i386 (1.21.0-1) ... Selecting previously unselected package libegl-mesa0:i386. Preparing to unpack .../087-libegl-mesa0_22.3.6-1+deb12u1_i386.deb ... Unpacking libegl-mesa0:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libegl1:i386. Preparing to unpack .../088-libegl1_1.6.0-1_i386.deb ... Unpacking libegl1:i386 (1.6.0-1) ... Selecting previously unselected package libegl-dev:i386. Preparing to unpack .../089-libegl-dev_1.6.0-1_i386.deb ... Unpacking libegl-dev:i386 (1.6.0-1) ... Selecting previously unselected package libgles1:i386. Preparing to unpack .../090-libgles1_1.6.0-1_i386.deb ... Unpacking libgles1:i386 (1.6.0-1) ... Selecting previously unselected package libgles2:i386. Preparing to unpack .../091-libgles2_1.6.0-1_i386.deb ... Unpacking libgles2:i386 (1.6.0-1) ... Selecting previously unselected package libgles-dev:i386. Preparing to unpack .../092-libgles-dev_1.6.0-1_i386.deb ... Unpacking libgles-dev:i386 (1.6.0-1) ... Selecting previously unselected package libopengl0:i386. Preparing to unpack .../093-libopengl0_1.6.0-1_i386.deb ... Unpacking libopengl0:i386 (1.6.0-1) ... Selecting previously unselected package libopengl-dev:i386. Preparing to unpack .../094-libopengl-dev_1.6.0-1_i386.deb ... Unpacking libopengl-dev:i386 (1.6.0-1) ... Selecting previously unselected package libglvnd-dev:i386. Preparing to unpack .../095-libglvnd-dev_1.6.0-1_i386.deb ... Unpacking libglvnd-dev:i386 (1.6.0-1) ... Selecting previously unselected package libgl1-mesa-dev:i386. Preparing to unpack .../096-libgl1-mesa-dev_22.3.6-1+deb12u1_i386.deb ... Unpacking libgl1-mesa-dev:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package libglu1-mesa:i386. Preparing to unpack .../097-libglu1-mesa_9.0.2-1.1_i386.deb ... Unpacking libglu1-mesa:i386 (9.0.2-1.1) ... Selecting previously unselected package libglu1-mesa-dev:i386. Preparing to unpack .../098-libglu1-mesa-dev_9.0.2-1.1_i386.deb ... Unpacking libglu1-mesa-dev:i386 (9.0.2-1.1) ... Selecting previously unselected package libxext-dev:i386. Preparing to unpack .../099-libxext-dev_2%3a1.3.4-1+b1_i386.deb ... Unpacking libxext-dev:i386 (2:1.3.4-1+b1) ... Selecting previously unselected package x11-common. Preparing to unpack .../100-x11-common_1%3a7.7+23_all.deb ... Unpacking x11-common (1:7.7+23) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../101-libice6_2%3a1.0.10-1_i386.deb ... Unpacking libice6:i386 (2:1.0.10-1) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../102-libsm6_2%3a1.2.3-1_i386.deb ... Unpacking libsm6:i386 (2:1.2.3-1) ... Selecting previously unselected package libxt6:i386. Preparing to unpack .../103-libxt6_1%3a1.2.1-1.1_i386.deb ... Unpacking libxt6:i386 (1:1.2.1-1.1) ... Selecting previously unselected package libice-dev:i386. Preparing to unpack .../104-libice-dev_2%3a1.0.10-1_i386.deb ... Unpacking libice-dev:i386 (2:1.0.10-1) ... Selecting previously unselected package libsm-dev:i386. Preparing to unpack .../105-libsm-dev_2%3a1.2.3-1_i386.deb ... Unpacking libsm-dev:i386 (2:1.2.3-1) ... Selecting previously unselected package libxt-dev:i386. Preparing to unpack .../106-libxt-dev_1%3a1.2.1-1.1_i386.deb ... Unpacking libxt-dev:i386 (1:1.2.1-1.1) ... Selecting previously unselected package libglut-dev:i386. Preparing to unpack .../107-libglut-dev_3.4.0-1_i386.deb ... Unpacking libglut-dev:i386 (3.4.0-1) ... Selecting previously unselected package freeglut3-dev:i386. Preparing to unpack .../108-freeglut3-dev_3.4.0-1_i386.deb ... Unpacking freeglut3-dev:i386 (3.4.0-1) ... Selecting previously unselected package libasound2-data. Preparing to unpack .../109-libasound2-data_1.2.8-1_all.deb ... Unpacking libasound2-data (1.2.8-1) ... Selecting previously unselected package libasound2:i386. Preparing to unpack .../110-libasound2_1.2.8-1+b1_i386.deb ... Unpacking libasound2:i386 (1.2.8-1+b1) ... Selecting previously unselected package libbrotli1:i386. Preparing to unpack .../111-libbrotli1_1.0.9-2+b6_i386.deb ... Unpacking libbrotli1:i386 (1.0.9-2+b6) ... Selecting previously unselected package libbrotli-dev:i386. Preparing to unpack .../112-libbrotli-dev_1.0.9-2+b6_i386.deb ... Unpacking libbrotli-dev:i386 (1.0.9-2+b6) ... Selecting previously unselected package libpciaccess-dev:i386. Preparing to unpack .../113-libpciaccess-dev_0.17-2_i386.deb ... Unpacking libpciaccess-dev:i386 (0.17-2) ... Selecting previously unselected package libdrm-dev:i386. Preparing to unpack .../114-libdrm-dev_2.4.114-1+b1_i386.deb ... Unpacking libdrm-dev:i386 (2.4.114-1+b1) ... Selecting previously unselected package libpng16-16:i386. Preparing to unpack .../115-libpng16-16_1.6.39-2_i386.deb ... Unpacking libpng16-16:i386 (1.6.39-2) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../116-libfreetype6_2.12.1+dfsg-5_i386.deb ... Unpacking libfreetype6:i386 (2.12.1+dfsg-5) ... Selecting previously unselected package zlib1g-dev:i386. Preparing to unpack .../117-zlib1g-dev_1%3a1.2.13.dfsg-1_i386.deb ... Unpacking zlib1g-dev:i386 (1:1.2.13.dfsg-1) ... Selecting previously unselected package libpng-dev:i386. Preparing to unpack .../118-libpng-dev_1.6.39-2_i386.deb ... Unpacking libpng-dev:i386 (1.6.39-2) ... Selecting previously unselected package libfreetype-dev:i386. Preparing to unpack .../119-libfreetype-dev_2.12.1+dfsg-5_i386.deb ... Unpacking libfreetype-dev:i386 (2.12.1+dfsg-5) ... Selecting previously unselected package libfreetype6-dev:i386. Preparing to unpack .../120-libfreetype6-dev_2.12.1+dfsg-5_i386.deb ... Unpacking libfreetype6-dev:i386 (2.12.1+dfsg-5) ... Selecting previously unselected package libopenal-data. Preparing to unpack .../121-libopenal-data_1%3a1.19.1-2_all.deb ... Unpacking libopenal-data (1:1.19.1-2) ... Selecting previously unselected package libsndio7.0:i386. Preparing to unpack .../122-libsndio7.0_1.9.0-0.3+b2_i386.deb ... Unpacking libsndio7.0:i386 (1.9.0-0.3+b2) ... Selecting previously unselected package libopenal1:i386. Preparing to unpack .../123-libopenal1_1%3a1.19.1-2_i386.deb ... Unpacking libopenal1:i386 (1:1.19.1-2) ... Selecting previously unselected package libopenal-dev:i386. Preparing to unpack .../124-libopenal-dev_1%3a1.19.1-2_i386.deb ... Unpacking libopenal-dev:i386 (1:1.19.1-2) ... Selecting previously unselected package libpkgconf3:i386. Preparing to unpack .../125-libpkgconf3_1.8.1-1_i386.deb ... Unpacking libpkgconf3:i386 (1.8.1-1) ... Selecting previously unselected package mesa-common-dev:i386. Preparing to unpack .../126-mesa-common-dev_22.3.6-1+deb12u1_i386.deb ... Unpacking mesa-common-dev:i386 (22.3.6-1+deb12u1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../127-pkgconf-bin_1.8.1-1_i386.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:i386. Preparing to unpack .../128-pkgconf_1.8.1-1_i386.deb ... Unpacking pkgconf:i386 (1.8.1-1) ... Selecting previously unselected package pkg-config:i386. Preparing to unpack .../129-pkg-config_1.8.1-1_i386.deb ... Unpacking pkg-config:i386 (1.8.1-1) ... Setting up libexpat1:i386 (2.5.0-1) ... Setting up libpipeline1:i386 (1.5.7-1) ... Setting up libwayland-server0:i386 (1.21.0-1) ... Setting up libpciaccess0:i386 (0.17-2) ... Setting up libxau6:i386 (1:1.0.9-1) ... Setting up libicu72:i386 (72.1-3) ... Setting up libpciaccess-dev:i386 (0.17-2) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libglvnd-core-dev:i386 (1.6.0-1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglvnd0:i386 (1.6.0-1) ... Setting up fonts-ferrite-core (2.02+ds-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libbrotli1:i386 (1.0.9-2+b6) ... Setting up x11-common (1:7.7+23) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libsensors-config (1:3.6.0-7.1) ... Setting up libmagic1:i386 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libpthread-stubs0-dev:i386 (0.4-1) ... Setting up libopengl0:i386 (1.6.0-1) ... Setting up libasound2-data (1.2.8-1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:i386 (4.8.12-3.1) ... Setting up libpkgconf3:i386 (1.8.1-1) ... Setting up libgles2:i386 (1.6.0-1) ... Setting up libx11-data (2:1.8.4-2) ... Setting up libgles1:i386 (1.6.0-1) ... Setting up libpng16-16:i386 (1.6.39-2) ... Setting up fonts-inter (4.0~beta7+ds-1) ... Setting up autopoint (0.21-12) ... Setting up fonts-agave (37-2) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up libsensors5:i386 (1:3.6.0-7.1) ... Setting up libglapi-mesa:i386 (22.3.6-1+deb12u1) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:i386 (1:1.2.13.dfsg-1) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libxshmfence1:i386 (1.3-1) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libasound2:i386 (1.2.8-1+b1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libopenal-data (1:1.19.1-2) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libglu1-mesa:i386 (9.0.2-1.1) ... Setting up libopengl-dev:i386 (1.6.0-1) ... Setting up libbsd0:i386 (0.11.7-2) ... Setting up libdrm-common (2.4.114-1) ... Setting up libelf1:i386 (0.188-2.1) ... Setting up libxml2:i386 (2.9.14+dfsg-1.2) ... Setting up libbrotli-dev:i386 (1.0.9-2+b6) ... Setting up libwayland-client0:i386 (1.21.0-1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up x11proto-dev (2022.1-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libice6:i386 (2:1.0.10-1) ... Setting up libxdmcp6:i386 (1:1.1.2-3) ... Setting up libxcb1:i386 (1.15-1) ... Setting up gettext (0.21-12) ... Setting up libxcb-xfixes0:i386 (1.15-1) ... Setting up libxau-dev:i386 (1:1.0.9-1) ... Setting up libice-dev:i386 (2:1.0.10-1) ... Setting up libtool (2.4.7-5) ... Setting up libxcb-glx0:i386 (1.15-1) ... Setting up libedit2:i386 (3.1-20221030-2) ... Setting up libpng-dev:i386 (1.6.39-2) ... Setting up libxcb-shm0:i386 (1.15-1) ... Setting up pkgconf:i386 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libxcb-present0:i386 (1.15-1) ... Setting up dh-autoreconf (20) ... Setting up libxdmcp-dev:i386 (1:1.1.2-3) ... Setting up libfreetype6:i386 (2.12.1+dfsg-5) ... Setting up libxcb-sync1:i386 (1.15-1) ... Setting up pkg-config:i386 (1.8.1-1) ... Setting up libsndio7.0:i386 (1.9.0-0.3+b2) ... Setting up libxcb-dri2-0:i386 (1.15-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libdrm2:i386 (2.4.114-1+b1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libxcb-randr0:i386 (1.15-1) ... Setting up libllvm15:i386 (1:15.0.6-4+b1) ... Setting up libx11-6:i386 (2:1.8.4-2) ... Setting up libsm6:i386 (2:1.2.3-1) ... Setting up libdrm-amdgpu1:i386 (2.4.114-1+b1) ... Setting up libxcb-dri3-0:i386 (1.15-1) ... Setting up libx11-xcb1:i386 (2:1.8.4-2) ... Setting up libdrm-nouveau2:i386 (2.4.114-1+b1) ... Setting up libxcb1-dev:i386 (1.15-1) ... Setting up libgbm1:i386 (22.3.6-1+deb12u1) ... Setting up libsm-dev:i386 (2:1.2.3-1) ... Setting up libdrm-radeon1:i386 (2.4.114-1+b1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libdrm-intel1:i386 (2.4.114-1+b1) ... Setting up libgl1-mesa-dri:i386 (22.3.6-1+deb12u1) ... Setting up libx11-dev:i386 (2:1.8.4-2) ... Setting up libxext6:i386 (2:1.3.4-1+b1) ... Setting up libopenal1:i386 (1:1.19.1-2) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxxf86vm1:i386 (1:1.1.4-1+b2) ... Setting up libfreetype-dev:i386 (2.12.1+dfsg-5) ... Setting up libegl-mesa0:i386 (22.3.6-1+deb12u1) ... Setting up libxfixes3:i386 (1:6.0.0-2) ... Setting up libxt6:i386 (1:1.2.1-1.1) ... Setting up libxext-dev:i386 (2:1.3.4-1+b1) ... Setting up libegl1:i386 (1.6.0-1) ... Setting up libdrm-dev:i386 (2.4.114-1+b1) ... Setting up libglx-mesa0:i386 (22.3.6-1+deb12u1) ... Setting up libxi6:i386 (2:1.8-1+b1) ... Setting up libglx0:i386 (1.6.0-1) ... Setting up libopenal-dev:i386 (1:1.19.1-2) ... Setting up debhelper (13.11.4) ... Setting up libfreetype6-dev:i386 (2.12.1+dfsg-5) ... Setting up libgl1:i386 (1.6.0-1) ... Setting up libxt-dev:i386 (1:1.2.1-1.1) ... Setting up libglut3.12:i386 (3.4.0-1) ... Setting up libglx-dev:i386 (1.6.0-1) ... Setting up libgl-dev:i386 (1.6.0-1) ... Setting up libegl-dev:i386 (1.6.0-1) ... Setting up libglu1-mesa-dev:i386 (9.0.2-1.1) ... Setting up mesa-common-dev:i386 (22.3.6-1+deb12u1) ... Setting up libgles-dev:i386 (1.6.0-1) ... Setting up libglvnd-dev:i386 (1.6.0-1) ... Setting up libgl1-mesa-dev:i386 (22.3.6-1+deb12u1) ... Setting up libglut-dev:i386 (3.4.0-1) ... Setting up freeglut3-dev:i386 (3.4.0-1) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/29982/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/29982/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/komposter-0+git20201216+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../komposter_0+git20201216+ds-2_source.changes dpkg-buildpackage: info: source package komposter dpkg-buildpackage: info: source version 0+git20201216+ds-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Gürkan Myczko dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --without autoreconf debian/rules override_dh_clean make[1]: Entering directory '/build/komposter-0+git20201216+ds' dh_clean make[1]: Leaving directory '/build/komposter-0+git20201216+ds' debian/rules binary dh binary --without autoreconf dh_update_autotools_config dh_auto_configure ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /build/komposter-0+git20201216+ds/missing: Unknown `--is-lightweight' option Try `/build/komposter-0+git20201216+ds/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for compilation mode... optimized checking if gcc accepts -O3... yes checking if g++ accepts -O3... yes checking if gcc accepts -fcx-limited-range... yes checking if g++ accepts -fcx-limited-range... yes checking if gcc accepts -ffinite-math-only... yes checking if g++ accepts -ffinite-math-only... yes checking if gcc accepts -fno-math-errno... yes checking if g++ accepts -fno-math-errno... yes checking if gcc accepts -fno-rounding-math... yes checking if g++ accepts -fno-rounding-math... yes checking if gcc accepts -fno-signaling-nans... yes checking if g++ accepts -fno-signaling-nans... yes checking if gcc accepts -fno-trapping-math... yes checking if g++ accepts -fno-trapping-math... yes checking if gcc accepts -fgcse-las... yes checking if g++ accepts -fgcse-las... yes checking if gcc accepts -fgcse-sm... yes checking if g++ accepts -fgcse-sm... yes checking if gcc accepts -fsee... yes checking if g++ accepts -fsee... yes checking if gcc accepts -fsingle-precision-constant... yes checking if g++ accepts -fsingle-precision-constant... yes checking if gcc accepts -fomit-frame-pointer... yes checking if g++ accepts -fomit-frame-pointer... yes checking if linker accepts -s... yes checking if gcc accepts -Wall... yes checking if g++ accepts -Wall... yes checking if gcc accepts -Wcast-align... yes checking if g++ accepts -Wcast-align... yes checking if gcc accepts -Wconversion... yes checking if g++ accepts -Wconversion... yes checking if gcc accepts -Wdisabled-optimization... yes checking if g++ accepts -Wdisabled-optimization... yes checking if gcc accepts -Wextra... yes checking if g++ accepts -Wextra... yes checking if gcc accepts -Winit-self... yes checking if g++ accepts -Winit-self... yes checking if gcc accepts -Winvalid-pch... yes checking if g++ accepts -Winvalid-pch... yes checking if gcc accepts -Wmissing-format-attribute... yes checking if g++ accepts -Wmissing-format-attribute... yes checking if gcc accepts -Wmissing-include-dirs... yes checking if g++ accepts -Wmissing-include-dirs... yes checking if gcc accepts -Wmissing-noreturn... yes checking if g++ accepts -Wmissing-noreturn... yes checking if gcc accepts -Wno-multichar... yes checking if g++ accepts -Wno-multichar... yes checking if gcc accepts -Wpacked... yes checking if g++ accepts -Wpacked... yes checking if gcc accepts -Wredundant-decls... yes checking if g++ accepts -Wredundant-decls... yes checking if gcc accepts -Wshadow... yes checking if g++ accepts -Wshadow... yes checking if gcc accepts -Wswitch-default... yes checking if g++ accepts -Wswitch-default... yes checking if gcc accepts -Wundef... yes checking if g++ accepts -Wundef... yes checking if gcc accepts -Wwrite-strings... yes checking if g++ accepts -Wwrite-strings... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Wold-style-definition... yes checking if gcc accepts -Wstrict-prototypes... yes checking if g++ accepts -Wctor-dtor-privacy... yes checking if g++ accepts -Werror=non-virtual-dtor... yes checking if g++ accepts -Woverloaded-virtual... yes checking if gcc accepts -ftracer... yes checking if g++ accepts -ftracer... yes checking if gcc accepts -fweb... yes checking if g++ accepts -fweb... yes checking if gcc accepts -pipe... yes checking if g++ accepts -pipe... yes checking if gcc accepts -Werror-implicit-function-declaration... yes checking for cpu architecture... autodetect checking if gcc accepts -march=native... yes checking if g++ accepts -march=native... yes checking for include directory /opt/include... no checking for library directory /opt/lib... no checking for include directory /opt/local/include... no checking for library directory /opt/local/lib... no checking for include directory /sw/include... no checking for library directory /sw/lib... no checking for include directory /usr/local/include... yes checking for library directory /usr/local/lib... yes checking for include directory /usr/X11R6/include... no checking for library directory /usr/X11R6/lib... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for freetype2... yes checking if freetype2 is ok... yes checking for glutInit in -lglut... yes checking if GLUT is ok... yes checking for openal... yes checking if openal is ok... yes checking for glFrustum in -lGL... yes checking for gluPerspective in -lGLU... yes checking if OpenGL is ok... yes checking for log in -lm... yes checking for pthread_create in -lpthread... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands Configuration for komposter 2.0.0: Enable debug: no Enable optimizations: yes Compiler: gcc Compiler flags: -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -march=native -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL Linker flags: -frelease -L/usr/local/lib Libs: -lpthread -lm -lGLU -lGL -lglut -lfreetype -lopenal Install prefix: /usr Install resources to: /usr Type 'make' to build and 'make install' to install komposter. debian/rules override_dh_auto_build make[1]: Entering directory '/build/komposter-0+git20201216+ds' sed -i s,-march=native,,g Makefile dh_auto_build make -j15 make[2]: Entering directory '/build/komposter-0+git20201216+ds' gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o about.o about.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o audio.o audio.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o bezier.o bezier.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o buffermm.o buffermm.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o console.o console.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o dialog.o dialog.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o dotfile.o dotfile.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o filedialog.o filedialog.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o fileops.o fileops.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o font.o font.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o main.o main.c gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o modules.o modules.c In file included from about.h:16, from about.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from console.h:16, from console.c:12: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o patch.o patch.c In file included from buffermm.h:16, from buffermm.c:13: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o pattern.o pattern.c In file included from font.h:16, from font.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o sequencer.o sequencer.c In file included from dotfile.c:16: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ dotfile.c:32:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 32 | int dotfile_load() { | ^~~~~~~~~~~~ dotfile.c: In function 'dotfile_load': dotfile.c:32:5: warning: old-style function definition [-Wold-style-definition] dotfile.c:70:22: warning: passing argument 1 of 'dotfile_setvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | dotfile_setvalue("synthFileDir", home); | ^~~~~~~~~~~~~~ dotfile.h:19:28: note: expected 'char *' but argument is of type 'const char *' 19 | int dotfile_setvalue(char *key, char *value); | ~~~~~~^~~ dotfile.c:71:22: warning: passing argument 1 of 'dotfile_setvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | dotfile_setvalue("songFileDir", home); | ^~~~~~~~~~~~~ dotfile.h:19:28: note: expected 'char *' but argument is of type 'const char *' 19 | int dotfile_setvalue(char *key, char *value); | ~~~~~~^~~ dotfile.c: At top level: dotfile.c:78:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 78 | int dotfile_save() { | ^~~~~~~~~~~~ dotfile.c: In function 'dotfile_save': dotfile.c:78:5: warning: old-style function definition [-Wold-style-definition] In file included from audio.h:16, from audio.c:16: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from pattern.h:17, from buffermm.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from fileops.c:19: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ In file included from patch.h:17, from fileops.c:20: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from audio.h:16, from modules.c:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from widgets.h:20, from dialog.h:16, from filedialog.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from patch.h:17, from patch.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from pattern.h:17, from pattern.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from widgets.h:20, from dialog.h:16, from dialog.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o shader.o shader.c In file included from sequencer.h:17, from sequencer.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o synthesizer.o synthesizer.c In file included from shader.h:17, from shader.c:16: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from main.c:27: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ In file included from buffermm.h:16, from modules.c:19: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ In file included from pattern.h:17, from buffermm.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ font.c:61:14: warning: no previous prototype for 'tpow2' [-Wmissing-prototypes] 61 | unsigned int tpow2(unsigned int x) | ^~~~~ font.c: In function 'font_init': font.c:92:50: warning: conversion to 'FT_UInt' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 92 | err=FT_Set_Pixel_Sizes(font[i], 0, fontsize[i]); | ~~~~~~~~^~~ font.c:108:35: warning: conversion to 'FT_ULong' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 108 | err=FT_Load_Char(font[f], rc, FT_LOAD_RENDER); | ^~ font.c:118:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 118 | font_width[f][c]=slot->bitmap.width; | ^~~~ font.c:119:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 119 | font_height[f][c]=slot->bitmap.rows; | ^~~~ font.c:120:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 120 | texw=tpow2(slot->bitmap.width); | ^~~~~ font.c:121:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 121 | texh=tpow2(slot->bitmap.rows); | ^~~~~ font.c:126:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 126 | font_bitmap[f][c]=calloc(texw*texh, sizeof(GLuint)); | ~~~~^~~~~ font.c:127:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 127 | for (j=0;jbitmap.rows;j++) | ^ console.c: In function 'console_print': console.c:44:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 44 | render_text(backlog[logptr], x+1, y+1, 2, ((unsigned char)(a)<<24)|0x00000000, 0); | ~^~ console.c:44:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 44 | render_text(backlog[logptr], x+1, y+1, 2, ((unsigned char)(a)<<24)|0x00000000, 0); | ~^~ font.c:129:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 129 | for(i=0;ibitmap.width;i++) { | ^ console.c:45:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 45 | render_text(backlog[logptr], x, y, 2, ((unsigned char)(a)<<24)|0x00b05500, 0); | ^ console.c:45:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 45 | render_text(backlog[logptr], x, y, 2, ((unsigned char)(a)<<24)|0x00b05500, 0); | ^ font.c:131:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 131 | font_bitmap[f][c][ ( slot->bitmap.rows-(j+1) )*texw + i] = p; | ^ font.c:131:59: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 131 | font_bitmap[f][c][ ( slot->bitmap.rows-(j+1) )*texw + i] = p; | ^ font.c:131:65: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 131 | font_bitmap[f][c][ ( slot->bitmap.rows-(j+1) )*texw + i] = p; | ^ font.c: In function 'render_text': font.c:165:7: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 165 | sw+=font_advance[fontnr][(int)text[n]]; | ^~ font.c:171:19: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 171 | if (align==1) xp-=(sw/2); | ^~ font.c:172:19: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 172 | if (align==2) xp-=sw; | ^~ font.c:176:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 176 | if ((int)text[n]=='\n') { yp+=fontsize[fontnr]+2; xp=x; n++; continue; } | ^~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ font.c:178:68: warning: conversion from 'long unsigned int' to 'GLubyte' {aka 'unsigned char'} may change value [-Wconversion] 178 | glColor4ub((color>>16)&0xff, (color>>8)&0xff, color&0xff, color>>24); | ~~~~~^~~~ font.c:182:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 182 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]], yp+font_yoffset[fontnr][(int)text[n]]); | ^ font.c:182:59: warning: conversion from 'int' to 'float' may change value [-Wconversion] 182 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]], yp+font_yoffset[fontnr][(int)text[n]]); | ^ font.c:184:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 184 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]]+font_width[fontnr][(int)text[n]], yp+font_yoffset[fontnr][(int)text[n]]); | ^ font.c:184:55: warning: conversion from 'int' to 'float' may change value [-Wconversion] 184 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]]+font_width[fontnr][(int)text[n]], yp+font_yoffset[fontnr][(int)text[n]]); | ^ font.c:184:92: warning: conversion from 'int' to 'float' may change value [-Wconversion] 184 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]]+font_width[fontnr][(int)text[n]], yp+font_yoffset[fontnr][(int)text[n]]); | ^ font.c:186:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 186 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]]+font_width[fontnr][(int)text[n]], | ^ In file included from buffermm.h:16, from audio.c:17: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ font.c:186:55: warning: conversion from 'int' to 'float' may change value [-Wconversion] 186 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]]+font_width[fontnr][(int)text[n]], | ^ font.c:187:18: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | yp+font_yoffset[fontnr][(int)text[n]]+font_height[fontnr][(int)text[n]]); | ^ In file included from pattern.h:17, from buffermm.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ font.c:187:53: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | yp+font_yoffset[fontnr][(int)text[n]]+font_height[fontnr][(int)text[n]]); | ^ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ font.c:189:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 189 | glVertex2f(xp+font_xoffset[fontnr][(int)text[n]], | ^ font.c:190:18: warning: conversion from 'int' to 'float' may change value [-Wconversion] 190 | yp+font_yoffset[fontnr][(int)text[n]]+font_height[fontnr][(int)text[n]]); | ^ font.c:190:53: warning: conversion from 'int' to 'float' may change value [-Wconversion] 190 | yp+font_yoffset[fontnr][(int)text[n]]+font_height[fontnr][(int)text[n]]); | ^ font.c:194:7: warning: conversion from 'int' to 'float' may change value [-Wconversion] 194 | xp+=font_advance[fontnr][(int)text[n]]; | ^~ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from patch.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from audio.h:16, from pattern.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from widgets.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from synthesizer.h:23, from buffermm.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ In file included from patch.h:20: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ In file included from synthesizer.h:31: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ In file included from sequencer.h:17, from modules.c:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from patch.h:17, from sequencer.h:23: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.h:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 | void sequencer_init(); | ^~~~ sequencer.h:80:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 80 | void sequencer_bpm_close_dialog(); | ^~~~ modules.c:33:35: warning: signed conversion from 'unsigned int' to 'int' changes value from '4023233417' to '-271733879' [-Wsign-conversion] 33 | int noise_x1=0x67452301, noise_x2=0xefcdab89; | ^~~~~~~~~~ modules.c:311:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 311 | char* modVcoWaveforms[VCO_WAVEFORMS]={"Pulse", "Saw", "Triangle", "Sine"}; //, "Noise"}; | ^~~~~~~ modules.c:311:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 311 | char* modVcoWaveforms[VCO_WAVEFORMS]={"Pulse", "Saw", "Triangle", "Sine"}; //, "Noise"}; | ^~~~~ modules.c:311:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 311 | char* modVcoWaveforms[VCO_WAVEFORMS]={"Pulse", "Saw", "Triangle", "Sine"}; //, "Noise"}; | ^~~~~~~~~~ modules.c:311:68: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 311 | char* modVcoWaveforms[VCO_WAVEFORMS]={"Pulse", "Saw", "Triangle", "Sine"}; //, "Noise"}; | ^~~~~~ modules.c:312:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 312 | char* modLfoWaveforms[LFO_WAVEFORMS]={"Square", "Saw", "Triangle", "Sine"}; | ^~~~~~~~ modules.c:312:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 312 | char* modLfoWaveforms[LFO_WAVEFORMS]={"Square", "Saw", "Triangle", "Sine"}; | ^~~~~ modules.c:312:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 312 | char* modLfoWaveforms[LFO_WAVEFORMS]={"Square", "Saw", "Triangle", "Sine"}; | ^~~~~~~~~~ modules.c:312:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 312 | char* modLfoWaveforms[LFO_WAVEFORMS]={"Square", "Saw", "Triangle", "Sine"}; | ^~~~~~ modules.c:313:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | char* modVcfModes[VCF_MODES]={"Off", "Lowpass", "Highpass", "Bandpass"}; | ^~~~~ modules.c:313:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | char* modVcfModes[VCF_MODES]={"Off", "Lowpass", "Highpass", "Bandpass"}; | ^~~~~~~~~ modules.c:313:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | char* modVcfModes[VCF_MODES]={"Off", "Lowpass", "Highpass", "Bandpass"}; | ^~~~~~~~~~ modules.c:313:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | char* modVcfModes[VCF_MODES]={"Off", "Lowpass", "Highpass", "Bandpass"}; | ^~~~~~~~~~ modules.c:314:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | char* modDelayModes[DELAY_MODES]={"Comb filter", "Allpass filter"}; | ^~~~~~~~~~~~~ modules.c:314:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | char* modDelayModes[DELAY_MODES]={"Comb filter", "Allpass filter"}; | ^~~~~~~~~~~~~~~~ modules.c:315:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 315 | char* modSlewModes[SLEW_MODES]={"Linear", "Logarithmic"}; | ^~~~~~~~ modules.c:315:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 315 | char* modSlewModes[SLEW_MODES]={"Linear", "Logarithmic"}; | ^~~~~~~~~~~~~ modules.c:343:3: warning: conversion from 'float' to 'int' changes value from '3.05e+1f' to '30' [-Wfloat-conversion] 343 | (MODULE_HALF)+0.5, -(MODULE_HALF)+0.5, MODULE_HALF, MODULE_HALF}; | ^ modules.c:343:22: warning: conversion from 'float' to 'int' changes value from '-2.95e+1f' to '-29' [-Wfloat-conversion] 343 | (MODULE_HALF)+0.5, -(MODULE_HALF)+0.5, MODULE_HALF, MODULE_HALF}; | ^ modules.c:353:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 353 | void calc_supersaw_tables() { | ^~~~~~~~~~~~~~~~~~~~ modules.c: In function 'calc_supersaw_tables': modules.c:353:6: warning: old-style function definition [-Wold-style-definition] modules.c:359:26: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 359 | supersaw_mix[mod][0]=-0.55366*x + 0.99785; | ^ modules.c:362:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 362 | supersaw_detune[mod][osc]=1.0+osc_offset[osc]*y; | ^~~ modules.c:363:39: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 363 | if (osc) supersaw_mix[mod][osc]=-0.73764*x*x + 1.2841*x + 0.044372; | ^ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_kbd' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:378:1: note: in expansion of macro 'MODULE_FUNC' 378 | MODULE_FUNC(kbd) { return *mod=pitch[v]/OUTPUTFREQ; } | ^~~~~~~~~~~ modules.c: In function 'modfunc_kbd': modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:378:1: note: in expansion of macro 'MODULE_FUNC' 378 | MODULE_FUNC(kbd) { return *mod=pitch[v]/OUTPUTFREQ; } | ^~~~~~~~~~~ modules.h:29:101: warning: unused parameter 'ms' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~ modules.c:378:1: note: in expansion of macro 'MODULE_FUNC' 378 | MODULE_FUNC(kbd) { return *mod=pitch[v]/OUTPUTFREQ; } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_modulator' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:380:1: note: in expansion of macro 'MODULE_FUNC' 380 | MODULE_FUNC(modulator) { | ^~~~~~~~~~~ modules.c: In function 'modfunc_modulator': modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:380:1: note: in expansion of macro 'MODULE_FUNC' 380 | MODULE_FUNC(modulator) { | ^~~~~~~~~~~ modules.h:29:101: warning: unused parameter 'ms' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~ modules.c:380:1: note: in expansion of macro 'MODULE_FUNC' 380 | MODULE_FUNC(modulator) { | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_output' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:390:1: note: in expansion of macro 'MODULE_FUNC' 390 | MODULE_FUNC(output) { return ms[0]*(*mod); } | ^~~~~~~~~~~ modules.c: In function 'modfunc_output': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:390:1: note: in expansion of macro 'MODULE_FUNC' 390 | MODULE_FUNC(output) { return ms[0]*(*mod); } | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:390:1: note: in expansion of macro 'MODULE_FUNC' 390 | MODULE_FUNC(output) { return ms[0]*(*mod); } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_accent' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:393:1: note: in expansion of macro 'MODULE_FUNC' 393 | MODULE_FUNC(accent) { | ^~~~~~~~~~~ modules.c: In function 'modfunc_accent': modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:393:1: note: in expansion of macro 'MODULE_FUNC' 393 | MODULE_FUNC(accent) { | ^~~~~~~~~~~ modules.h:29:101: warning: unused parameter 'ms' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~ modules.c:393:1: note: in expansion of macro 'MODULE_FUNC' 393 | MODULE_FUNC(accent) { | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_vco' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:398:1: note: in expansion of macro 'MODULE_FUNC' 398 | MODULE_FUNC(vco) // phase-accumulating oscillator w/ suboscillator | ^~~~~~~~~~~ modules.c: In function 'modfunc_vco': modules.c:403:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 403 | mod_fdata[0]-=floor(mod_fdata[0]); | ^~~~~ modules.c:407:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 407 | mod_fdata[1]-=floor(mod_fdata[1]); | ^~~~~ modules.c:416:28: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 416 | case VCO_TRIANGLE: out=(mod_fdata[0]<0.75) ? 1-fabs(mod_fdata[0]*4-1) : 1-fabs(mod_fdata[0]*4-5); break; | ^ modules.c:417:28: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 417 | case VCO_SINE: out=sin(2*3.1415926* mod_fdata[0]); break; | ^~~ modules.c:412:3: warning: switch missing default case [-Wswitch-default] 412 | switch((int)(*mod)) | ^~~~~~ modules.c:426:29: warning: conversion from 'unsigned int' to 'float' changes value from '4294967295' to '4.2949673e+9f' [-Wfloat-conversion] 426 | out+=ms[3]*(noise_x2*(2.0f/0xffffffff)); | ^ modules.c:426:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 426 | out+=ms[3]*(noise_x2*(2.0f/0xffffffff)); | ^ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_lfo' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:433:1: note: in expansion of macro 'MODULE_FUNC' 433 | MODULE_FUNC(lfo) { // low-frequency oscillator, input is freq in hz, cv output (0 to 1.0) | ^~~~~~~~~~~ modules.c: In function 'modfunc_lfo': modules.c:440:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 440 | mod_fdata[0]-=floor(mod_fdata[0]); | ^~~~~ modules.c:444:28: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 444 | case LFO_SINE: out=-0.5*(cos(2*3.1415926*mod_fdata[0])-1); break; | ^ modules.c:442:3: warning: switch missing default case [-Wswitch-default] 442 | switch((int)(*mod)) { | ^~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_env' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:453:1: note: in expansion of macro 'MODULE_FUNC' 453 | MODULE_FUNC(env) // linear adsr envelope generator | ^~~~~~~~~~~ modules.c: In function 'modfunc_env': In file included from widgets.h:23: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ modules.c:470:16: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 470 | mod_ldata[1]=gate[v]; // save current gate | ^~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:453:1: note: in expansion of macro 'MODULE_FUNC' 453 | MODULE_FUNC(env) // linear adsr envelope generator | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_vcf' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:475:1: note: in expansion of macro 'MODULE_FUNC' 475 | MODULE_FUNC(vcf) // 12db/oct resonant state variable low-/high-/bandpass filter | ^~~~~~~~~~~ modules.c: In function 'modfunc_vcf': modules.c:487:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 487 | f = 2*sin(3.14159 * ms[1]); // cutoff in [0.0, 1.0] | ^ dialog.c: In function 'dialog_open': dialog.c:43:18: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 43 | dialog_drawfunc=draw; | ^ dialog.c:44:19: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 44 | dialog_hoverfunc=hover; | ^ modules.c:489:5: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 489 | r=sqrt(q); | ^~~~ dialog.c:45:19: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 45 | dialog_clickfunc=click; | ^ dialog.c: In function 'dialog_bindkeyboard': dialog.c:51:16: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 51 | dialog_kbfunc=kbfunc; | ^ dialog.c: In function 'dialog_binddrag': dialog.c:56:18: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 56 | dialog_dragfunc=dragfunc; | ^ dialog.c: In function 'dialog_bindspecial': dialog.c:61:21: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 61 | dialog_specialfunc=specialfunc; | ^ modules.c:496:3: warning: switch missing default case [-Wswitch-default] 496 | switch((int)(*mod)) { | ^~~~~~ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:475:1: note: in expansion of macro 'MODULE_FUNC' 475 | MODULE_FUNC(vcf) // 12db/oct resonant state variable low-/high-/bandpass filter | ^~~~~~~~~~~ In file included from font.h:16, from widgets.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_delay' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:509:1: note: in expansion of macro 'MODULE_FUNC' 509 | MODULE_FUNC(delay) | ^~~~~~~~~~~ modules.c: In function 'modfunc_delay': modules.c:27:20: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 27 | #define mod_ldata ((u32*)data) | ^ modules.c:515:12: note: in expansion of macro 'mod_ldata' 515 | writeptr=mod_ldata[2]; | ^~~~~~~~~ modules.c:521:24: warning: conversion from 'float' to 'long int' may change value [-Wfloat-conversion] 521 | if (ms[2]>1) loopend=ms[2]; // use loop input if greater than 1 sample | ^~ modules.c:534:16: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 534 | mod_ldata[2]=(writeptr+1)%loopend; | ^ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:509:1: note: in expansion of macro 'MODULE_FUNC' 509 | MODULE_FUNC(delay) | ^~~~~~~~~~~ modules.c: At top level: gcc -DPACKAGE_NAME=\"komposter\" -DPACKAGE_TARNAME=\"komposter\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"komposter\ 2.0.0\" -DPACKAGE_BUGREPORT=\"email\" -DPACKAGE_URL=\"\" -DPACKAGE=\"komposter\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_FREETYPE=1 -DHAVE_LIBGLUT=1 -DENABLE_GLUT=1 -DENABLE_OPENAL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DENABLE_OPENGL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -DRESOURCEPATH=\"/usr/share/komposter/\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -c -o widgets.o widgets.c modules.h:29:39: warning: no previous prototype for 'modfunc_dist' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:540:1: note: in expansion of macro 'MODULE_FUNC' 540 | MODULE_FUNC(dist) { // simple clipping distort | ^~~~~~~~~~~ In file included from widgets.h:20, from dialog.h:16, from about.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ modules.c: In function 'modfunc_dist': In file included from font.h:16, from widgets.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ modules.c:545:28: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 545 | if (fabs(out)>1.0) out = out/fabs(out); | ^~~ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:540:1: note: in expansion of macro 'MODULE_FUNC' 540 | MODULE_FUNC(dist) { // simple clipping distort | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:540:1: note: in expansion of macro 'MODULE_FUNC' 540 | MODULE_FUNC(dist) { // simple clipping distort | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:540:1: note: in expansion of macro 'MODULE_FUNC' 540 | MODULE_FUNC(dist) { // simple clipping distort | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_resample' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:569:1: note: in expansion of macro 'MODULE_FUNC' 569 | MODULE_FUNC(resample) { // sample-and-hold | ^~~~~~~~~~~ modules.c: In function 'modfunc_resample': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:569:1: note: in expansion of macro 'MODULE_FUNC' 569 | MODULE_FUNC(resample) { // sample-and-hold | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:569:1: note: in expansion of macro 'MODULE_FUNC' 569 | MODULE_FUNC(resample) { // sample-and-hold | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_cv' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:583:1: note: in expansion of macro 'MODULE_FUNC' 583 | MODULE_FUNC(cv) { return *mod; } | ^~~~~~~~~~~ modules.c: In function 'modfunc_cv': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:583:1: note: in expansion of macro 'MODULE_FUNC' 583 | MODULE_FUNC(cv) { return *mod; } | ^~~~~~~~~~~ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:583:1: note: in expansion of macro 'MODULE_FUNC' 583 | MODULE_FUNC(cv) { return *mod; } | ^~~~~~~~~~~ modules.h:29:101: warning: unused parameter 'ms' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~ modules.c:583:1: note: in expansion of macro 'MODULE_FUNC' 583 | MODULE_FUNC(cv) { return *mod; } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_amp' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:584:1: note: in expansion of macro 'MODULE_FUNC' 584 | MODULE_FUNC(amp) { return ms[0]*ms[1]; } | ^~~~~~~~~~~ modules.c: In function 'modfunc_amp': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:584:1: note: in expansion of macro 'MODULE_FUNC' 584 | MODULE_FUNC(amp) { return ms[0]*ms[1]; } | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:584:1: note: in expansion of macro 'MODULE_FUNC' 584 | MODULE_FUNC(amp) { return ms[0]*ms[1]; } | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:584:1: note: in expansion of macro 'MODULE_FUNC' 584 | MODULE_FUNC(amp) { return ms[0]*ms[1]; } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_att' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:585:1: note: in expansion of macro 'MODULE_FUNC' 585 | MODULE_FUNC(att) { return ms[0]* *mod; } | ^~~~~~~~~~~ modules.c: In function 'modfunc_att': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:585:1: note: in expansion of macro 'MODULE_FUNC' 585 | MODULE_FUNC(att) { return ms[0]* *mod; } | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:585:1: note: in expansion of macro 'MODULE_FUNC' 585 | MODULE_FUNC(att) { return ms[0]* *mod; } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_mixer' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:586:1: note: in expansion of macro 'MODULE_FUNC' 586 | MODULE_FUNC(mixer) { return ms[0]+ms[1]+ms[2]+ms[3]; } | ^~~~~~~~~~~ modules.c: In function 'modfunc_mixer': modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:586:1: note: in expansion of macro 'MODULE_FUNC' 586 | MODULE_FUNC(mixer) { return ms[0]+ms[1]+ms[2]+ms[3]; } | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:586:1: note: in expansion of macro 'MODULE_FUNC' 586 | MODULE_FUNC(mixer) { return ms[0]+ms[1]+ms[2]+ms[3]; } | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:586:1: note: in expansion of macro 'MODULE_FUNC' 586 | MODULE_FUNC(mixer) { return ms[0]+ms[1]+ms[2]+ms[3]; } | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_lpf24' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:590:1: note: in expansion of macro 'MODULE_FUNC' 590 | MODULE_FUNC(lpf24) { // 24db/oct four-pole low pass | ^~~~~~~~~~~ modules.c: In function 'modfunc_lpf24': modules.c:613:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 613 | return mod_ddata[3]; //out4; | ^ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:590:1: note: in expansion of macro 'MODULE_FUNC' 590 | MODULE_FUNC(lpf24) { // 24db/oct four-pole low pass | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:590:1: note: in expansion of macro 'MODULE_FUNC' 590 | MODULE_FUNC(lpf24) { // 24db/oct four-pole low pass | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_bitcrush' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:625:1: note: in expansion of macro 'MODULE_FUNC' 625 | MODULE_FUNC(bitcrush) { | ^~~~~~~~~~~ modules.c: In function 'modfunc_bitcrush': modules.c:627:12: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 627 | int rate=ms[1]*32766+1; | ^~ modules.c:628:10: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 628 | int in=ms[0]*32767; | ^~ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:625:1: note: in expansion of macro 'MODULE_FUNC' 625 | MODULE_FUNC(bitcrush) { | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:625:1: note: in expansion of macro 'MODULE_FUNC' 625 | MODULE_FUNC(bitcrush) { | ^~~~~~~~~~~ modules.h:29:88: warning: unused parameter 'data' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~^~~~ modules.c:625:1: note: in expansion of macro 'MODULE_FUNC' 625 | MODULE_FUNC(bitcrush) { | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_slew' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:641:1: note: in expansion of macro 'MODULE_FUNC' 641 | MODULE_FUNC(slew) { // slew limiter: ms[0] = cv input, ms[1] = rate | ^~~~~~~~~~~ modules.c: In function 'modfunc_slew': modules.c:29:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 29 | #define mod_ddata ((double*)data) | ^ modules.c:644:12: note: in expansion of macro 'mod_ddata' 644 | float fp=mod_ddata[0]; | ^~~~~~~~~ modules.c:647:5: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 647 | k=((int)(*mod)) ? -log2(1-ms[1]) : ms[1]; | ^ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:641:1: note: in expansion of macro 'MODULE_FUNC' 641 | MODULE_FUNC(slew) { // slew limiter: ms[0] = cv input, ms[1] = rate | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_envdet' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:658:1: note: in expansion of macro 'MODULE_FUNC' 658 | MODULE_FUNC(envdet) { // envelope follower: ms[0] = input, ms[1] = attack, ms[2] = release | ^~~~~~~~~~~ modules.c: In function 'modfunc_envdet': modules.c:663:23: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 663 | float attack_coef = exp(log(0.01)/ms[1]); | ^~~ modules.c:664:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 664 | float release_coef = exp(log(0.01)/ms[2]); | ^~~ modules.c:666:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 666 | float tmp=fabs(ms[0]); | ^~~~ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:658:1: note: in expansion of macro 'MODULE_FUNC' 658 | MODULE_FUNC(envdet) { // envelope follower: ms[0] = input, ms[1] = attack, ms[2] = release | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:658:1: note: in expansion of macro 'MODULE_FUNC' 658 | MODULE_FUNC(envdet) { // envelope follower: ms[0] = input, ms[1] = attack, ms[2] = release | ^~~~~~~~~~~ modules.c: At top level: modules.h:29:39: warning: no previous prototype for 'modfunc_supersaw' [-Wmissing-prototypes] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ^~~~~~~~ modules.c:684:1: note: in expansion of macro 'MODULE_FUNC' 684 | MODULE_FUNC(supersaw) { | ^~~~~~~~~~~ modules.c: In function 'modfunc_supersaw': modules.c:692:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 692 | m_detune=(127 * clamp(ms[1])); | ^ modules.c:693:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 693 | m_mix=(127 * clamp(ms[2])); | ^ modules.c:683:25: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 683 | #define sawtooth(ac) (1.0+2.0*sqrt(ac)) | ^ modules.c:698:10: note: in expansion of macro 'sawtooth' 698 | out+=sawtooth(mod_fdata[i])*supersaw_mix[m_mix][i]; | ^~~~~~~~ modules.c:700:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 700 | mod_fdata[i]-=floor(mod_fdata[i]); | ^~~~~ modules.c:704:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 704 | f = 2*sin(3.14159 * m_pitch); // cutoff in [0.0, 1.0] | ^ modules.c:706:5: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 706 | r=sqrt(q); | ^~~~ modules.h:29:67: warning: unused parameter 'v' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~~~~~~~~^ modules.c:684:1: note: in expansion of macro 'MODULE_FUNC' 684 | MODULE_FUNC(supersaw) { | ^~~~~~~~~~~ modules.h:29:77: warning: unused parameter 'mod' [-Wunused-parameter] 29 | #define MODULE_FUNC(X) float modfunc_ ##X (unsigned char v, float *mod, void *data, float *ms) | ~~~~~~~^~~ modules.c:684:1: note: in expansion of macro 'MODULE_FUNC' 684 | MODULE_FUNC(supersaw) { | ^~~~~~~~~~~ In file included from synthesizer.h:23, from buffermm.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ In file included from synthesizer.h:23, from patch.h:21: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from audio.h:16, from synthesizer.h:24: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ In file included from pattern.h:17, from buffermm.h:17, from synthesizer.h:25: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from shader.h:17, from widgets.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ In file included from synthesizer.h:31: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ buffermm.c: In function 'kmm_alloc': buffermm.c:97:69: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 97 | printf("kmm: module data buffer allocated from %08lx - len %d (%d bytes), v %d s %d mi %d mt %d\n", | ~^ | | | int | %ld 98 | (unsigned long)buffer, len, len*sizeof(u32), voice,synth,module,modtype); | ~~~ | | | long unsigned int buffermm.c:97:73: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 97 | printf("kmm: module data buffer allocated from %08lx - len %d (%d bytes), v %d s %d mi %d mt %d\n", | ~^ | | | int | %ld 98 | (unsigned long)buffer, len, len*sizeof(u32), voice,synth,module,modtype); | ~~~~~~~~~~~~~~~ | | | long unsigned int In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ font.c: In function 'font_init': font.c:83:5: warning: '__builtin_strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 83 | strncpy(fullpath, respath, 511); | ^ font.c:84:5: warning: '__builtin___strncat_chk' output may be truncated copying 511 bytes from a string of length 2039 [-Wstringop-truncation] 84 | strncat(fullpath, fontfile[i], 511); | ^ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ In file included from synthesizer.h:31: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ In file included from audio.h:16, from sequencer.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ patch.c: In function 'patch_init': patch.c:96:6: warning: old-style function definition [-Wold-style-definition] 96 | void patch_init() | ^~~~~~~~~~ patch.c: In function 'patch_mouse_hover': patch.c:130:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 130 | patch_ui[B_PREV]=hovertest_box(x, y, 310, DS_HEIGHT-14, 16, 16); | ^ patch.c:130:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 130 | patch_ui[B_PREV]=hovertest_box(x, y, 310, DS_HEIGHT-14, 16, 16); | ^ patch.c:131:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 131 | patch_ui[B_NEXT]=hovertest_box(x, y, 362, DS_HEIGHT-14, 16, 16); | ^ patch.c:131:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 131 | patch_ui[B_NEXT]=hovertest_box(x, y, 362, DS_HEIGHT-14, 16, 16); | ^ patch.c:132:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 132 | patch_ui[B_PREVSYN]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ patch.c:132:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 132 | patch_ui[B_PREVSYN]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ patch.c:133:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 133 | patch_ui[B_NEXTSYN]=hovertest_box(x, y, 230, DS_HEIGHT-14, 16, 16); | ^ patch.c:133:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 133 | patch_ui[B_NEXTSYN]=hovertest_box(x, y, 230, DS_HEIGHT-14, 16, 16); | ^ patch.c:135:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 135 | patch_ui[B_OCTDN]=hovertest_box(x, y, 17, 520-12, 16, 16); | ^ patch.c:135:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 135 | patch_ui[B_OCTDN]=hovertest_box(x, y, 17, 520-12, 16, 16); | ^ patch.c:136:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 136 | patch_ui[B_OCTUP]=hovertest_box(x, y, DS_WIDTH-17, 520-12, 16, 16); | ^ patch.c:136:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 136 | patch_ui[B_OCTUP]=hovertest_box(x, y, DS_WIDTH-17, 520-12, 16, 16); | ^ patch.c:139:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 139 | patch_ui[B_COPY]=hovertest_box(x, y, 622, DS_HEIGHT-14, 16, 16); | ^ In file included from buffermm.h:16, from sequencer.h:19: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ patch.c:139:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 139 | patch_ui[B_COPY]=hovertest_box(x, y, 622, DS_HEIGHT-14, 16, 16); | ^ In file included from pattern.h:17, from buffermm.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ patch.c:140:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 140 | patch_ui[B_PASTE]=hovertest_box(x, y, 644, DS_HEIGHT-14, 16, 16); | ^ patch.c:140:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 140 | patch_ui[B_PASTE]=hovertest_box(x, y, 644, DS_HEIGHT-14, 16, 16); | ^ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ patch.c:145:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 145 | patch_ui[B_PATCHNAME]|=hovertest_box(x, y, 472, DS_HEIGHT-14, 16, 180); | ^ In file included from widgets.h:23: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ patch.c:145:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 145 | patch_ui[B_PATCHNAME]|=hovertest_box(x, y, 472, DS_HEIGHT-14, 16, 180); | ^ In file included from filedialog.h:22, from filedialog.c:14: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ patch.c:174:7: warning: switch missing default case [-Wswitch-default] 174 | switch (key) { | ^~~~~~ patch.c: In function 'patch_mouse_drag': patch.c:201:27: warning: unused parameter 'x' [-Wunused-parameter] 201 | void patch_mouse_drag(int x, int y) | ~~~~^ patch.c:201:34: warning: unused parameter 'y' [-Wunused-parameter] 201 | void patch_mouse_drag(int x, int y) | ~~~~^ patch.c: In function 'patch_mouse_click': patch.c:217:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 217 | if (cpatch[csynth]>0) cpatch[csynth]--; return; | ^~ patch.c:217:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 217 | if (cpatch[csynth]>0) cpatch[csynth]--; return; | ^~~~~~ filedialog.c: In function 'filedialog_draw': filedialog.c:91:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 244, 420, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ filedialog.c:95:60: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | draw_textbox((DS_WIDTH/2)-10, (DS_HEIGHT/2)-8, 160, 370, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ patch.c:260:22: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 260 | console_post("Patch copied to clipboard"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ filedialog.c:97:7: warning: conversion from 'int' to 'float' may change value [-Wconversion] 97 | fd->sliderpos, 12, fd->g.gl_pathc, | ~~^~~~~~~~~~~ filedialog.c:97:29: warning: conversion from 'size_t' {aka 'unsigned int'} to 'float' may change value [-Wconversion] 97 | fd->sliderpos, 12, fd->g.gl_pathc, | ~~~~~^~~~~~~~~ filedialog.c:101:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | while ( (ig.gl_pathc) && (i<(fd->sliderpos+12)) ) { | ^ patch.c:273:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | console_post("Patch pasted from clipboard"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ filedialog.c:106:59: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 106 | glVertex2f( ((DS_WIDTH/2)-195), ((DS_HEIGHT/2)-88) + (i-fd->sliderpos)*13); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ filedialog.c:107:63: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 107 | glVertex2f( ((DS_WIDTH/2)-195)+370, ((DS_HEIGHT/2)-88) + (i-fd->sliderpos)*13); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ filedialog.c:108:85: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 108 | glVertex2f( ((DS_WIDTH/2)-195)+370, ((DS_HEIGHT/2)-88) + (i-fd->sliderpos)*13+13); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ filedialog.c:109:81: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 109 | glVertex2f( ((DS_WIDTH/2)-195), ((DS_HEIGHT/2)-88) + (i-fd->sliderpos)*13+13); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ filedialog.c:119:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 119 | (DS_HEIGHT/2)-78+(i-fd->sliderpos)*13, 2, 0xcfa0a0c0, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ patch.c:336:76: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 336 | patch_modulator_floatval=knob_float2scale(mod[csynth][mi].scale, modvalue[ csynth ][cpatch[csynth]][ mi ]); | ~~~~~~~~~~~~~~~^~~~~~ filedialog.c:122:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 122 | (DS_HEIGHT/2)-78+(i-fd->sliderpos)*13, 2, 0xcfa0a0c0, 2); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ patch.c:341:42: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 341 | patch_modulator_intval=modvalue[ csynth ][cpatch[csynth]][ mi ]; | ^~~~~~~~ patch.c:334:15: warning: switch missing default case [-Wswitch-default] 334 | switch(modModulatorTypes[mod[csynth][mi].type]) { | ^~~~~~ filedialog.c:129:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 129 | (DS_HEIGHT/2)-78+(i-fd->sliderpos)*13, 2, fcol, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ patch.c:344:27: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 344 | dialog_open(&patch_draw_modulator, &patch_modulator_hover, &patch_modulator_click); | ^~~~~~~~~~~~~~~~~~~~~ In file included from synthesizer.h:28: dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ filedialog.c:136:56: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | draw_button((DS_WIDTH/2)+192, (DS_HEIGHT/2)+100, 16, "OK", fd->hover[FDUI_OK]); | ^~~~ patch.c:344:50: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 344 | dialog_open(&patch_draw_modulator, &patch_modulator_hover, &patch_modulator_click); | ^~~~~~~~~~~~~~~~~~~~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ patch.c:344:74: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 344 | dialog_open(&patch_draw_modulator, &patch_modulator_hover, &patch_modulator_click); | ^~~~~~~~~~~~~~~~~~~~~~ filedialog.c: In function 'filedialog_hover': dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ filedialog.c:143:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 143 | fd->hover[FDUI_FILENAME]=hovertest_box(x, y, (DS_WIDTH/2)+20, (DS_HEIGHT/2)+100, 16, 300); | ^ filedialog.c:143:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 143 | fd->hover[FDUI_FILENAME]=hovertest_box(x, y, (DS_WIDTH/2)+20, (DS_HEIGHT/2)+100, 16, 300); | ^ patch.c:345:35: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 345 | dialog_bindkeyboard(&patch_modulator_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ filedialog.c:144:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 144 | fd->hover[FDUI_OK]=hovertest_box(x, y, (DS_WIDTH/2)+192, (DS_HEIGHT/2)+100, 16, 16); | ^ filedialog.c:144:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 144 | fd->hover[FDUI_OK]=hovertest_box(x, y, (DS_WIDTH/2)+192, (DS_HEIGHT/2)+100, 16, 16); | ^ patch.c:346:34: warning: ISO C forbids passing argument 1 of 'dialog_bindspecial' between function pointer and 'void *' [-Wpedantic] 346 | dialog_bindspecial(&patch_modulator_special); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:24:31: note: expected 'void *' but argument is of type 'void (*)(int, int, int)' 24 | void dialog_bindspecial(void *specialfunc); | ~~~~~~^~~~~~~~~~~ filedialog.c:145:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 145 | fd->hover[FDUI_VSLIDER]=hovertest_vslider(x, y, | ^ patch.c:351:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 351 | console_post("No settings for this module!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filedialog.c:145:48: warning: conversion from 'int' to 'float' may change value [-Wconversion] 145 | fd->hover[FDUI_VSLIDER]=hovertest_vslider(x, y, | ^ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ filedialog.c:147:7: warning: conversion from 'int' to 'float' may change value [-Wconversion] 147 | fd->sliderpos, 12, fd->g.gl_pathc); | ~~^~~~~~~~~~~ filedialog.c:147:29: warning: conversion from 'size_t' {aka 'unsigned int'} to 'float' may change value [-Wconversion] 147 | fd->sliderpos, 12, fd->g.gl_pathc); | ~~~~~^~~~~~~~~ In file included from widgets.h:23: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ filedialog.c:150:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 150 | if (hovertest_box(x, y, (DS_WIDTH/2)-10, (DS_HEIGHT/2)-8, 160, 370)) { | ^ filedialog.c:150:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 150 | if (hovertest_box(x, y, (DS_WIDTH/2)-10, (DS_HEIGHT/2)-8, 160, 370)) { | ^ filedialog.c: In function 'filedialog_click': filedialog.c:164:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 164 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 244, 420)) { dialog_close(); return; } | ^ filedialog.c:164:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 164 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 244, 420)) { dialog_close(); return; } | ^ about.c: In function 'about_draw': about.c:17:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 120, 260, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ about.c:19:15: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 19 | render_text(K_VERSION, (DS_WIDTH/2)+120, (DS_HEIGHT/2)-32, 2, 0xffb05500, 2); | ^~~~~~~~~ filedialog.c:160:7: warning: variable 'r' set but not used [-Wunused-but-set-variable] 160 | int r; | ^ about.c: In function 'about_hover': about.c:31:22: warning: unused parameter 'x' [-Wunused-parameter] 31 | void about_hover(int x, int y) | ~~~~^ about.c:31:29: warning: unused parameter 'y' [-Wunused-parameter] 31 | void about_hover(int x, int y) | ~~~~^ filedialog.c: In function 'filedialog_keyboard': about.c: In function 'about_click': about.c:36:22: warning: unused parameter 'button' [-Wunused-parameter] 36 | void about_click(int button, int state, int x, int y) | ~~~~^~~~~~ about.c:36:45: warning: unused parameter 'x' [-Wunused-parameter] 36 | void about_click(int button, int state, int x, int y) | ~~~~^ filedialog.c:241:29: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 241 | textbox_edit(fd->fname, key, 45); | ^~~ about.c:36:52: warning: unused parameter 'y' [-Wunused-parameter] 36 | void about_click(int button, int state, int x, int y) | ~~~~^ about.c: In function 'about_keyboard': about.c:42:44: warning: unused parameter 'x' [-Wunused-parameter] 42 | void about_keyboard(unsigned char key, int x, int y) | ~~~~^ about.c:42:51: warning: unused parameter 'y' [-Wunused-parameter] 42 | void about_keyboard(unsigned char key, int x, int y) | ~~~~^ filedialog.c:259:27: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 259 | textbox_edit(fd->fname, key, 45); | ^~~ filedialog.c: In function 'filedialog_drag': filedialog.c:271:9: warning: conversion from 'size_t' {aka 'unsigned int'} to 'float' may change value [-Wconversion] 271 | cip=fd->g.gl_pathc; // files total | ^~ filedialog.c:273:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 273 | f= ( (cip-cos) * (y - fd->slider_yofs) ) / (sbh-slh) ; | ^ filedialog.c:274:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 274 | fd->sliderpos=fd->slider_dragstart+f; | ^ filedialog.c:274:19: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 274 | fd->sliderpos=fd->slider_dragstart+f; | ^~ filedialog.c:275:48: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 275 | if (fd->sliderpos>(cip-cos)) fd->sliderpos=(cip-cos); | ^ filedialog.c:263:42: warning: unused parameter 'x' [-Wunused-parameter] 263 | void filedialog_drag(filedialog *fd, int x, int y) | ~~~~^ patch.c: In function 'patch_keyboard': patch.c:378:3: warning: switch missing default case [-Wswitch-default] 378 | switch (key) { | ^~~~~~ patch.c:367:44: warning: unused parameter 'x' [-Wunused-parameter] 367 | void patch_keyboard(unsigned char key, int x, int y) | ~~~~^ patch.c:367:51: warning: unused parameter 'y' [-Wunused-parameter] 367 | void patch_keyboard(unsigned char key, int x, int y) | ~~~~^ patch.c: In function 'patch_keyboardup': patch.c:401:46: warning: unused parameter 'x' [-Wunused-parameter] 401 | void patch_keyboardup(unsigned char key, int x, int y) | ~~~~^ patch.c:401:53: warning: unused parameter 'y' [-Wunused-parameter] 401 | void patch_keyboardup(unsigned char key, int x, int y) | ~~~~^ patch.c: In function 'patch_specialkey': patch.c:419:3: warning: switch missing default case [-Wswitch-default] 419 | switch(key) | ^~~~~~ patch.c:417:46: warning: unused parameter 'x' [-Wunused-parameter] 417 | void patch_specialkey(unsigned char key, int x, int y) | ~~~~^ patch.c:417:53: warning: unused parameter 'y' [-Wunused-parameter] 417 | void patch_specialkey(unsigned char key, int x, int y) | ~~~~^ patch.c: In function 'patch_draw': In file included from synthesizer.h:23, from buffermm.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ patch.c:460:19: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 460 | glVertex2f(x+16, 8+m*16-yd); | ~^~~ patch.c:460:31: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 460 | glVertex2f(x+16, 8+m*16-yd); | ~~~~~~^~~ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ patch.c:461:19: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 461 | glVertex2f(x+380, 8+m*16-yd); | ~^~~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ patch.c:461:31: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 461 | glVertex2f(x+380, 8+m*16-yd); | ~~~~~~^~~ patch.c:462:19: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 462 | glVertex2f(x+380, 24+m*16-yd); | ~^~~~ patch.c:462:32: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 462 | glVertex2f(x+380, 24+m*16-yd); | ~~~~~~~^~~ patch.c:463:19: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 463 | glVertex2f(x+16, 24+m*16-yd); | ~^~~ patch.c:463:32: warning: conversion from 'int' to 'GLfloat' {aka 'float'} may change value [-Wconversion] 463 | glVertex2f(x+16, 24+m*16-yd); | ~~~~~~~^~~ patch.c:467:51: warning: conversion from 'int' to 'float' may change value [-Wconversion] 467 | sprintf(tmps, "%02d", mi); render_text(tmps, x+20, 20+mm*16-yd, 2, 0xff505050, 0); | ~^~~ patch.c:467:64: warning: conversion from 'int' to 'float' may change value [-Wconversion] 467 | sprintf(tmps, "%02d", mi); render_text(tmps, x+20, 20+mm*16-yd, 2, 0xff505050, 0); | ~~~~~~~~^~~ patch.c:468:81: warning: conversion from 'int' to 'float' may change value [-Wconversion] 468 | sprintf(tmps, "%s", modTypeNames[mod[csynth][mi].type]); render_text(tmps, x+44, 20+mm*16-yd, 2, 0xffc0c0c0, 0); | ~^~~ In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ In file included from synthesizer.h:31: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ In file included from sequencer.h:17, from audio.c:21: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from patch.h:17, from sequencer.h:23: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.h:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 | void sequencer_init(); | ^~~~ sequencer.h:80:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 80 | void sequencer_bpm_close_dialog(); | ^~~~ patch.c:468:94: warning: conversion from 'int' to 'float' may change value [-Wconversion] 468 | sprintf(tmps, "%s", modTypeNames[mod[csynth][mi].type]); render_text(tmps, x+44, 20+mm*16-yd, 2, 0xffc0c0c0, 0); | ~~~~~~~~^~~ audio.c:115:7: warning: no previous prototype for 'audio_shape' [-Wmissing-prototypes] 115 | float audio_shape(float input) | ^~~~~~~~~~~ audio.c: In function 'audio_shape': audio.c:117:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 117 | return 0.5 * (fabs(input + AUDIO_SHAPER_THRESHOLD) - fabs(input - AUDIO_SHAPER_THRESHOLD)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ patch.c:476:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 476 | render_text(tmps, x+110, 20+mm*16-yd, 2, 0xff808080, 0); | ~^~~~ patch.c:476:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 476 | render_text(tmps, x+110, 20+mm*16-yd, 2, 0xff808080, 0); | ~~~~~~~~^~~ patch.c:483:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 483 | f=knob_float2scale(mod[csynth][mi].scale, modvalue[ csynth ][ cpatch[csynth] ][ mi ]); | ~~~~~~~~~~~~~~~^~~~~~ audio.c: In function 'audio_isplaying': audio.c:182:5: warning: old-style function definition [-Wold-style-definition] 182 | int audio_isplaying() | ^~~~~~~~~~~~~~~ patch.c:478:5: warning: switch missing default case [-Wswitch-default] 478 | switch(modModulatorTypes[mod[csynth][mi].type]) | ^~~~~~ audio.c: In function 'audio_update': audio.c:205:22: warning: unused parameter 'cs' [-Wunused-parameter] 205 | int audio_update(int cs) | ~~~~^~ patch.c:496:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 496 | render_text(tmps, x+250, 20+mm*16-yd, 2, 0xffc0c0c0, 0); | ~^~~~ patch.c:496:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 496 | render_text(tmps, x+250, 20+mm*16-yd, 2, 0xffc0c0c0, 0); | ~~~~~~~~^~~ audio.c: In function 'audio_process': audio.c:280:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 280 | render_buffer=calloc(2*render_bufferlen, sizeof(short)); | ~^~~~~~~~~~~~~~~~~ patch.c:506:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 506 | draw_kbhoct(PIANO_LEFT+m*16*7, PIANO_TOP, 16, 70, m, cpkey, rkdown, &pianokeys[(m-coct)*12]); | ^ audio.c:300:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 300 | memcpy(buffer, &render_buffer[render_playpos*2], copylen*4); | ~~~~~~~^~ patch.c:508:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 508 | draw_kbhoct(PIANO_LEFT+m*16*7, PIANO_TOP, 16, 70, m, cpkey, rkdown, NULL); | ^ audio.c:304:74: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 304 | memcpy(&buffer[copylen], &render_buffer[0], (bufferlen-copylen)*4); | ~~~~~~~~~~~~~~~~~~~^~ patch.c:513:31: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 513 | draw_button(17, 520-12, 16, "-", patch_ui[B_OCTDN]); | ^~~ audio.c:309:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 309 | memcpy(buffer, &render_buffer[render_playpos*2], copylen*4); | ~~~~~~~^~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ patch.c:514:40: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 514 | draw_button(DS_WIDTH-17, 520-12, 16, "+", patch_ui[B_OCTUP]); | ^~~ audio.c:321:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 321 | memcpy(buffer, &render_buffer[render_playpos*2], copylen*4); | ~~~~~~~^~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:325:58: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 325 | memset(&buffer[copylen], 0, (bufferlen-copylen)*4); | ~~~~~~~~~~~~~~~~~~~^~ patch.c:519:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | draw_button(622, DS_HEIGHT-14, 16, "C", patch_ui[B_COPY]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:334:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 334 | memcpy(buffer, &render_buffer[render_playpos*2], copylen*4); | ~~~~~~~^~ patch.c:520:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 520 | draw_button(644, DS_HEIGHT-14, 16, "V", patch_ui[B_PASTE]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:360:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 360 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); // calc tick from sample index | ^ audio.c:360:13: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 360 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); // calc tick from sample index | ^~~~~~~ audio.c:378:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 378 | if ( m<(pattlen[cpatt]*16) ) { // don't drop gate if next note is legato | ^ audio.c:394:17: warning: declaration of 'i' shadows a previous local [-Wshadow] 394 | for(int i=0;i<4;i++) { | ^ audio.c:243:7: note: shadowed declaration is here 243 | int i, m, mi=0, mt, ii, pkey; | ^ audio.c:402:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 402 | buf=kmm_alloc(modDataBufferLength[mt], voice, csynth, mi, mt); | ~~~~~~~~~~~~~~~~~~~^~~~ audio.c:408:47: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 408 | output[voice][mi]=mod_functable[mt](voice, &modulator[voice][mi], (void*)&localdata[voice][mi], (float*)&signals); | ^~~~~ audio.c:415:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 415 | if (fabs(p) > audio_peak) audio_peak=fabs(p); | ^~~~ audio.c:416:58: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 416 | if (fabs(p) > audio_latest_peak) audio_latest_peak=fabs(p); | ^~~~ audio.c:425:23: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 425 | if ((ticks>>10) >= pattlen[cpatt]) { ticks=0; playpos=0; } | ^~ audio.c: At top level: audio.c:441:6: warning: no previous prototype for 'audio_render' [-Wmissing-prototypes] 441 | long audio_render(void) | ^~~~~~~~~~~~ audio.c: In function 'audio_render': audio.c:489:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 489 | while (pattpos>=(pattlen[pattern]*16)) pattpos-=(pattlen[pattern]*16); | ^~ audio.c:489:55: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 489 | while (pattpos>=(pattlen[pattern]*16)) pattpos-=(pattlen[pattern]*16); | ^~ audio.c:489:57: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 489 | while (pattpos>=(pattlen[pattern]*16)) pattpos-=(pattlen[pattern]*16); | ^ audio.c:514:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 514 | if ( m<(pattlen[pattern]*16) ) { // don't drop gate if next note is legato | ^ audio.c:526:17: warning: declaration of 'i' shadows a previous local [-Wshadow] 526 | for(int i=0;i<4;i++) { | ^ patch.c:529:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 529 | draw_button(310, DS_HEIGHT-14, 16, "<<", patch_ui[B_PREV]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:446:7: note: shadowed declaration is here 446 | int i, voice; | ^ patch.c:532:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 532 | draw_button(362, DS_HEIGHT-14, 16, ">>", patch_ui[B_NEXT]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:536:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 536 | buf=kmm_alloc(modDataBufferLength[mt], voice, synth, mi, mt); | ~~~~~~~~~~~~~~~~~~~^~~~ patch.c:534:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 534 | draw_button(14, DS_HEIGHT-14, 16, "<<", patch_ui[B_PREVSYN]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:544:47: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 544 | output[voice][mi]=mod_functable[mt](voice, &modulator[voice][mi], (void*)&localdata[voice][mi], (float*)&signals); | ^~~~~ patch.c:537:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 537 | draw_button(230, DS_HEIGHT-14, 16, ">>", patch_ui[B_NEXTSYN]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:555:42: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 555 | if (fabs(p) > audio_peak) audio_peak=fabs(p); | ^~~~ audio.c:556:56: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 556 | if (fabs(p) > audio_latest_peak) audio_latest_peak=fabs(p); | ^~~~ patch.c: In function 'patch_draw_modulator': patch.c:558:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 558 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 120, 226, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ patch.c:568:53: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 568 | draw_button((DS_WIDTH/2)+96, (DS_HEIGHT/2)+2, 16, "+", modulator_ui[B_MOD_ADDPREC]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c: In function 'audio_resetsynth': patch.c:569:53: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 569 | draw_button((DS_WIDTH/2)-28, (DS_HEIGHT/2)+2, 16, "-", modulator_ui[B_MOD_DECPREC]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ audio.c:652:65: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 652 | if (lbuf) memset(lbuf, 0, modDataBufferLength[MOD_DELAY]*sizeof(float)); | ^ patch.c:574:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 574 | rf=knob_scale2float(mod[csynth][mi].scale, rf); | ~~~~~~~~~~~~~~~^~~~~~ patch.c:579:41: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 579 | f=knob_float2scale(mod[csynth][mi].scale, rf); | ~~~~~~~~~~~~~~~^~~~~~ audio.c:662:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 662 | for(i=0;i<8;i++) mod_ddata(voice, mi)[0]=0; | ^ patch.c: In function 'patch_modulator_hover': patch.c:596:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 596 | modulator_ui[B_MOD_ADDPREC]=hovertest_box(x, y, (DS_WIDTH/2)+96, (DS_HEIGHT/2)+2, 16, 16); | ^ patch.c:596:48: warning: conversion from 'int' to 'float' may change value [-Wconversion] 596 | modulator_ui[B_MOD_ADDPREC]=hovertest_box(x, y, (DS_WIDTH/2)+96, (DS_HEIGHT/2)+2, 16, 16); | ^ audio.c:637:5: warning: switch missing default case [-Wswitch-default] 637 | switch(mt) { | ^~~~~~ audio.c: At top level: audio.c:698:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 698 | int audio_exportwav() //char *filename) | ^~~~~~~~~~~~~~~ audio.c: In function 'audio_exportwav': audio.c:698:5: warning: old-style function definition [-Wold-style-definition] audio.c:722:19: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 722 | w.wav_chunksize=36+render_bufferlen*2*2; | ^~ audio.c:723:23: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 723 | w.wav_sub2chunksize=render_bufferlen*2*2; | ^~~~~~~~~~~~~~~~ audio.c:727:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 727 | fwrite(render_buffer, sizeof(short), render_bufferlen*2, f); | ~~~~~~~~~~~~~~~~^~ patch.c:597:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 597 | modulator_ui[B_MOD_DECPREC]=hovertest_box(x, y, (DS_WIDTH/2)-28, (DS_HEIGHT/2)+2 , 16, 16); | ^ patch.c:597:48: warning: conversion from 'int' to 'float' may change value [-Wconversion] 597 | modulator_ui[B_MOD_DECPREC]=hovertest_box(x, y, (DS_WIDTH/2)-28, (DS_HEIGHT/2)+2 , 16, 16); | ^ patch.c:600:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 600 | modulator_ui[B_MOD_VALUE]|=hovertest_box(x, y, (DS_WIDTH/2)+34, (DS_HEIGHT/2)-20, 16, 140); | ^ patch.c:600:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 600 | modulator_ui[B_MOD_VALUE]|=hovertest_box(x, y, (DS_WIDTH/2)+34, (DS_HEIGHT/2)-20, 16, 140); | ^ patch.c: In function 'patch_modulator_click': patch.c:609:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 609 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),120,226 )) { | ^ patch.c:609:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 609 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),120,226 )) { | ^ patch.c:616:50: warning: conversion from 'int' to 'float' may change value [-Wconversion] 616 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),120,226 )) { | ^ patch.c:616:52: warning: conversion from 'int' to 'float' may change value [-Wconversion] 616 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),120,226 )) { | ^ patch.c:622:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 622 | f=knob_scale2float(mod[csynth][mi].scale, f); | ~~~~~~~~~~~~~~~^~~~~~ patch.c:618:5: warning: switch missing default case [-Wswitch-default] 618 | switch(modModulatorTypes[mod[csynth][mi].type]) { | ^~~~~~ patch.c:643:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 643 | if (modquantifier[ csynth ][cpatch[csynth]][ mi ]<32) modquantifier[ csynth ][cpatch[csynth]][ mi ]++; return; | ^~ patch.c:643:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 643 | if (modquantifier[ csynth ][cpatch[csynth]][ mi ]<32) modquantifier[ csynth ][cpatch[csynth]][ mi ]++; return; | ^~~~~~ patch.c:647:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 647 | if (modquantifier[ csynth ][cpatch[csynth]][ mi ]>12) modquantifier[ csynth ][cpatch[csynth]][ mi ]--; return; | ^~ patch.c:647:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 647 | if (modquantifier[ csynth ][cpatch[csynth]][ mi ]>12) modquantifier[ csynth ][cpatch[csynth]][ mi ]--; return; | ^~~~~~ patch.c: In function 'patch_modulator_special': patch.c:674:39: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 674 | f=knob_float2scale(mod[csynth][mi].scale, modvalue[ csynth ][cpatch[csynth]][ mi ]); | ~~~~~~~~~~~~~~~^~~~~~ patch.c:713:78: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 713 | modvalue[ csynth ][cpatch[csynth]][ mi ]=knob_scale2float(mod[csynth][mi].scale, f); | ~~~~~~~~~~~~~~~^~~~~~ patch.c:662:43: warning: unused parameter 'x' [-Wunused-parameter] 662 | void patch_modulator_special(int key, int x, int y) | ~~~~^ patch.c:662:50: warning: unused parameter 'y' [-Wunused-parameter] 662 | void patch_modulator_special(int key, int x, int y) | ~~~~^ patch.c: In function 'patch_modulator_keyboard': patch.c:739:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 739 | f=knob_scale2float(mod[csynth][mi].scale, f); | ~~~~~~~~~~~~~~~^~~~~~ patch.c:735:5: warning: switch missing default case [-Wswitch-default] 735 | switch(modModulatorTypes[mod[csynth][mi].type]) { | ^~~~~~ patch.c:718:54: warning: unused parameter 'x' [-Wunused-parameter] 718 | void patch_modulator_keyboard(unsigned char key, int x, int y) | ~~~~^ patch.c:718:61: warning: unused parameter 'y' [-Wunused-parameter] 718 | void patch_modulator_keyboard(unsigned char key, int x, int y) | ~~~~^ patch.c: In function 'knob_scale2float': patch.c:770:46: warning: conversion from 'int' to 'float' may change value [-Wconversion] 770 | case SCALE_FREQUENCY_TEMPO: return (value*bpm)/(60*OUTPUTFREQ); | ^ patch.c:771:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 771 | case SCALE_DURATION_TEMPO: return (60/(bpm*value))*OUTPUTFREQ; | ^ patch.c:775:73: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 775 | case SCALE_MIDI_NOTE: return 8.1757989156 * pow(1.059463094, value) / OUTPUTFREQ; patch.c:776:38: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 776 | case SCALE_NOTE_INTERVAL: return pow(1.059463094, value); | ^~~~~~~~~~~~~~~~~~~~~~~ patch.c:767:3: warning: switch missing default case [-Wswitch-default] 767 | switch(scale) { | ^~~~~~ patch.c: In function 'knob_float2scale': patch.c:786:61: warning: conversion from 'int' to 'float' may change value [-Wconversion] 786 | case SCALE_FREQUENCY_TEMPO: return (value*60*OUTPUTFREQ)/bpm; | ^ patch.c:787:61: warning: conversion from 'int' to 'float' may change value [-Wconversion] 787 | case SCALE_DURATION_TEMPO: return (OUTPUTFREQ*60)/(value*bpm); | ^ In file included from synthesizer.h:23, from synthesizer.c:13: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ patch.c:791:48: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 791 | case SCALE_MIDI_NOTE: return 17.31234049667*log(0.12231220586*value*OUTPUTFREQ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ patch.c:792:52: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 792 | case SCALE_NOTE_INTERVAL: return 17.31234049667*log(value); | ~~~~~~~~~~~~~~^~~~~~~~~~~ patch.c:783:3: warning: switch missing default case [-Wswitch-default] 783 | switch(scale) { | ^~~~~~ filedialog.c: In function 'filedialog_open': filedialog.c:24:3: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-truncation] 24 | strncat((char*)&fd->fmask, ext, 255); | ^ In file included from /usr/include/string.h:535, from /usr/include/freetype2/freetype/config/ftstdlib.h:88, from /usr/include/freetype2/freetype/config/ftconfig.h:41, from /usr/include/freetype2/freetype/freetype.h:24, from font.h:18: In function 'strncat', inlined from 'filedialog_open' at filedialog.c:24:3: /usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from patch.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from audio.h:16, from pattern.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from console.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ audio.c:708:3: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 708 | strncpy((char*)&w.wav_chunkid, "RIFF", 4); | ^ audio.c:710:3: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 710 | strncpy((char*)&w.wav_format, "WAVE", 4); | ^ audio.c:711:3: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 711 | strncpy((char*)&w.wav_sub1chunkid, "fmt ", 4); | ^ audio.c:719:3: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 719 | strncpy((char*)&w.wav_sub2chunkid, "data", 4); | ^ In file included from synthesizer.h:23, from buffermm.h:18: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ In file included from synthesizer.h:31: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ filedialog.c: In function 'filedialog_draw': filedialog.c:126:7: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 126 | strncpy(tmps, strrchr(fd->g.gl_pathv[i], '/')+1, 255); | ^ In file included from patch.h:17, from sequencer.h:23: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ filedialog.c:126:7: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] filedialog.c:114:7: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 114 | strncpy(ttmps, fd->g.gl_pathv[i], strlen(fd->g.gl_pathv[i])-1); | ^ filedialog.c:114:41: note: length computed here 114 | strncpy(ttmps, fd->g.gl_pathv[i], strlen(fd->g.gl_pathv[i])-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ filedialog.c:116:7: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 116 | strncpy(tmps, rindex(ttmps, '/')+1, 255); | ^ sequencer.h:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 | void sequencer_init(); | ^~~~ sequencer.h:80:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 80 | void sequencer_bpm_close_dialog(); | ^~~~ sequencer.c:171:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 171 | void sequencer_init() | ^~~~~~~~~~~~~~ sequencer.c: In function 'sequencer_init': sequencer.c:171:6: warning: old-style function definition [-Wold-style-definition] sequencer.c: At top level: sequencer.c:240:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 240 | void sequencer_toggleplayback() { | ^~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c: In function 'sequencer_toggleplayback': sequencer.c:240:6: warning: old-style function definition [-Wold-style-definition] sequencer.c: In function 'sequencer_ispattern': sequencer.c:265:69: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 265 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c:265:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 265 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c:265:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 265 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c: In function 'sequencer_patternstart': sequencer.c:281:69: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 281 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c:281:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 281 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c:281:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 281 | if (clickpos >= i && clickpos < (i+pattlen[seq_pattern[ch][i]]*seq_repeat[ch][i])) { | ^ sequencer.c: At top level: sequencer.c:298:5: warning: no previous prototype for 'sequencer_cursorpos' [-Wmissing-prototypes] 298 | int sequencer_cursorpos(int x, int y, int *channel, int *measure) | ^~~~~~~~~~~~~~~~~~~ sequencer.c: In function 'sequencer_cursorpos': sequencer.c:304:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 304 | x < (SEQUENCER_X + seqsonglen*SEQUENCER_CELLWIDTH + 1) && | ^ sequencer.c:306:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 306 | y < (SEQUENCER_Y + seqch*SEQUENCER_CELLHEIGHT) | ^ sequencer.c:309:16: warning: conversion from 'int' to 'float' may change value [-Wconversion] 309 | cx=(int)((x-SEQUENCER_X)/SEQUENCER_CELLWIDTH); | ^ sequencer.c:310:16: warning: conversion from 'int' to 'float' may change value [-Wconversion] 310 | cy=(int)((y-SEQUENCER_Y)/SEQUENCER_CELLHEIGHT); | ^ sequencer.c:318:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 318 | x < (SEQUENCER_X + seqsonglen*SEQUENCER_CELLWIDTH + 1) && | ^ sequencer.c:319:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 319 | y > (SEQUENCER_Y + (seqch+2)*SEQUENCER_CELLHEIGHT) && | ^ sequencer.c:320:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 320 | y < (SEQUENCER_Y + (seqch+3)*SEQUENCER_CELLHEIGHT) | ^ sequencer.c:323:16: warning: conversion from 'int' to 'float' may change value [-Wconversion] 323 | cx=(int)((x-SEQUENCER_X)/SEQUENCER_CELLWIDTH); | ^ sequencer.c: At top level: sequencer.c:333:5: warning: no previous prototype for 'sequencer_timelinepos' [-Wmissing-prototypes] 333 | int sequencer_timelinepos(int x, int y) { | ^~~~~~~~~~~~~~~~~~~~~ sequencer.c: In function 'sequencer_timelinepos': sequencer.c:337:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 337 | x < (SEQUENCER_X + seqsonglen*SEQUENCER_CELLWIDTH + 1) && | ^ sequencer.c:338:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 338 | y > (SEQUENCER_Y + (seqch+3)*SEQUENCER_CELLHEIGHT) && | ^ sequencer.c:339:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 339 | y < (SEQUENCER_Y + (seqch+4)*SEQUENCER_CELLHEIGHT+4) | ^ sequencer.c:341:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 341 | return (int)((x-SEQUENCER_X)/SEQUENCER_CELLWIDTH); | ^ sequencer.c: In function 'sequencer_mouse_hover': sequencer.c:351:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 351 | seq_ui[B_DECCH]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:351:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 351 | seq_ui[B_DECCH]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:352:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 352 | seq_ui[B_ADDCH]=hovertest_box(x, y, 80, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:352:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 352 | seq_ui[B_ADDCH]=hovertest_box(x, y, 80, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:357:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 357 | seq_ui[B_BPM]=hovertest_box(x, y, 151, DS_HEIGHT-14, 16, 46); | ^ sequencer.c:357:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 357 | seq_ui[B_BPM]=hovertest_box(x, y, 151, DS_HEIGHT-14, 16, 46); | ^ sequencer.c:358:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 358 | seq_ui[B_SSHORTER]=hovertest_box(x, y, 222, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:358:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 358 | seq_ui[B_SSHORTER]=hovertest_box(x, y, 222, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:359:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 359 | seq_ui[B_SLONGER]=hovertest_box(x, y, 304, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:359:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 359 | seq_ui[B_SLONGER]=hovertest_box(x, y, 304, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:361:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 361 | seq_ui[B_SAVE_SONG]=hovertest_box(x, y, 350, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:361:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 361 | seq_ui[B_SAVE_SONG]=hovertest_box(x, y, 350, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:362:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 362 | seq_ui[B_LOAD_SONG]=hovertest_box(x, y, 372, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:362:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 362 | seq_ui[B_LOAD_SONG]=hovertest_box(x, y, 372, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:364:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 364 | seq_ui[B_CLEAR]=hovertest_box(x, y, 462, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:364:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 364 | seq_ui[B_CLEAR]=hovertest_box(x, y, 462, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:365:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 365 | seq_ui[B_REWIND]=hovertest_box(x, y, 440, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:365:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 365 | seq_ui[B_REWIND]=hovertest_box(x, y, 440, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:367:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 367 | seq_ui[B_NEWSONG]=hovertest_box(x, y, 394, DS_HEIGHT-14, 16, 16) | (seq_ui[B_NEWSONG]&8); | ^ sequencer.c:367:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 367 | seq_ui[B_NEWSONG]=hovertest_box(x, y, 394, DS_HEIGHT-14, 16, 16) | (seq_ui[B_NEWSONG]&8); | ^ sequencer.c:369:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 369 | seq_ui[B_LOOP]=hovertest_box(x, y, 630, DS_HEIGHT-14, 16, 48); | ^ sequencer.c:369:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 369 | seq_ui[B_LOOP]=hovertest_box(x, y, 630, DS_HEIGHT-14, 16, 48); | ^ sequencer.c:373:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 373 | seq_ui[B_RENDER]=hovertest_box(x, y, 578, DS_HEIGHT-14, 16, 42); | ^ sequencer.c:373:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 373 | seq_ui[B_RENDER]=hovertest_box(x, y, 578, DS_HEIGHT-14, 16, 42); | ^ sequencer.c:378:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 378 | seq_ui[B_SEQPLAY]|=hovertest_box(x, y, 526, DS_HEIGHT-14, 16, 42); | ^ sequencer.c:378:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 378 | seq_ui[B_SEQPLAY]|=hovertest_box(x, y, 526, DS_HEIGHT-14, 16, 42); | ^ sequencer.c:381:64: warning: conversion from 'int' to 'float' may change value [-Wconversion] 381 | seqslide_hover=hovertest_hslider(x,y,SEQUENCER_X, SEQUENCER_Y+(seqch+5)*SEQUENCER_CELLHEIGHT, (DS_WIDTH-(SEQUENCER_X+6)), 12, | ^ sequencer.c:381:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 381 | seqslide_hover=hovertest_hslider(x,y,SEQUENCER_X, SEQUENCER_Y+(seqch+5)*SEQUENCER_CELLHEIGHT, (DS_WIDTH-(SEQUENCER_X+6)), 12, | ^ sequencer.c:381:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 381 | seqslide_hover=hovertest_hslider(x,y,SEQUENCER_X, SEQUENCER_Y+(seqch+5)*SEQUENCER_CELLHEIGHT, (DS_WIDTH-(SEQUENCER_X+6)), 12, | ^ sequencer.c:382:4: warning: conversion from 'int' to 'float' may change value [-Wconversion] 382 | seq_start, (DS_WIDTH-(SEQUENCER_X+4))/SEQUENCER_CELLWIDTH, seqsonglen); | ^~~~~~~~~ sequencer.c:382:63: warning: conversion from 'int' to 'float' may change value [-Wconversion] 382 | seq_start, (DS_WIDTH-(SEQUENCER_X+4))/SEQUENCER_CELLWIDTH, seqsonglen); | ^~~~~~~~~~ sequencer.c:393:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 393 | y < (SEQUENCER_Y + (seqch+3)*SEQUENCER_CELLHEIGHT) | ^ sequencer.c:396:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 396 | m=(int)((y-SEQUENCER_Y)/SEQUENCER_CELLHEIGHT); | ^ sequencer.c: In function 'sequencer_mouse_drag': sequencer.c:412:9: warning: conversion from 'int' to 'float' may change value [-Wconversion] 412 | cip=seqsonglen; //pattlen[cpatt]*16; // cells in pattern | ^~~~~~~~~~ sequencer.c:414:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 414 | f=((x-seqslide_drag_xofs)/(sbw-slw))*(cip-cos); | ^ sequencer.c:415:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 415 | seq_start=seqslide_drag_start+f; | ^ sequencer.c:415:15: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 415 | seq_start=seqslide_drag_start+f; | ^~~~~~~~~~~~~~~~~~~ sequencer.c:416:42: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 416 | if (seq_start>(1+cip-cos)) seq_start=(1+cip-cos); | ^ sequencer.c: In function 'sequencer_mouse_click': sequencer.c:458:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 458 | console_post("Song cleared and everything reset back to defaults"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ sequencer.c:461:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 461 | console_post("Click again to start a new song from scratch"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ sequencer.c:477:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 477 | dialog_open(&sequencer_draw_bpm, &sequencer_bpm_hover, &sequencer_bpm_click); | ^~~~~~~~~~~~~~~~~~~ In file included from synthesizer.h:28: dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:477:42: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 477 | dialog_open(&sequencer_draw_bpm, &sequencer_bpm_hover, &sequencer_bpm_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:477:64: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 477 | dialog_open(&sequencer_draw_bpm, &sequencer_bpm_hover, &sequencer_bpm_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:478:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 478 | dialog_bindkeyboard(&sequencer_bpm_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:489:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 489 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ sequencer.c:489:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 489 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ sequencer.c:489:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 489 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ shader.c:43:8: warning: no previous prototype for 'loadshader' [-Wmissing-prototypes] 43 | GLuint loadshader(char *fname, GLuint type) | ^~~~~~~~~~ sequencer.c:502:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&sequencer_draw_render, &sequencer_render_hover, &sequencer_render_click); | ^~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:502:45: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&sequencer_draw_render, &sequencer_render_hover, &sequencer_render_click); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:502:70: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&sequencer_draw_render, &sequencer_render_hover, &sequencer_render_click); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:503:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 503 | dialog_bindkeyboard(&sequencer_render_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:513:34: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 513 | songdir=dotfile_getvalue("songFileDir"); | ^~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:514:43: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 514 | filedialog_open(&songfd[FD_SAVE], "ksong", songdir); | ^~~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ sequencer.c:516:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 516 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:516:43: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 516 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:516:66: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 516 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:517:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 517 | dialog_bindkeyboard(&sequencer_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:518:25: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 518 | dialog_binddrag(&sequencer_file_drag); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:522:34: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 522 | songdir=dotfile_getvalue("songFileDir"); | ^~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:523:43: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 523 | filedialog_open(&songfd[FD_LOAD], "ksong", songdir); | ^~~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ shader.c: In function 'loadshader': shader.c:53:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | fread(temp, 1, 65536, f); | ^~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:525:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 525 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:525:43: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 525 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ In file included from about.h:16, from main.c:28: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:525:66: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 525 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ In file included from widgets.h:20, from dialog.h:16, from about.h:17: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:526:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 526 | dialog_bindkeyboard(&sequencer_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ In file included from font.h:16, from widgets.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:527:25: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 527 | dialog_binddrag(&sequencer_file_drag); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:576:22: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 576 | console_post("Modulator commands are not yet implemented!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ sequencer.c:582:23: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 582 | dialog_open(&sequencer_draw_channel, &sequencer_channel_hover, &sequencer_channel_click); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:582:48: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 582 | dialog_open(&sequencer_draw_channel, &sequencer_channel_hover, &sequencer_channel_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:582:74: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 582 | dialog_open(&sequencer_draw_channel, &sequencer_channel_hover, &sequencer_channel_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:583:31: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 583 | dialog_bindkeyboard(&sequencer_channel_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:609:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 609 | pl=seq_repeat[seq_drag_pattch][seq_drag_pattstart]*pattlen[seq_pattern[seq_drag_pattch][seq_drag_pattstart]]; | ^ sequencer.c:609:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 609 | pl=seq_repeat[seq_drag_pattch][seq_drag_pattstart]*pattlen[seq_pattern[seq_drag_pattch][seq_drag_pattstart]]; | ^~~~~~~~~~ sequencer.c:624:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 624 | console_post("Patterns"); | ^~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ sequencer.c:654:23: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 654 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:654:48: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 654 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:654:74: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 654 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:655:31: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 655 | dialog_bindkeyboard(&sequencer_pattern_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:663:23: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 663 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:663:48: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 663 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:663:74: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 663 | dialog_open(&sequencer_draw_pattern, &sequencer_pattern_hover, &sequencer_pattern_click); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:664:31: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 664 | dialog_bindkeyboard(&sequencer_pattern_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c: In function 'sequencer_keyboard': sequencer.c:706:30: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 706 | songdir=dotfile_getvalue("songFileDir"); | ^~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:707:39: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | filedialog_open(&songfd[FD_SAVE], "ksong", songdir); | ^~~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ sequencer.c:709:17: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 709 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:709:39: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 709 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:709:62: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 709 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:710:25: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 710 | dialog_bindkeyboard(&sequencer_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:711:21: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 711 | dialog_binddrag(&sequencer_file_drag); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:716:30: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 716 | songdir=dotfile_getvalue("songFileDir"); | ^~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:717:39: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 717 | filedialog_open(&songfd[FD_LOAD], "ksong", songdir); | ^~~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ sequencer.c:719:17: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 719 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:719:39: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 719 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:719:62: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 719 | dialog_open(&sequencer_draw_file, &sequencer_file_hover, &sequencer_file_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:720:25: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 720 | dialog_bindkeyboard(&sequencer_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:721:21: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 721 | dialog_binddrag(&sequencer_file_drag); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:736:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 736 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ sequencer.c:736:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 736 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ sequencer.c:736:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 736 | n=i+seq_repeat[j][i]*pattlen[seq_pattern[j][i]]; | ^ In file included from widgets.h:23: modules.h:152:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 152 | void calc_supersaw_tables(); | ^~~~ sequencer.c:690:3: warning: switch missing default case [-Wswitch-default] 690 | switch (key) { | ^~~~~~ sequencer.c:682:48: warning: unused parameter 'x' [-Wunused-parameter] 682 | void sequencer_keyboard(unsigned char key, int x, int y) | ~~~~^ sequencer.c:682:55: warning: unused parameter 'y' [-Wunused-parameter] 682 | void sequencer_keyboard(unsigned char key, int x, int y) | ~~~~^ sequencer.c: In function 'sequencer_draw': pattern.c: In function 'pattern_init': pattern.c:100:6: warning: old-style function definition [-Wold-style-definition] 100 | void pattern_init() | ^~~~~~~~~~~~ sequencer.c:759:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 759 | glVertex2f(SEQUENCER_X, SEQUENCER_Y+(j*SEQUENCER_CELLHEIGHT)); | ^ pattern.c: At top level: pattern.c:119:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 119 | void pattern_toggleplayback() | ^~~~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'pattern_toggleplayback': pattern.c:119:6: warning: old-style function definition [-Wold-style-definition] sequencer.c:760:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 760 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(j*SEQUENCER_CELLHEIGHT)); | ^ pattern.c: At top level: pattern.c:140:5: warning: no previous prototype for 'pattern_cursorpos' [-Wmissing-prototypes] 140 | int pattern_cursorpos(int x, int y, int *note) | ^~~~~~~~~~~~~~~~~ pattern.c: In function 'pattern_cursorpos': pattern.c:46:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 46 | #define PIANOROLL_OCTAVES 6 | ^ pattern.c:148:16: note: in expansion of macro 'PIANOROLL_OCTAVES' 148 | lineheight=PIANOROLL_OCTAVES*12 - (((coct+PIANOROLL_OCTAVES)*12)-MAX_NOTE); | ^~~~~~~~~~~~~~~~~ sequencer.c:760:83: warning: conversion from 'int' to 'float' may change value [-Wconversion] 760 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(j*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:153:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 153 | x < (PIANOROLL_X + (pattlen[cpatt]*(beats_per_measure*beatdiv))*PIANOROLL_CELLWIDTH + 1) && | ^ pattern.c:153:24: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 153 | x < (PIANOROLL_X + (pattlen[cpatt]*(beats_per_measure*beatdiv))*PIANOROLL_CELLWIDTH + 1) && | ^ sequencer.c:768:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 768 | glVertex2f(SEQUENCER_X, SEQUENCER_Y+((seqch+2)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:37:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 37 | #define PIANOROLL_X KB_WIDTH+5.5 | ^ pattern.c:158:17: note: in expansion of macro 'PIANOROLL_X' 158 | cx=(int)((x-PIANOROLL_X)/PIANOROLL_CELLWIDTH)-1; | ^~~~~~~~~~~ pattern.c:159:20: warning: conversion from 'int' to 'float' may change value [-Wconversion] 159 | cy=abs((int)((y-PIANOROLL_Y-2)/PIANOROLL_CELLHEIGHT)); | ^ sequencer.c:769:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 769 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+((seqch+2)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c: In function 'pattern_mouse_hover': pattern.c:171:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 171 | patt_ui[B_PREV]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ pattern.c:171:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 171 | patt_ui[B_PREV]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ pattern.c:172:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 172 | patt_ui[B_NEXT]=hovertest_box(x, y, 64, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:769:81: warning: conversion from 'int' to 'float' may change value [-Wconversion] 769 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+((seqch+2)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:172:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 172 | patt_ui[B_NEXT]=hovertest_box(x, y, 64, DS_HEIGHT-14, 16, 16); | ^ pattern.c:173:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 173 | patt_ui[B_SHORTER]=hovertest_box(x, y, 98, DS_HEIGHT-14, 16, 16); | ^ pattern.c:173:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 173 | patt_ui[B_SHORTER]=hovertest_box(x, y, 98, DS_HEIGHT-14, 16, 16); | ^ pattern.c:174:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 174 | patt_ui[B_LONGER]=hovertest_box(x, y, 180, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:770:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 770 | glVertex2f(SEQUENCER_X, SEQUENCER_Y+((seqch+3)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:174:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 174 | patt_ui[B_LONGER]=hovertest_box(x, y, 180, DS_HEIGHT-14, 16, 16); | ^ pattern.c:175:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 175 | patt_ui[B_OCTDN]=hovertest_box(x, y, 12, PIANOROLL_Y+16, 16, 16); | ^ pattern.c:175:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 175 | patt_ui[B_OCTDN]=hovertest_box(x, y, 12, PIANOROLL_Y+16, 16, 16); | ^ pattern.c:176:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 176 | patt_ui[B_OCTUP]=hovertest_box(x, y, 32, PIANOROLL_Y+16, 16, 16); | ^ sequencer.c:771:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 771 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+((seqch+3)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:176:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 176 | patt_ui[B_OCTUP]=hovertest_box(x, y, 32, PIANOROLL_Y+16, 16, 16); | ^ pattern.c:177:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 177 | patt_ui[B_PREVSYN]=hovertest_box(x, y, 214, DS_HEIGHT-14, 16, 16); | ^ pattern.c:177:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 177 | patt_ui[B_PREVSYN]=hovertest_box(x, y, 214, DS_HEIGHT-14, 16, 16); | ^ pattern.c:178:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | patt_ui[B_NEXTSYN]=hovertest_box(x, y, 430, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:771:81: warning: conversion from 'int' to 'float' may change value [-Wconversion] 771 | glVertex2f(SEQUENCER_X+(seqsonglen-seq_start)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+((seqch+3)*SEQUENCER_CELLHEIGHT)); | ^ pattern.c:178:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | patt_ui[B_NEXTSYN]=hovertest_box(x, y, 430, DS_HEIGHT-14, 16, 16); | ^ pattern.c:180:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 180 | patt_ui[B_PATTCLEAR]=hovertest_box(x, y, 555, DS_HEIGHT-14, 16, 16) | (patt_ui[B_PATTCLEAR]&8); | ^ pattern.c:180:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 180 | patt_ui[B_PATTCLEAR]=hovertest_box(x, y, 555, DS_HEIGHT-14, 16, 16) | (patt_ui[B_PATTCLEAR]&8); | ^ pattern.c:182:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 182 | patt_ui[B_COPY]=hovertest_box(x,y,622, DS_HEIGHT-14, 16, 16); | ^ pattern.c:182:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 182 | patt_ui[B_COPY]=hovertest_box(x,y,622, DS_HEIGHT-14, 16, 16); | ^ pattern.c:183:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 183 | patt_ui[B_PASTE]=hovertest_box(x,y,644, DS_HEIGHT-14, 16, 16); | ^ pattern.c:183:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 183 | patt_ui[B_PASTE]=hovertest_box(x,y,644, DS_HEIGHT-14, 16, 16); | ^ pattern.c:186:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 186 | patt_ui[B_PATTPLAY]=hovertest_box(x, y, 482, DS_HEIGHT-14, 16, 42); | ^ sequencer.c:784:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 784 | render_text(tmps, 2.5+SEQUENCER_X+(i*SEQUENCER_CELLWIDTH), round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT)), 2, 0xffa0a0a0, 0); | ^ pattern.c:186:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 186 | patt_ui[B_PATTPLAY]=hovertest_box(x, y, 482, DS_HEIGHT-14, 16, 42); | ^ pattern.c:195:79: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 195 | piano_start, (DS_WIDTH-(PIANOROLL_X+4))/PIANOROLL_CELLWIDTH, pattlen[cpatt]*(beats_per_measure*beatdiv)); | ^ sequencer.c:784:83: warning: conversion from 'int' to 'float' may change value [-Wconversion] 784 | render_text(tmps, 2.5+SEQUENCER_X+(i*SEQUENCER_CELLWIDTH), round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT)), 2, 0xffa0a0a0, 0); | ^ pattern.c:194:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 194 | slide_hover=hovertest_hslider(x,y,PIANOROLL_X, PIANOROLL_Y+12, (DS_WIDTH-(PIANOROLL_X+6)), 12, | ^ pattern.c:194:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 194 | slide_hover=hovertest_hslider(x,y,PIANOROLL_X, PIANOROLL_Y+12, (DS_WIDTH-(PIANOROLL_X+6)), 12, | ^ pattern.c:195:4: warning: conversion from 'int' to 'float' may change value [-Wconversion] 195 | piano_start, (DS_WIDTH-(PIANOROLL_X+4))/PIANOROLL_CELLWIDTH, pattlen[cpatt]*(beats_per_measure*beatdiv)); | ^~~~~~~~~~~ pattern.c:195:79: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 195 | piano_start, (DS_WIDTH-(PIANOROLL_X+4))/PIANOROLL_CELLWIDTH, pattlen[cpatt]*(beats_per_measure*beatdiv)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:784:66: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 784 | render_text(tmps, 2.5+SEQUENCER_X+(i*SEQUENCER_CELLWIDTH), round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT)), 2, 0xffa0a0a0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'pattern_mouse_drag': pattern.c:218:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 218 | cip=pattlen[cpatt]*(beats_per_measure*beatdiv); // cells in pattern | ^ sequencer.c:789:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 789 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y)); | ^ pattern.c:218:9: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 218 | cip=pattlen[cpatt]*(beats_per_measure*beatdiv); // cells in pattern | ^~~~~~~ pattern.c:220:10: warning: conversion from 'int' to 'float' may change value [-Wconversion] 220 | f=((x-slide_drag_xofs)/(sbw-slw))*(cip-cos); | ^ pattern.c:221:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 221 | piano_start=slide_drag_start+f; | ^ pattern.c:221:17: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 221 | piano_start=slide_drag_start+f; | ^~~~~~~~~~~~~~~~ sequencer.c:791:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 791 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); | ^ pattern.c:222:46: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 222 | if (piano_start>(1+cip-cos)) piano_start=(1+cip-cos); | ^ pattern.c:228:7: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 228 | n=pattdata[cpatt][piano_start+piano_porta_drag]; // current note being dragged | ^~~~~~~~ sequencer.c:791:70: warning: conversion from 'int' to 'float' may change value [-Wconversion] 791 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); | ^ pattern.c: In function 'pattern_mouse_click': pattern.c:254:41: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 254 | if (piano_hover>=0 && piano_note==(pattdata[cpatt][piano_start+piano_hover]&0xff)) { | ^~ sequencer.c:791:53: warning: conversion from 'double' to 'GLfloat' {aka 'float'} may change value [-Wfloat-conversion] 791 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:793:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 793 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); // was seqch+3 | ^ pattern.c:272:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 272 | console_post("Click again to clear pattern"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ sequencer.c:793:70: warning: conversion from 'int' to 'float' may change value [-Wconversion] 793 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); // was seqch+3 | ^ pattern.c:289:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 289 | for(i=((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i<(pattlen[cpatt]*(beats_per_measure*beatdiv)); i++) pattdata[cpatt][i]=0; | ^ pattern.c:289:20: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 289 | for(i=((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i<(pattlen[cpatt]*(beats_per_measure*beatdiv)); i++) pattdata[cpatt][i]=0; | ^ sequencer.c:793:53: warning: conversion from 'double' to 'GLfloat' {aka 'float'} may change value [-Wfloat-conversion] 793 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, round(SEQUENCER_Y+((seqch+4)*SEQUENCER_CELLHEIGHT))); // was seqch+3 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:289:87: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 289 | for(i=((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i<(pattlen[cpatt]*(beats_per_measure*beatdiv)); i++) pattdata[cpatt][i]=0; | ^ pattern.c:289:71: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 289 | for(i=((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i<(pattlen[cpatt]*(beats_per_measure*beatdiv)); i++) pattdata[cpatt][i]=0; | ^ pattern.c:295:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 295 | ( 1+pattlen[cpatt]*(beats_per_measure*beatdiv) - ( (DS_WIDTH-(PIANOROLL_X))/PIANOROLL_CELLWIDTH ) ) ) piano_start--; | ^ sequencer.c:804:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 804 | sx=SEQUENCER_X+(j-seq_start)*SEQUENCER_CELLWIDTH -1.5; | ^ pattern.c:295:60: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 295 | ( 1+pattlen[cpatt]*(beats_per_measure*beatdiv) - ( (DS_WIDTH-(PIANOROLL_X))/PIANOROLL_CELLWIDTH ) ) ) piano_start--; | ^ sequencer.c:805:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 805 | sl=seq_repeat[i][j]*pattlen[seq_pattern[i][j]]*SEQUENCER_CELLWIDTH; | ^ pattern.c:308:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 308 | for(i=0; i<((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i++) pattdata[cpatt][i+((pattlen[cpatt]*(beats_per_measure*beatdiv))/2)]=pattdata[cpatt][i]; | ^ pattern.c:308:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 308 | for(i=0; i<((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i++) pattdata[cpatt][i+((pattlen[cpatt]*(beats_per_measure*beatdiv))/2)]=pattdata[cpatt][i]; | ^ sequencer.c:805:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 805 | sl=seq_repeat[i][j]*pattlen[seq_pattern[i][j]]*SEQUENCER_CELLWIDTH; | ^~~~~~~~~~ pattern.c:308:113: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 308 | for(i=0; i<((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i++) pattdata[cpatt][i+((pattlen[cpatt]*(beats_per_measure*beatdiv))/2)]=pattdata[cpatt][i]; | ^ pattern.c:308:96: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 308 | for(i=0; i<((pattlen[cpatt]*(beats_per_measure*beatdiv))/2); i++) pattdata[cpatt][i+((pattlen[cpatt]*(beats_per_measure*beatdiv))/2)]=pattdata[cpatt][i]; | ^ sequencer.c:807:16: warning: conversion from 'int' to 'float' may change value [-Wconversion] 807 | if ((sx+sl) > SEQUENCER_X) { | ^ sequencer.c:810:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 810 | sl-=(SEQUENCER_X-sx); | ^~ pattern.c:328:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 328 | for(i=0; i SEQUENCER_X) { | ^ pattern.c:46:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 46 | #define PIANOROLL_OCTAVES 6 | ^ pattern.c:550:16: note: in expansion of macro 'PIANOROLL_OCTAVES' 550 | lineheight=PIANOROLL_OCTAVES*12 - (((coct+PIANOROLL_OCTAVES)*12)-MAX_NOTE); | ^~~~~~~~~~~~~~~~~ main.c: At top level: main.c:105:6: warning: no previous prototype for 'mouse_dragfunc' [-Wmissing-prototypes] 105 | void mouse_dragfunc(int x, int y) | ^~~~~~~~~~~~~~ main.c:123:6: warning: no previous prototype for 'mouse_clickfunc' [-Wmissing-prototypes] 123 | void mouse_clickfunc(int button, int state, int x, int y) | ^~~~~~~~~~~~~~~ pattern.c:553:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 553 | for(i=0,j=piano_start;j<(pattlen[cpatt]*(beats_per_measure*beatdiv)+1);i++,j++) { | ^ sequencer.c:870:13: warning: conversion from 'int' to 'float' may change value [-Wconversion] 870 | sl-=(SEQUENCER_X-sx); | ^~ main.c: In function 'mouse_clickfunc': main.c:130:47: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | if (main_ui[MAIN_PAGE1]) { console_post("Synthesizers"); cpage=1; return; } | ^~~~~~~~~~~~~~ pattern.c:553:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 553 | for(i=0,j=piano_start;j<(pattlen[cpatt]*(beats_per_measure*beatdiv)+1);i++,j++) { | ^ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c:131:47: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | if (main_ui[MAIN_PAGE2]) { console_post("Patches"); cpage=2; return; } | ^~~~~~~~~ sequencer.c:870:15: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 870 | sl-=(SEQUENCER_X-sx); | ^ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c:132:47: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | if (main_ui[MAIN_PAGE3]) { console_post("Patterns"); cpage=3; return; } | ^~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ pattern.c:560:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 560 | if ((j%b)==0 && j<(pattlen[cpatt]*b)) { | ^ main.c:133:47: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | if (main_ui[MAIN_PAGE4]) { console_post("Sequencer"); cpage=4; return; } | ^~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c:134:46: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 134 | if (main_ui[MAIN_ABOUT]) { dialog_open(&about_draw, &about_hover, &about_click); dialog_bindkeyboard(&about_keyboard); return; } | ^~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ pattern.c:560:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 560 | if ((j%b)==0 && j<(pattlen[cpatt]*b)) { | ^ main.c:134:59: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 134 | if (main_ui[MAIN_ABOUT]) { dialog_open(&about_draw, &about_hover, &about_click); dialog_bindkeyboard(&about_keyboard); return; } | ^~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:882:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 882 | glVertex2f( sx+1, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ main.c:134:73: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 134 | if (main_ui[MAIN_ABOUT]) { dialog_open(&about_draw, &about_hover, &about_click); dialog_bindkeyboard(&about_keyboard); return; } | ^~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ main.c:134:108: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 134 | if (main_ui[MAIN_ABOUT]) { dialog_open(&about_draw, &about_hover, &about_click); dialog_bindkeyboard(&about_keyboard); return; } | ^~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ pattern.c:563:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 563 | render_text(tmps, 2.5+PIANOROLL_X+(i*PIANOROLL_CELLWIDTH), round(PIANOROLL_Y+PIANOROLL_CELLHEIGHT), 2, 0xffa0a0a0, 0); | ^ sequencer.c:883:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 883 | glVertex2f( sx+sl, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ main.c:141:61: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | if (main_ui[MAIN_VU]) { audio_peak=0.0f; console_post("VU meter peak reset"); return; } | ^~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c: At top level: main.c:155:6: warning: no previous prototype for 'keyboardfunc' [-Wmissing-prototypes] 155 | void keyboardfunc(unsigned char key, int x, int y) | ^~~~~~~~~~~~ pattern.c:569:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 569 | glVertex2f(PIANOROLL_X+i*PIANOROLL_CELLWIDTH, round(PIANOROLL_Y+PIANOROLL_CELLHEIGHT)); | ^ sequencer.c:883:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 883 | glVertex2f( sx+sl, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ main.c:168:6: warning: no previous prototype for 'keyboardupfunc' [-Wmissing-prototypes] 168 | void keyboardupfunc(unsigned char key, int x, int y) | ^~~~~~~~~~~~~~ pattern.c:570:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 570 | glVertex2f(PIANOROLL_X+i*PIANOROLL_CELLWIDTH, round(PIANOROLL_Y-lineheight)); //(PIANOROLL_OCTAVES*12)*PIANOROLL_CELLHEIGHT))); | ^ main.c:179:6: warning: no previous prototype for 'specialkeyfunc' [-Wmissing-prototypes] 179 | void specialkeyfunc(int key, int x, int y) | ^~~~~~~~~~~~~~ sequencer.c:884:25: warning: conversion from 'int' to 'float' may change value [-Wconversion] 884 | glVertex2f( sx+sl, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ main.c: In function 'specialkeyfunc': main.c:186:39: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 186 | case MAIN_PAGE1: synth_specialkey(key, x, y); break; | ^~~ pattern.c:570:51: warning: conversion from 'double' to 'GLfloat' {aka 'float'} may change value [-Wfloat-conversion] 570 | glVertex2f(PIANOROLL_X+i*PIANOROLL_CELLWIDTH, round(PIANOROLL_Y-lineheight)); //(PIANOROLL_OCTAVES*12)*PIANOROLL_CELLHEIGHT))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:187:39: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 187 | case MAIN_PAGE2: patch_specialkey(key, x, y); break; | ^~~ main.c:188:41: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 188 | case MAIN_PAGE3: pattern_specialkey(key, x, y); break; | ^~~ main.c:184:3: warning: switch missing default case [-Wswitch-default] 184 | switch (cpage) | ^~~~~~ pattern.c:577:19: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 577 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); // calc tick from sample index | ^ sequencer.c:884:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 884 | glVertex2f( sx+sl, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ main.c:195:36: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | if (cpage!=1) { console_post("Synthesizers"); cpage=1;} | ^~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ pattern.c:577:11: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 577 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); // calc tick from sample index | ^~~~~~~ main.c:198:36: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | if (cpage!=2) { console_post("Patches"); cpage=2; } | ^~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c:201:36: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 201 | if (cpage!=3) { console_post("Patterns"); cpage=3; } | ^~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ pattern.c:578:63: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 578 | if ( (ticks>>6)>=piano_start && (ticks>>6)<(pattlen[cpatt]*(beats_per_measure*beatdiv)) ) // TODO: test if pos > pianostart+rollwidth | ^ sequencer.c:885:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 885 | glVertex2f( sx+1, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ main.c:204:36: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | if (cpage!=4) { console_post("Sequencer"); cpage=4; } | ^~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ main.c: At top level: pattern.c:578:47: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 578 | if ( (ticks>>6)>=piano_start && (ticks>>6)<(pattlen[cpatt]*(beats_per_measure*beatdiv)) ) // TODO: test if pos > pianostart+rollwidth | ^ main.c:212:6: warning: no previous prototype for 'update' [-Wmissing-prototypes] 212 | void update(int value) | ^~~~~~ main.c:222:7: warning: no previous prototype for 'audio_playback' [-Wmissing-prototypes] 222 | void *audio_playback(void *param) | ^~~~~~~~~~~~~~ sequencer.c:896:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 896 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+ seq_hover_ch *SEQUENCER_CELLHEIGHT ); | ^ main.c: In function 'audio_playback': pattern.c:584:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 584 | glVertex2f(PIANOROLL_X+i*PIANOROLL_CELLWIDTH, round(PIANOROLL_Y+PIANOROLL_CELLHEIGHT)); | ^ main.c:224:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 224 | int rc; | ^~ main.c:222:28: warning: unused parameter 'param' [-Wunused-parameter] 222 | void *audio_playback(void *param) | ~~~~~~^~~~~ main.c: At top level: main.c:233:7: warning: no previous prototype for 'audio_renderer' [-Wmissing-prototypes] 233 | void *audio_renderer(void *param) | ^~~~~~~~~~~~~~ pattern.c:585:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 585 | glVertex2f(PIANOROLL_X+i*PIANOROLL_CELLWIDTH, round(PIANOROLL_Y-((PIANOROLL_OCTAVES*12)*PIANOROLL_CELLHEIGHT))); | ^ main.c: In function 'audio_renderer': sequencer.c:896:92: warning: conversion from 'int' to 'float' may change value [-Wconversion] 896 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+ seq_hover_ch *SEQUENCER_CELLHEIGHT ); | ^ main.c:235:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 235 | int rc; | ^~ main.c:233:28: warning: unused parameter 'param' [-Wunused-parameter] 233 | void *audio_renderer(void *param) | ~~~~~~^~~~~ main.c: At top level: main.c:248:6: warning: no previous prototype for 'display' [-Wmissing-prototypes] 248 | void display(void) | ^~~~~~~ pattern.c:591:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 591 | for(i=0,j=piano_start;j<(pattlen[cpatt]*(beats_per_measure*beatdiv));i++,j++) { | ^ sequencer.c:897:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 897 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+ seq_hover_ch *SEQUENCER_CELLHEIGHT ); | ^ pattern.c:591:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 591 | for(i=0,j=piano_start;j<(pattlen[cpatt]*(beats_per_measure*beatdiv));i++,j++) { | ^ main.c: In function 'display': main.c:284:47: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 284 | draw_button(DS_WIDTH-159, DS_HEIGHT-14, 16, "1", main_ui[MAIN_PAGE1]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:897:92: warning: conversion from 'int' to 'float' may change value [-Wconversion] 897 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+ seq_hover_ch *SEQUENCER_CELLHEIGHT ); | ^ main.c:285:47: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 285 | draw_button(DS_WIDTH-137, DS_HEIGHT-14, 16, "2", main_ui[MAIN_PAGE2]); | ^~~ pattern.c:37:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 37 | #define PIANOROLL_X KB_WIDTH+5.5 | ^ pattern.c:599:24: note: in expansion of macro 'PIANOROLL_X' 599 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^~~~~~~~~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ main.c:286:47: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 286 | draw_button(DS_WIDTH-115, DS_HEIGHT-14, 16, "3", main_ui[MAIN_PAGE3]); | ^~~ sequencer.c:898:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 898 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(1+seq_hover_ch)*SEQUENCER_CELLHEIGHT ); | ^ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:599:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 599 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ main.c:287:46: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 287 | draw_button(DS_WIDTH-93, DS_HEIGHT-14, 16, "4", main_ui[MAIN_PAGE4]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:599:72: warning: conversion from 'int' to 'float' may change value [-Wconversion] 599 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ main.c:288:51: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 288 | draw_textbox(DS_WIDTH-42, DS_HEIGHT-14, 16, 74, "komposter", main_ui[MAIN_ABOUT]); | ^~~~~~~~~~~ sequencer.c:898:92: warning: conversion from 'int' to 'float' may change value [-Wconversion] 898 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(1+seq_hover_ch)*SEQUENCER_CELLHEIGHT ); | ^ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ main.c:292:47: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | draw_button(DS_WIDTH-206, DS_HEIGHT-14, 16, "!!!", main_ui[MAIN_PANIC]); | ^~~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:600:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 600 | glVertex2f(PIANOROLL_X+(i+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:899:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 899 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(1+seq_hover_ch)*SEQUENCER_CELLHEIGHT ); | ^ main.c:295:6: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 295 | rf=fmin(1.0f, audio_latest_peak); | ^~~~ pattern.c:600:74: warning: conversion from 'int' to 'float' may change value [-Wconversion] 600 | glVertex2f(PIANOROLL_X+(i+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ main.c:298:44: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 298 | draw_textbox(728, DS_HEIGHT-14, 16, 100, "", main_ui[MAIN_VU]); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ sequencer.c:899:92: warning: conversion from 'int' to 'float' may change value [-Wconversion] 899 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(1+seq_hover_ch)*SEQUENCER_CELLHEIGHT ); | ^ pattern.c:601:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 601 | glVertex2f(PIANOROLL_X+(i+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:601:72: warning: conversion from 'int' to 'float' may change value [-Wconversion] 601 | glVertex2f(PIANOROLL_X+(i+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ main.c:310:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 310 | unsigned int color=0x00b05500|(panic<<24); | ^~~~~~~~~~ sequencer.c:910:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 910 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(2+seqch)*SEQUENCER_CELLHEIGHT ); | ^ main.c: At top level: pattern.c:37:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 37 | #define PIANOROLL_X KB_WIDTH+5.5 | ^ pattern.c:602:24: note: in expansion of macro 'PIANOROLL_X' 602 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^~~~~~~~~~~ main.c:322:6: warning: no previous prototype for 'cleanup' [-Wmissing-prototypes] 322 | void cleanup(void) | ^~~~~~~ pattern.c:602:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 602 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ main.c:332:5: warning: no previous prototype for 'is_dir' [-Wmissing-prototypes] 332 | int is_dir(const char *path) | ^~~~~~ sequencer.c:910:90: warning: conversion from 'int' to 'float' may change value [-Wconversion] 910 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(2+seqch)*SEQUENCER_CELLHEIGHT ); | ^ pattern.c:602:70: warning: conversion from 'int' to 'float' may change value [-Wconversion] 602 | glVertex2f(l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:911:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 911 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(2+seqch)*SEQUENCER_CELLHEIGHT ); | ^ pattern.c:37:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 37 | #define PIANOROLL_X KB_WIDTH+5.5 | ^ pattern.c:607:15: note: in expansion of macro 'PIANOROLL_X' 607 | l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH+1, | ^~~~~~~~~~~ pattern.c:607:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 607 | l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH+1, | ^ sequencer.c:911:90: warning: conversion from 'int' to 'float' may change value [-Wconversion] 911 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(2+seqch)*SEQUENCER_CELLHEIGHT ); | ^ pattern.c:608:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 608 | PIANOROLL_Y-2-(n-coct*12+1)*PIANOROLL_CELLHEIGHT, | ^ main.c: In function 'main': sequencer.c:912:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 912 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(3+seqch)*SEQUENCER_CELLHEIGHT ); | ^ main.c:435:15: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 435 | dialog_open(&about_draw, &about_hover, &about_click); | ^~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ pattern.c:37:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 37 | #define PIANOROLL_X KB_WIDTH+5.5 | ^ pattern.c:611:15: note: in expansion of macro 'PIANOROLL_X' 611 | l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, | ^~~~~~~~~~~ main.c:435:28: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 435 | dialog_open(&about_draw, &about_hover, &about_click); | ^~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:912:90: warning: conversion from 'int' to 'float' may change value [-Wconversion] 912 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start+1)*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(3+seqch)*SEQUENCER_CELLHEIGHT ); | ^ main.c:435:42: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 435 | dialog_open(&about_draw, &about_hover, &about_click); | ^~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ pattern.c:611:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 611 | l+PIANOROLL_X+i*PIANOROLL_CELLWIDTH, | ^ main.c:436:23: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 436 | dialog_bindkeyboard(&about_keyboard); | ^~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ pattern.c:612:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 612 | PIANOROLL_Y-2-(n-coct*12+1)*PIANOROLL_CELLHEIGHT, | ^ sequencer.c:913:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 913 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(3+seqch)*SEQUENCER_CELLHEIGHT ); | ^ sequencer.c:913:90: warning: conversion from 'int' to 'float' may change value [-Wconversion] 913 | glVertex2f( SEQUENCER_X+(seq_hover_meas-seq_start) *SEQUENCER_CELLWIDTH, SEQUENCER_Y+(3+seqch)*SEQUENCER_CELLHEIGHT ); | ^ pattern.c:634:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 634 | glVertex2f(1+PIANOROLL_X+j*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:634:68: warning: conversion from 'int' to 'float' may change value [-Wconversion] 634 | glVertex2f(1+PIANOROLL_X+j*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:922:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 922 | pl=seq_repeat[i][seq_drag_pattstart]*pattlen[seq_pattern[i][seq_drag_pattstart]]; | ^ pattern.c:635:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 635 | glVertex2f(PIANOROLL_X+(j+l)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:922:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 922 | pl=seq_repeat[i][seq_drag_pattstart]*pattlen[seq_pattern[i][seq_drag_pattstart]]; | ^~~~~~~~~~ pattern.c:635:70: warning: conversion from 'int' to 'float' may change value [-Wconversion] 635 | glVertex2f(PIANOROLL_X+(j+l)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:636:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 636 | glVertex2f(PIANOROLL_X+(j+l)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:925:19: warning: conversion from 'int' to 'float' may change value [-Wconversion] 925 | sx=SEQUENCER_X+(j-seq_start)*SEQUENCER_CELLWIDTH; | ^ pattern.c:636:68: warning: conversion from 'int' to 'float' may change value [-Wconversion] 636 | glVertex2f(PIANOROLL_X+(j+l)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:928:12: warning: conversion from 'int' to 'float' may change value [-Wconversion] 928 | if ((sx+sl) > SEQUENCER_X) { | ^ pattern.c:637:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 637 | glVertex2f(1+PIANOROLL_X+j*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:930:11: warning: conversion from 'int' to 'float' may change value [-Wconversion] 930 | sl-=(SEQUENCER_X-sx); | ^~ pattern.c:637:66: warning: conversion from 'int' to 'float' may change value [-Wconversion] 637 | glVertex2f(1+PIANOROLL_X+j*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:930:13: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 930 | sl-=(SEQUENCER_X-sx); | ^ pattern.c:645:7: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 645 | n=pattdata[cpatt][piano_start+piano_porta_drag]; | ^~~~~~~~ pattern.c:648:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 648 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:936:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 936 | glVertex2f( sx+1, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ pattern.c:648:81: warning: conversion from 'int' to 'float' may change value [-Wconversion] 648 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:649:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 649 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:937:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 937 | glVertex2f( sx+sl, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ pattern.c:649:102: warning: conversion from 'int' to 'float' may change value [-Wconversion] 649 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:937:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 937 | glVertex2f( sx+sl, SEQUENCER_Y+ i *SEQUENCER_CELLHEIGHT); | ^ pattern.c:650:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 650 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:938:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 938 | glVertex2f( sx+sl, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ sequencer.c:938:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 938 | glVertex2f( sx+sl, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ sequencer.c:939:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 939 | glVertex2f( sx+1, SEQUENCER_Y+(1+i)*SEQUENCER_CELLHEIGHT-1 ); | ^ sequencer.c:947:7: warning: conversion from 'int' to 'float' may change value [-Wconversion] 947 | f=seq_render_start - seq_start; | ^~~~~~~~~~~~~~~~ sequencer.c:951:62: warning: conversion from 'int' to 'float' may change value [-Wconversion] 951 | glVertex2f(SEQUENCER_X+f*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:650:100: warning: conversion from 'int' to 'float' may change value [-Wconversion] 650 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:955:7: warning: conversion from 'int' to 'float' may change value [-Wconversion] 955 | f=seq_render_end - seq_start; | ^~~~~~~~~~~~~~ pattern.c:651:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 651 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:959:62: warning: conversion from 'int' to 'float' may change value [-Wconversion] 959 | glVertex2f(SEQUENCER_X+f*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:651:79: warning: conversion from 'int' to 'float' may change value [-Wconversion] 651 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:653:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 653 | if (piano_porta_drag_from != pattdata[cpatt][piano_start+piano_porta_drag]) { | ^~ sequencer.c:967:8: warning: conversion from 'int' to 'float' may change value [-Wconversion] 967 | fs=seq_render_start-seq_start; | ^~~~~~~~~~~~~~~~ pattern.c:657:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 657 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:969:8: warning: conversion from 'int' to 'float' may change value [-Wconversion] 969 | fe=seq_render_end-seq_start; | ^~~~~~~~~~~~~~ pattern.c:657:83: warning: conversion from 'int' to 'float' may change value [-Wconversion] 657 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:658:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 658 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:974:67: warning: conversion from 'int' to 'float' may change value [-Wconversion] 974 | glVertex2f(SEQUENCER_X+fs*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:658:104: warning: conversion from 'int' to 'float' may change value [-Wconversion] 658 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:659:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 659 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:975:67: warning: conversion from 'int' to 'float' may change value [-Wconversion] 975 | glVertex2f(SEQUENCER_X+fe*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:659:102: warning: conversion from 'int' to 'float' may change value [-Wconversion] 659 | glVertex2f(PIANOROLL_X+(piano_porta_drag+piano_porta_drag_len)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:988:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 988 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, SEQUENCER_Y); | ^ pattern.c:660:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 660 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:660:81: warning: conversion from 'int' to 'float' may change value [-Wconversion] 660 | glVertex2f(1+PIANOROLL_X+piano_porta_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:989:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 989 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:667:7: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 667 | n=pattdata[cpatt][piano_start+piano_drag]; | ^~~~~~~~ sequencer.c:989:64: warning: conversion from 'int' to 'float' may change value [-Wconversion] 989 | glVertex2f(SEQUENCER_X+i*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:670:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 670 | glVertex2f(1+PIANOROLL_X+piano_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:670:75: warning: conversion from 'int' to 'float' may change value [-Wconversion] 670 | glVertex2f(1+PIANOROLL_X+piano_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:999:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 999 | if (i >= 0 && (i/16.0f) >= seq_start) { | ^ pattern.c:671:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 671 | glVertex2f(PIANOROLL_X+(piano_dragto+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ shader.c: In function 'shader_init': shader.c:75:5: warning: '__builtin_strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 75 | strncpy(fullpath, respath, 511); | ^ sequencer.c:1000:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1000 | f=(float)(i)/16.0f - seq_start; | ^ pattern.c:671:79: warning: conversion from 'int' to 'float' may change value [-Wconversion] 671 | glVertex2f(PIANOROLL_X+(piano_dragto+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-1-(n-coct*12)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:672:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] 672 | glVertex2f(PIANOROLL_X+(piano_dragto+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1004:66: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1004 | glVertex2f(SEQUENCER_X+f*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:672:77: warning: conversion from 'int' to 'float' may change value [-Wconversion] 672 | glVertex2f(PIANOROLL_X+(piano_dragto+1)*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ pattern.c:673:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 673 | glVertex2f(1+PIANOROLL_X+piano_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1011:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1011 | if (i >= 0 && (i/16.0f) >= seq_start) { | ^ pattern.c:673:73: warning: conversion from 'int' to 'float' may change value [-Wconversion] 673 | glVertex2f(1+PIANOROLL_X+piano_drag*PIANOROLL_CELLWIDTH, PIANOROLL_Y-(n-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1012:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1012 | f=(float)(i)/16.0f - seq_start; | ^ pattern.c:683:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 683 | PIANOROLL_Y-1-(kpkeydown-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1016:64: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1016 | glVertex2f(SEQUENCER_X+f*SEQUENCER_CELLWIDTH, SEQUENCER_Y+(seqch+3)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:685:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 685 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ pattern.c:685:77: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 685 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ sequencer.c:1027:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1027 | glVertex2f(1, SEQUENCER_Y+j*SEQUENCER_CELLHEIGHT); | ^ pattern.c:685:33: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 685 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ pattern.c:686:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 686 | PIANOROLL_Y-1-(kpkeydown-coct*12)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1028:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1028 | glVertex2f(SEQUENCER_X-1, SEQUENCER_Y+j*SEQUENCER_CELLHEIGHT); | ^ pattern.c:688:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 688 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ sequencer.c:1029:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1029 | glVertex2f(SEQUENCER_X-1, SEQUENCER_Y+(j+1)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:688:77: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 688 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ pattern.c:688:33: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 688 | glVertex2f(PIANOROLL_X+(pattlen[cpatt]*(beats_per_measure*beatdiv)-piano_start)*PIANOROLL_CELLWIDTH, | ^ sequencer.c:1030:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1030 | glVertex2f(1, SEQUENCER_Y+(j+1)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:689:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 689 | PIANOROLL_Y-(kpkeydown-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1035:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1035 | render_text(tmps, 5, SEQUENCER_Y+10.5+SEQUENCER_CELLHEIGHT*j+((SEQUENCER_CELLHEIGHT-14)/2), 2, | ^ pattern.c:692:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 692 | PIANOROLL_Y-(kpkeydown-coct*12+1)*PIANOROLL_CELLHEIGHT); | ^ sequencer.c:1039:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1039 | render_text(tmps, 5, SEQUENCER_Y+10.5+SEQUENCER_CELLHEIGHT*j+((SEQUENCER_CELLHEIGHT-14)/2), 2, | ^ pattern.c:700:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 700 | pattlen[cpatt]*(beats_per_measure*beatdiv), | ^ pattern.c:699:4: warning: conversion from 'int' to 'float' may change value [-Wconversion] 699 | piano_start, (DS_WIDTH-(PIANOROLL_X+4))/PIANOROLL_CELLWIDTH, | ^~~~~~~~~~~ pattern.c:700:18: warning: conversion from 'long unsigned int' to 'float' may change value [-Wconversion] 700 | pattlen[cpatt]*(beats_per_measure*beatdiv), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:1048:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1048 | glVertex2f(1, SEQUENCER_Y+j*SEQUENCER_CELLHEIGHT); | ^ pattern.c:704:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 704 | draw_button(14, DS_HEIGHT-14, 16, "<<", patt_ui[B_PREV]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1049:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1049 | glVertex2f(SEQUENCER_X-1, SEQUENCER_Y+j*SEQUENCER_CELLHEIGHT); | ^ pattern.c:707:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | draw_button(64, DS_HEIGHT-14, 16, ">>", patt_ui[B_NEXT]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1050:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1050 | glVertex2f(SEQUENCER_X-1, SEQUENCER_Y+(j+1)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:709:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 709 | draw_button(98, DS_HEIGHT-14, 16, "<<", patt_ui[B_SHORTER]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1051:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1051 | glVertex2f(1, SEQUENCER_Y+(j+1)*SEQUENCER_CELLHEIGHT); | ^ pattern.c:712:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 712 | draw_button(180, DS_HEIGHT-14, 16, ">>", patt_ui[B_LONGER]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1054:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1054 | render_text("mod", 5, SEQUENCER_Y+10.5+SEQUENCER_CELLHEIGHT*(seqch+2), 2, 0xffc0c0c0, 0); | ^ pattern.c:714:41: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 714 | draw_button(12, PIANOROLL_Y+15.5, 16, "DN", patt_ui[B_OCTDN]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:715:41: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 715 | draw_button(32, PIANOROLL_Y+15.5, 16, "UP", patt_ui[B_OCTUP]); | ^~~~ main.c: In function 'audio_playback': widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ main.c:222:7: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 222 | void *audio_playback(void *param) | ^~~~~~~~~~~~~~ sequencer.c:1057:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1057 | draw_hslider(SEQUENCER_X, SEQUENCER_Y+(seqch+5)*SEQUENCER_CELLHEIGHT, (DS_WIDTH-(SEQUENCER_X+6)), 12, | ^ pattern.c:717:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 717 | draw_button(214, DS_HEIGHT-14, 16, "<<", patt_ui[B_PREVSYN]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1058:4: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1058 | seq_start, (DS_WIDTH-(SEQUENCER_X+4))/SEQUENCER_CELLWIDTH, seqsonglen, seqslide_hover); | ^~~~~~~~~ main.c: In function 'audio_renderer': main.c:233:7: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 233 | void *audio_renderer(void *param) | ^~~~~~~~~~~~~~ pattern.c:720:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 720 | draw_button(430, DS_HEIGHT-14, 16, ">>", patt_ui[B_NEXTSYN]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1058:63: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1058 | seq_start, (DS_WIDTH-(SEQUENCER_X+4))/SEQUENCER_CELLWIDTH, seqsonglen, seqslide_hover); | ^~~~~~~~~~ pattern.c:722:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 722 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); | ^ pattern.c:722:9: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 722 | ticks=playpos / (OUTPUTFREQ/(bpm*256/60)); | ^~~~~~~ sequencer.c:1062:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1062 | draw_button(440, DS_HEIGHT-14, 16, "A", seq_ui[B_REWIND]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:730:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 730 | draw_button(555, DS_HEIGHT-14, 16, "X", patt_ui[B_PATTCLEAR]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1063:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1063 | draw_button(462, DS_HEIGHT-14, 16, "C", seq_ui[B_CLEAR]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ pattern.c:732:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 732 | draw_button(622, DS_HEIGHT-14, 16, "C", patt_ui[B_COPY]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1064:43: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1064 | draw_textbox(526, DS_HEIGHT-14, 16, 48, "play", seq_ui[B_SEQPLAY]); | ^~~~~~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ pattern.c:733:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 733 | draw_button(644, DS_HEIGHT-14, 16, "V", patt_ui[B_PASTE]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1065:43: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1065 | draw_textbox(578, DS_HEIGHT-14, 16, 48, "render", seq_ui[B_RENDER]); | ^~~~~~~~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1079:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1079 | draw_button(14, DS_HEIGHT-14, 16, "<<", seq_ui[B_DECCH]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ main.c: In function 'cleanup': main.c:322:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 322 | void cleanup(void) | ^~~~~~~ sequencer.c:1082:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1082 | draw_button(80, DS_HEIGHT-14, 16, ">>", seq_ui[B_ADDCH]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1087:39: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1087 | draw_button(222, DS_HEIGHT-14, 16, "<<", seq_ui[B_SSHORTER]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1090:39: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1090 | draw_button(304, DS_HEIGHT-14, 16, ">>", seq_ui[B_SLONGER]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ In file included from widgets.h:20, from widgets.c:14: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from font.h:16, from widgets.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:1092:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1092 | draw_button(350, DS_HEIGHT-14, 16, "S", seq_ui[B_SAVE_SONG]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1093:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1093 | draw_button(372, DS_HEIGHT-14, 16, "L", seq_ui[B_LOAD_SONG]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1095:43: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1095 | draw_textbox(630, DS_HEIGHT-14, 16, 48, "loop", seq_ui[B_LOOP] | (render_live_loop ? 2 : 0)); | ^~~~~~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1097:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1097 | draw_button(394, DS_HEIGHT-14, 16, "N", seq_ui[B_NEWSONG]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c: In function 'sequencer_draw_pattern': sequencer.c:1114:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1114 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 150, 240, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1122:54: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1122 | draw_button((DS_WIDTH/2)-16, (DS_HEIGHT/2)-30, 16, ">>", seq_ui[B_PATT_ADDNUM]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1123:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1123 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)-30, 16, "<<", seq_ui[B_PATT_DECNUM]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1128:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1128 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)-30, 16, ">>", seq_ui[B_PATT_ADDREP]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1129:54: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1129 | draw_button((DS_WIDTH/2)+16, (DS_HEIGHT/2)-30, 16, "<<", seq_ui[B_PATT_DECREP]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1134:54: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1134 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)-4, 16, ">>", seq_ui[B_PATT_ADDTRANS]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1135:53: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1135 | draw_button((DS_WIDTH/2)-16, (DS_HEIGHT/2)-4, 16, "<<", seq_ui[B_PATT_DECTRANS]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1140:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1140 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)+32, 16, ">>", seq_ui[B_PATT_NEXTPATCH]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1141:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1141 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)+32, 16, "<<", seq_ui[B_PATT_PREVPATCH]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c: In function 'sequencer_pattern_hover': sequencer.c:1150:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1150 | seq_ui[B_PATT_ADDNUM]=hovertest_box(x, y, (DS_WIDTH/2)-16, (DS_HEIGHT/2)-30, 16, 16); | ^ sequencer.c:1150:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1150 | seq_ui[B_PATT_ADDNUM]=hovertest_box(x, y, (DS_WIDTH/2)-16, (DS_HEIGHT/2)-30, 16, 16); | ^ sequencer.c:1151:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1151 | seq_ui[B_PATT_DECNUM]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-30, 16, 16); | ^ sequencer.c:1151:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1151 | seq_ui[B_PATT_DECNUM]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-30, 16, 16); | ^ sequencer.c:1152:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1152 | seq_ui[B_PATT_ADDREP]=hovertest_box(x, y,(DS_WIDTH/2)+102, (DS_HEIGHT/2)-30, 16, 16); | ^ In file included from synthesizer.h:23, from patch.h:21: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from audio.h:16, from synthesizer.h:24: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:1152:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1152 | seq_ui[B_PATT_ADDREP]=hovertest_box(x, y,(DS_WIDTH/2)+102, (DS_HEIGHT/2)-30, 16, 16); | ^ audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ In file included from pattern.h:17, from buffermm.h:17, from synthesizer.h:25: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ In file included from console.h:16, from pattern.h:19: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:1153:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1153 | seq_ui[B_PATT_DECREP]=hovertest_box(x, y,(DS_WIDTH/2)+16, (DS_HEIGHT/2)-30, 16, 16); | ^ In file included from widgets.h:20, from pattern.h:22: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:1153:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1153 | seq_ui[B_PATT_DECREP]=hovertest_box(x, y,(DS_WIDTH/2)+16, (DS_HEIGHT/2)-30, 16, 16); | ^ sequencer.c:1154:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1154 | seq_ui[B_PATT_ADDTRANS]=hovertest_box(x, y,(DS_WIDTH/2)+102, (DS_HEIGHT/2)-4, 16, 16); | ^ In file included from synthesizer.h:29: dotfile.h:16:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 16 | int dotfile_load(); | ^~~ filedialog.c: In function 'filedialog_click': dotfile.h:17:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 17 | int dotfile_save(); | ^~~ sequencer.c:1154:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1154 | seq_ui[B_PATT_ADDTRANS]=hovertest_box(x, y,(DS_WIDTH/2)+102, (DS_HEIGHT/2)-4, 16, 16); | ^ filedialog.c:203:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 203 | strncpy(ttmps, fd->g.gl_pathv[fd->sliderpos+fd->listhover], strlen(fd->g.gl_pathv[fd->sliderpos+fd->listhover])-1); | ^ filedialog.c:203:69: note: length computed here 203 | strncpy(ttmps, fd->g.gl_pathv[fd->sliderpos+fd->listhover], strlen(fd->g.gl_pathv[fd->sliderpos+fd->listhover])-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filedialog.c:205:9: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 205 | strncpy(tmps, rindex(ttmps, '/')+1, 255); | ^ sequencer.c:1155:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1155 | seq_ui[B_PATT_DECTRANS]=hovertest_box(x, y,(DS_WIDTH/2)-16, (DS_HEIGHT/2)-4, 16, 16); | ^ filedialog.c:226:9: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 226 | strncpy(fd->fname, strrchr(fd->g.gl_pathv[fd->sliderpos+fd->listhover], '/')+1, 255); | ^ filedialog.c:180:7: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-truncation] 180 | strncat(fd->fullpath, fd->fmask+1, 512); | ^ sequencer.c:1155:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1155 | seq_ui[B_PATT_DECTRANS]=hovertest_box(x, y,(DS_WIDTH/2)-16, (DS_HEIGHT/2)-4, 16, 16); | ^ sequencer.c:1156:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1156 | seq_ui[B_PATT_ADD]=hovertest_box(x, y,(DS_WIDTH/2)+40, (DS_HEIGHT/2)+60, 16, 100); | ^ sequencer.c:1156:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1156 | seq_ui[B_PATT_ADD]=hovertest_box(x, y,(DS_WIDTH/2)+40, (DS_HEIGHT/2)+60, 16, 100); | ^ sequencer.c:1157:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1157 | seq_ui[B_PATT_NEXTPATCH]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)+32, 16, 16); | ^ In file included from filedialog.h:22, from synthesizer.h:30: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ sequencer.c:1157:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1157 | seq_ui[B_PATT_NEXTPATCH]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)+32, 16, 16); | ^ synthesizer.h:84:6: warning: redundant redeclaration of 'synth_stackify' [-Wredundant-decls] 84 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ sequencer.c:1158:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1158 | seq_ui[B_PATT_PREVPATCH]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)+32, 16, 16); | ^ In file included from fileops.c:18: fileops.h:62:6: note: previous declaration of 'synth_stackify' with type 'void(int)' 62 | void synth_stackify(int syn); | ^~~~~~~~~~~~~~ synthesizer.h:85:5: warning: redundant redeclaration of 'synth_trace' [-Wredundant-decls] 85 | int synth_trace(int syn, int pm, int fifo); | ^~~~~~~~~~~ fileops.h:63:5: note: previous declaration of 'synth_trace' with type 'int(int, int, int)' 63 | int synth_trace(int syn, int pm, int top); | ^~~~~~~~~~~ sequencer.c:1158:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1158 | seq_ui[B_PATT_PREVPATCH]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)+32, 16, 16); | ^ sequencer.c: In function 'sequencer_pattern_click': sequencer.c:1166:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1166 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ fileops.c: In function 'load_ksong': In function 'strncat', inlined from 'filedialog_click' at filedialog.c:177:5: fileops.c:86:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 86 | r=fread(&cpat, sizeof(int), 1, f); | ^~~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'filedialog_click' at filedialog.c:180:7: /usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:1166:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1166 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ fileops.c:91:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 91 | r=fread(&csyn, sizeof(int), 1, f); | ^~~~~ fileops.c:63:10: warning: variable 'r' set but not used [-Wunused-but-set-variable] 63 | int i, r, cpat, csyn; | ^ fileops.c: In function 'save_ksong': fileops.c:124:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 124 | for(n=0,i=0;itype], x+1, round(y+(MODULE_SIZE/5))+1, 2, 0xff000000, 1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ widgets.c:52:50: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 52 | render_text((char*)modTypeNames[s->type], x, round(y+(MODULE_SIZE/5)), 2, 0xffffffff, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ fileops.c: In function 'load_chunk_kbnk': fileops.c:245:27: warning: passing argument 2 of 'load_chunk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | chunkdata=load_chunk(f, "KBNK"); | ^~~~~~ fileops.h:55:33: note: expected 'char *' but argument is of type 'const char *' 55 | void* load_chunk(FILE *f, char *chunktype); | ~~~~~~^~~~~~~~~ sequencer.c:1201:63: warning: unused parameter 'y' [-Wunused-parameter] 1201 | void sequencer_pattern_keyboard(unsigned char key, int x, int y) | ~~~~^ sequencer.c: In function 'sequencer_draw_channel': fileops.c:253:12: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 253 | for(p=0;plabel, x+1, round(y+(MODULE_SIZE/3)+5), 2, 0xff000000, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fileops.c:254:16: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 254 | fpos=8 + p * (128 + 3*sl*4); | ^ widgets.c:70:32: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 70 | render_text(s->label, x, round(y+(MODULE_SIZE/3)+4), 2, 0xffffffff, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fileops.c:254:10: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 254 | fpos=8 + p * (128 + 3*sl*4); | ^ widgets.c:72:54: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 72 | render_text((char*)modTypeNames[s->type], x+1, round(y+(MODULE_SIZE/3)+5), 2, 0xff000000, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:1224:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1224 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 160, 240, "", 0); | ^~ widgets.c:73:52: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 73 | render_text((char*)modTypeNames[s->type], x, round(y+(MODULE_SIZE/3)+4), 2, 0xffffffff, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ fileops.c:257:55: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 257 | memcpy(&modvalue[syn][p], &chunkdata[fpos+128+sl*4], sl*4); | ^ widgets.c:83:72: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 83 | (char*)modInputNames[type][i], node_labelpos[modInputCount[type]][i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ fileops.c:258:55: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 258 | memcpy(&modquantifier[syn][p], &chunkdata[fpos+128+sl*8], sl*4); | ^ widgets.c:89:63: warning: passing argument 4 of 'draw_signal_node' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | draw_signal_node(x+MODULE_HALF+0.5, y+OUTPUT_OFFSET, 3, "Out", 1); | ^~~~~ widgets.h:29:57: note: expected 'char *' but argument is of type 'const char *' 29 | void draw_signal_node(float x, float y, int type, char* label, int align); | ~~~~~~^~~~~ fileops.c: In function 'load_chunk_kpat': fileops.c:270:27: warning: passing argument 2 of 'load_chunk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 270 | chunkdata=load_chunk(f, "KPAT"); | ^~~~~~ fileops.h:55:33: note: expected 'char *' but argument is of type 'const char *' 55 | void* load_chunk(FILE *f, char *chunktype); | ~~~~~~^~~~~~~~~ widgets.c:91:63: warning: passing argument 4 of 'draw_signal_node' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | draw_signal_node(x+MODULE_HALF+0.5, y+OUTPUT_OFFSET, 1, "Out", 1); | ^~~~~ widgets.h:29:57: note: expected 'char *' but argument is of type 'const char *' 29 | void draw_signal_node(float x, float y, int type, char* label, int align); | ~~~~~~^~~~~ fileops.c: In function 'load_chunk_kseq': sequencer.c:1232:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1232 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)-36, 16, ">>", seq_ui[B_CHAN_NEXTSYNTH]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ fileops.c:287:27: warning: passing argument 2 of 'load_chunk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 287 | chunkdata=load_chunk(f, "KSEQ"); | ^~~~~~ fileops.h:55:33: note: expected 'char *' but argument is of type 'const char *' 55 | void* load_chunk(FILE *f, char *chunktype); | ~~~~~~^~~~~~~~~ widgets.c: In function 'draw_signal_node': widgets.c:119:18: warning: conversion from 'double' to 'GLfloat' {aka 'float'} may change value [-Wfloat-conversion] 119 | glVertex3f(x + cos(f*2*M_PI)*(r*0.75), y + sin(f*2*M_PI)*(r*0.75), 0.0f); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ widgets.c:119:46: warning: conversion from 'double' to 'GLfloat' {aka 'float'} may change value [-Wfloat-conversion] 119 | glVertex3f(x + cos(f*2*M_PI)*(r*0.75), y + sin(f*2*M_PI)*(r*0.75), 0.0f); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ fileops.c:294:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 294 | memcpy(seq_synth, &chunkdata[12], 4*seqch); | ~^~~~~~ sequencer.c:1233:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1233 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, "<<", seq_ui[B_CHAN_PREVSYNTH]); | ^~~~ fileops.c:300:11: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 300 | filepos=12 + 4*seqch; | ^~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ fileops.c:301:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 301 | for(i=0;i=0) { if (signalfifo[syn][m]>mm) mm=signalfifo[syn][m]; m++; } | ^ fileops.c:374:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 374 | while(signalfifo[syn][m]>=0) { if (signalfifo[syn][m]>mm) mm=signalfifo[syn][m]; m++; } | ^~~~~~~~~~ sequencer.c:1244:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1244 | seq_ui[B_CHAN_PREVSYNTH]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, 16); | ^ sequencer.c:1244:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1244 | seq_ui[B_CHAN_PREVSYNTH]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, 16); | ^ fileops.c: In function 'save_chunk_kpat': fileops.c:411:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 411 | r=fwrite("KPAT", sizeof(char), 4, f); | ^~~~~~ sequencer.c:1246:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1246 | seq_ui[B_ENVRESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)-8, 8, 180); | ^ fileops.c:413:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 413 | r=fwrite(&chunklen, sizeof(unsigned int), 1, f); | ^~~~~~ fileops.c:415:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 415 | r=fwrite(&pattlen[patt], sizeof(unsigned int), 1, f); | ^~~~~~ sequencer.c:1246:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1246 | seq_ui[B_ENVRESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)-8, 8, 180); | ^ fileops.c:417:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 417 | r=fwrite(&pattdata[patt], sizeof(unsigned int), pattlen[patt]*16, f); | ^~~~~~ fileops.c: In function 'save_chunk_kseq': fileops.c:429:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 429 | chunklen=12 + 4*seqch + 4*seqch*seqsonglen*4; | ^~ fileops.c:430:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 430 | r=fwrite("KSEQ", sizeof(char), 4, f); | ^~~~~~ sequencer.c:1248:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1248 | seq_ui[B_VCORESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)+4, 8, 180); | ^ fileops.c:431:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 431 | r=fwrite(&chunklen, sizeof(unsigned int), 1, f); | ^~~~~~ fileops.c:433:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 433 | r=fwrite(&seqch, sizeof(unsigned int), 1, f); | ^~~~~~ sequencer.c:1248:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1248 | seq_ui[B_VCORESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)+4, 8, 180); | ^ fileops.c:434:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 434 | r=fwrite(&seqsonglen, sizeof(unsigned int), 1, f); | ^~~~~~ In file included from audio.h:16, from synthesizer.h:24: arch.h:15:5: warning: "__x86_64__" is not defined, evaluates to 0 [-Wundef] 15 | #if __x86_64__ | ^~~~~~~~~~ fileops.c:435:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 435 | r=fwrite(&bpm, sizeof(unsigned int), 1, f); | ^~~~~~ widgets.c: In function 'draw_kboct': audio.h:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | int audio_exportwav(); //char *filename); | ^~~ fileops.c:438:45: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 438 | r=fwrite(seq_synth, sizeof(unsigned int), seqch, f); | ^~~~~ sequencer.c:1250:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1250 | seq_ui[B_LFORESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)+20, 8, 180); | ^ widgets.c:455:22: warning: conversion from 'int' to 'float' may change value [-Wconversion] 455 | glVertex2f(2, y-j*kh); glVertex2f(2+kw, y-j*kh); | ^ fileops.c:438:5: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 438 | r=fwrite(seq_synth, sizeof(unsigned int), seqch, f); | ^~~~~~ widgets.c:455:48: warning: conversion from 'int' to 'float' may change value [-Wconversion] 455 | glVertex2f(2, y-j*kh); glVertex2f(2+kw, y-j*kh); | ^ widgets.c:456:29: warning: conversion from 'int' to 'float' may change value [-Wconversion] 456 | glVertex2f(2+kw, y-(j+1)*kh); glVertex2f(2, y-(j+1)*kh); | ^ sequencer.c:1250:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1250 | seq_ui[B_LFORESTART]=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)+20, 8, 180); | ^ fileops.c:441:73: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | for(i=0;ix + node_xoffset[ modInputCount[mod->type] ][ n ]); | ^ synthesizer.c:197:10: warning: conversion from 'int' to 'float' may change value [-Wconversion] 197 | yd=y - (mod->y + node_yoffset[ modInputCount[mod->type] ][ n ]); | ^ synthesizer.c:198:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 198 | d=sqrt(xd*xd + yd*yd); | ^~~~ sequencer.c:1632:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1632 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)-36, 16, ">>", seq_ui[B_BPM_INC]); | ^~~~ synthesizer.c: At top level: widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:240:6: warning: no previous prototype for 'synth_open_addmodule' [-Wmissing-prototypes] 240 | void synth_open_addmodule(void) | ^~~~~~~~~~~~~~~~~~~~ synthesizer.c: In function 'synth_open_addmodule': synthesizer.c:252:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 252 | tmpmod[m].x=(DS_WIDTH/2)-222 + m*74; | ^ synthesizer.c:255:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 255 | tmpmod[m].x=(DS_WIDTH/2)-222 + (m-7)*74; | ^ synthesizer.c:259:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 259 | tmpmod[m].x=(DS_WIDTH/2)-222 + (m-14)*74; | ^ sequencer.c:1633:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1633 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, "<<", seq_ui[B_BPM_DEC]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:266:15: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 266 | dialog_open(&synth_draw_addmodule, &synth_addmodule_hover, synth_addmodule_click); | ^~~~~~~~~~~~~~~~~~~~~ In file included from synthesizer.h:28: dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ synthesizer.c:266:38: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 266 | dialog_open(&synth_draw_addmodule, &synth_addmodule_hover, synth_addmodule_click); | ^~~~~~~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:266:62: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 266 | dialog_open(&synth_draw_addmodule, &synth_addmodule_hover, synth_addmodule_click); | ^~~~~~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:267:23: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 267 | dialog_bindkeyboard(&synth_addmodule_keyboard); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ synthesizer.c: In function 'synth_mouse_hover': sequencer.c:1638:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1638 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)-16, 16, ">>", seq_ui[B_TIME_INC]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:285:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 285 | synth_ui[B_PREV]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:285:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 285 | synth_ui[B_PREV]=hovertest_box(x, y, 14, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:286:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 286 | synth_ui[B_NEXT]=hovertest_box(x, y, 64, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:286:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 286 | synth_ui[B_NEXT]=hovertest_box(x, y, 64, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:287:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 287 | synth_ui[B_ADD]=hovertest_box (x, y, 310, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:287:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 287 | synth_ui[B_ADD]=hovertest_box (x, y, 310, DS_HEIGHT-14, 16, 16); | ^ sequencer.c:1639:55: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1639 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)-16, 16, "<<", seq_ui[B_TIME_DEC]); | ^~~~ synthesizer.c:288:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 288 | synth_ui[B_SAVE]=hovertest_box(x, y, 350, DS_HEIGHT-14, 16, 16); | ^ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:288:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 288 | synth_ui[B_SAVE]=hovertest_box(x, y, 350, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:289:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 289 | synth_ui[B_LOAD]=hovertest_box(x, y, 372, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:289:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 289 | synth_ui[B_LOAD]=hovertest_box(x, y, 372, DS_HEIGHT-14, 16, 16); | ^ synthesizer.c:290:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 290 | synth_ui[B_CLEAR]=hovertest_box(x, y, 394, DS_HEIGHT-14, 16, 16) | (synth_ui[B_CLEAR]&8); | ^ synthesizer.c:290:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 290 | synth_ui[B_CLEAR]=hovertest_box(x, y, 394, DS_HEIGHT-14, 16, 16) | (synth_ui[B_CLEAR]&8); | ^ synthesizer.c:294:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 294 | synth_ui[B_NAME]|=hovertest_box(x, y, 190, DS_HEIGHT-14, 16, 180); | ^ sequencer.c:1641:3: warning: switch missing default case [-Wswitch-default] 1641 | switch (beatdiv) { | ^~~~~~ synthesizer.c:294:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 294 | synth_ui[B_NAME]|=hovertest_box(x, y, 190, DS_HEIGHT-14, 16, 180); | ^ synthesizer.c: In function 'synth_mouse_drag': sequencer.c:1649:54: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1649 | draw_button((DS_WIDTH/2)+102, (DS_HEIGHT/2)+4, 16, ">>", seq_ui[B_DIV_INC]); | ^~~~ synthesizer.c:333:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 333 | mod[csynth][moduledrag].x=x-dragoffset_x; | ^ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:334:31: warning: conversion from 'int' to 'float' may change value [-Wconversion] 334 | mod[csynth][moduledrag].y=y-dragoffset_y; | ^ sequencer.c:1650:54: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1650 | draw_button((DS_WIDTH/2)-102, (DS_HEIGHT/2)+4, 16, "<<", seq_ui[B_DIV_DEC]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c: In function 'synth_mouse_click': sequencer.c: In function 'sequencer_bpm_hover': synthesizer.c:375:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | console_post("Click again to clear synthesizer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ filedialog.c: In function 'filedialog_keyboard': filedialog.c:250:7: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-truncation] 250 | strncat(fd->fullpath, fd->fmask+1, 512); | ^ synthesizer.c:418:33: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 418 | syndir=dotfile_getvalue("synthFileDir"); | ^~~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:1657:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1657 | bpm_kbfocus|=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)-36, 16, 180); | ^ synthesizer.c:419:39: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | filedialog_open(&fd[FD_SAVE], "ksyn", syndir); | ^~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ synthesizer.c:421:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 421 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ synthesizer.c:421:39: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 421 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:1657:33: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1657 | bpm_kbfocus|=hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2)-36, 16, 180); | ^ synthesizer.c:421:58: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 421 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:422:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 422 | dialog_bindkeyboard(&synth_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ In function 'strncat', inlined from 'filedialog_keyboard' at filedialog.c:247:5: synthesizer.c:423:25: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 423 | dialog_binddrag(&synth_file_drag); | ^~~~~~~~~~~~~~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ In function 'strncat', inlined from 'filedialog_keyboard' at filedialog.c:250:7: /usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ sequencer.c:1658:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1658 | seq_ui[B_BPM_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)-36, 16, 16); | ^ synthesizer.c:427:33: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 427 | syndir=dotfile_getvalue("synthFileDir"); | ^~~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ synthesizer.c:428:39: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 428 | filedialog_open(&fd[FD_LOAD], "ksyn", syndir); | ^~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ synthesizer.c:430:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 430 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:1658:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1658 | seq_ui[B_BPM_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)-36, 16, 16); | ^ synthesizer.c:430:39: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 430 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:430:58: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 430 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:431:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 431 | dialog_bindkeyboard(&synth_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ synthesizer.c:432:25: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 432 | dialog_binddrag(&synth_file_drag); | ^~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:1659:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1659 | seq_ui[B_BPM_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, 16); | ^ synthesizer.c:456:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 456 | dragoffset_x=x-mod[csynth][m].x; | ^ synthesizer.c:456:22: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 456 | dragoffset_x=x-mod[csynth][m].x; | ^ sequencer.c:1659:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1659 | seq_ui[B_BPM_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-36, 16, 16); | ^ synthesizer.c:457:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] 457 | dragoffset_y=y-mod[csynth][m].y; | ^ synthesizer.c:457:22: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] 457 | dragoffset_y=y-mod[csynth][m].y; | ^ sequencer.c:1660:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1660 | seq_ui[B_TIME_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)-16, 16, 16); | ^ synthesizer.c:483:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 483 | mod[csynth][signaldrag].scale=modInputScale[mod[csynth][m].type][mod[csynth][m].inpactive]; | ^~~~~~~~~~~~~ synthesizer.c:502:21: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&synthlabel_draw, &synthlabel_hover, &synthlabel_click); | ^~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:1660:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1660 | seq_ui[B_TIME_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)-16, 16, 16); | ^ synthesizer.c:502:39: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&synthlabel_draw, &synthlabel_hover, &synthlabel_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:502:58: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 502 | dialog_open(&synthlabel_draw, &synthlabel_hover, &synthlabel_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:503:29: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 503 | dialog_bindkeyboard(&synthlabel_keyboard); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:1661:36: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1661 | seq_ui[B_TIME_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-16, 16, 16); | ^ synthesizer.c: In function 'synth_keyboard': synthesizer.c:527:29: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 527 | syndir=dotfile_getvalue("synthFileDir"); | ^~~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ sequencer.c:1661:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1661 | seq_ui[B_TIME_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)-16, 16, 16); | ^ synthesizer.c:528:35: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 528 | filedialog_open(&fd[FD_SAVE], "ksyn", syndir); | ^~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ synthesizer.c:530:17: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 530 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ synthesizer.c:530:35: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 530 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ sequencer.c:1662:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1662 | seq_ui[B_DIV_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)+4, 16, 16); | ^ synthesizer.c:530:54: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 530 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:531:25: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 531 | dialog_bindkeyboard(&synth_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ synthesizer.c:532:21: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 532 | dialog_binddrag(&synth_file_drag); | ^~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ sequencer.c:1662:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1662 | seq_ui[B_DIV_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, (DS_HEIGHT/2)+4, 16, 16); | ^ synthesizer.c:537:29: warning: passing argument 1 of 'dotfile_getvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 537 | syndir=dotfile_getvalue("synthFileDir"); | ^~~~~~~~~~~~~~ dotfile.h:18:30: note: expected 'char *' but argument is of type 'const char *' 18 | char *dotfile_getvalue(char *key); | ~~~~~~^~~ synthesizer.c:538:35: warning: passing argument 2 of 'filedialog_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 538 | filedialog_open(&fd[FD_LOAD], "ksyn", syndir); | ^~~~~~ filedialog.h:58:44: note: expected 'char *' but argument is of type 'const char *' 58 | void filedialog_open(filedialog *fd, char *ext, char *path); | ~~~~~~^~~ synthesizer.c:540:17: warning: ISO C forbids passing argument 1 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 540 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~ dialog.h:22:24: note: expected 'void *' but argument is of type 'void (*)(void)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~ sequencer.c:1663:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1663 | seq_ui[B_DIV_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)+4, 16, 16); | ^ synthesizer.c:540:35: warning: ISO C forbids passing argument 2 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 540 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:36: note: expected 'void *' but argument is of type 'void (*)(int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:540:54: warning: ISO C forbids passing argument 3 of 'dialog_open' between function pointer and 'void *' [-Wpedantic] 540 | dialog_open(&synth_draw_file, &synth_file_hover, &synth_file_click); | ^~~~~~~~~~~~~~~~~ dialog.h:22:49: note: expected 'void *' but argument is of type 'void (*)(int, int, int, int)' 22 | void dialog_open(void *draw, void *hover, void *click); | ~~~~~~^~~~~ synthesizer.c:541:25: warning: ISO C forbids passing argument 1 of 'dialog_bindkeyboard' between function pointer and 'void *' [-Wpedantic] 541 | dialog_bindkeyboard(&synth_file_keyboard); | ^~~~~~~~~~~~~~~~~~~~ dialog.h:23:32: note: expected 'void *' but argument is of type 'void (*)(unsigned char, int, int)' 23 | void dialog_bindkeyboard(void *kbfunc); | ~~~~~~^~~~~~ sequencer.c:1663:38: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1663 | seq_ui[B_DIV_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, (DS_HEIGHT/2)+4, 16, 16); | ^ sequencer.c: In function 'sequencer_bpm_click': synthesizer.c:542:21: warning: ISO C forbids passing argument 1 of 'dialog_binddrag' between function pointer and 'void *' [-Wpedantic] 542 | dialog_binddrag(&synth_file_drag); | ^~~~~~~~~~~~~~~~ dialog.h:31:28: note: expected 'void *' but argument is of type 'void (*)(int, int)' 31 | void dialog_binddrag(void *dragfunc); | ~~~~~~^~~~~~~~ synthesizer.c:514:44: warning: unused parameter 'x' [-Wunused-parameter] 514 | void synth_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:514:51: warning: unused parameter 'y' [-Wunused-parameter] 514 | void synth_keyboard(unsigned char key, int x, int y) | ~~~~^ sequencer.c:1669:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1669 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ synthesizer.c: In function 'synth_specialkey': synthesizer.c:555:3: warning: switch missing default case [-Wswitch-default] 555 | switch(key) | ^~~~~~ synthesizer.c:553:46: warning: unused parameter 'x' [-Wunused-parameter] 553 | void synth_specialkey(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:553:53: warning: unused parameter 'y' [-Wunused-parameter] 553 | void synth_specialkey(unsigned char key, int x, int y) | ~~~~^ sequencer.c:1669:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1669 | if (state==GLUT_DOWN && !hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ sequencer.c:1694:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1694 | if (beats_per_measure < 16) beats_per_measure++; return; | ^~ synthesizer.c: In function 'synth_draw': synthesizer.c:624:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 624 | draw_button(14, DS_HEIGHT-14, 16, "<<", synth_ui[B_PREV]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ widgets.c: In function 'draw_kboct': sequencer.c:1694:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1694 | if (beats_per_measure < 16) beats_per_measure++; return; | ^~~~~~ widgets.c:484:14: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] 484 | ckey+=bkj[i]; | ~~~^~~ synthesizer.c:627:37: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 627 | draw_button(64, DS_HEIGHT-14, 16, ">>", synth_ui[B_NEXT]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ widgets.c:466:12: note: within this loop 466 | for(i=0;i<5;i++) { // black keys | ~^~ synthesizer.c:629:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 629 | draw_button(310, DS_HEIGHT-14, 16, "m", synth_ui[B_ADD]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1697:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1697 | if (beats_per_measure > 1) beats_per_measure--; return; | ^~ synthesizer.c:630:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 630 | draw_button(350, DS_HEIGHT-14, 16, "S", synth_ui[B_SAVE]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:631:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 631 | draw_button(372, DS_HEIGHT-14, 16, "L", synth_ui[B_LOAD]); | ^~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:633:38: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 633 | draw_button(394, DS_HEIGHT-14, 16, "C", synth_ui[B_CLEAR]); | ^~~ sequencer.c:1697:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1697 | if (beats_per_measure > 1) beats_per_measure--; return; | ^~~~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c: In function 'synth_addmodule': sequencer.c:1711:50: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1711 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ synthesizer.c:662:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] 662 | xd=(DS_WIDTH/10)*i - mod[csynth][k].x; | ^ synthesizer.c:663:35: warning: conversion from 'int' to 'float' may change value [-Wconversion] 663 | yd=(DS_HEIGHT/10)*j - mod[csynth][k].y; | ^ sequencer.c:1711:52: warning: conversion from 'int' to 'float' may change value [-Wconversion] 1711 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ synthesizer.c:664:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 664 | d=sqrt(xd*xd+yd*yd); | ^~~~ sequencer.c: In function 'sequencer_bpm_keyboard': synthesizer.c:671:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 671 | mod[csynth][m].x=bmi; | ^~~ synthesizer.c:672:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] 672 | mod[csynth][m].y=bmj; | ^~~ sequencer.c:1718:52: warning: unused parameter 'x' [-Wunused-parameter] 1718 | void sequencer_bpm_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c: In function 'synth_draw_addmodule': synthesizer.c:704:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 704 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 260, 526, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ sequencer.c:1718:59: warning: unused parameter 'y' [-Wunused-parameter] 1718 | void sequencer_bpm_keyboard(unsigned char key, int x, int y) | ~~~~^ sequencer.c: At top level: synthesizer.c: In function 'synth_addmodule_click': sequencer.c:1745:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1745 | void sequencer_bpm_close_dialog() { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ synthesizer.c:732:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 732 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 260, 526)) { dialog_close(); return; } | ^ sequencer.c: In function 'sequencer_bpm_close_dialog': sequencer.c:1745:6: warning: old-style function definition [-Wold-style-definition] widgets.c: In function 'draw_kbhoct': synthesizer.c:732:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 732 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 260, 526)) { dialog_close(); return; } | ^ widgets.c:560:14: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] 560 | ckey+=bkj[i]; | ~~~^~~ synthesizer.c:734:50: warning: conversion from 'int' to 'float' may change value [-Wconversion] 734 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),260,526)) { | ^ widgets.c:531:12: note: within this loop 531 | for(i=0;i<5;i++) { // black keys | ~^~ synthesizer.c:734:52: warning: conversion from 'int' to 'float' may change value [-Wconversion] 734 | if (button==GLUT_RIGHT_BUTTON && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),260,526)) { | ^ synthesizer.c: In function 'synth_addmodule_keyboard': synthesizer.c:747:54: warning: unused parameter 'x' [-Wunused-parameter] 747 | void synth_addmodule_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:747:61: warning: unused parameter 'y' [-Wunused-parameter] 747 | void synth_addmodule_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c: In function 'synth_file_keyboard': synthesizer.c:770:49: warning: unused parameter 'x' [-Wunused-parameter] 770 | void synth_file_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:770:56: warning: unused parameter 'y' [-Wunused-parameter] 770 | void synth_file_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c: In function 'synth_file_checkstate': synthesizer.c:796:35: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 796 | if (r) { console_post("Writing to file failed (KBNK chunk)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:802:26: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 802 | console_post("Writing to file failed (KSYN chunk)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:806:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 806 | console_post("Unable to open file for writing!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:824:28: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 824 | console_post("Reading file failed (KBNK chunk)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:827:26: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 827 | console_post("Readinf file failed (KSYN chunk)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:831:24: warning: passing argument 1 of 'console_post' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 831 | console_post("Unable to open file for reading!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.h:23:25: note: expected 'char *' but argument is of type 'const char *' 23 | void console_post(char *msg); | ~~~~~~^~~ synthesizer.c:837:24: warning: passing argument 1 of 'dotfile_setvalue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 837 | dotfile_setvalue("synthFileDir", (char*)&fd[fd_active].cpath); | ^~~~~~~~~~~~~~ dotfile.h:19:28: note: expected 'char *' but argument is of type 'const char *' 19 | int dotfile_setvalue(char *key, char *value); | ~~~~~~^~~ synthesizer.c: In function 'synthlabel_draw': synthesizer.c:852:55: warning: passing argument 5 of 'draw_textbox' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 852 | draw_textbox((DS_WIDTH/2), (DS_HEIGHT/2), 160, 320, "", 0); | ^~ widgets.h:38:71: note: expected 'char *' but argument is of type 'const char *' 38 | void draw_textbox(float x, float y, float height, float length, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:874:57: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 874 | draw_button((DS_WIDTH/2)+112, (DS_HEIGHT/2)+32, 16, ">>", synth_ui[B_LABEL_INCSCALE]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c:875:57: warning: passing argument 4 of 'draw_button' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 875 | draw_button((DS_WIDTH/2)-52, (DS_HEIGHT/2)+32, 16, "<<", synth_ui[B_LABEL_DECSCALE]); | ^~~~ widgets.h:37:54: note: expected 'char *' but argument is of type 'const char *' 37 | void draw_button(float x, float y, float size, char *label, int type); | ~~~~~~^~~~~ synthesizer.c: In function 'synthlabel_hover': synthesizer.c:888:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 888 | synth_label_kbfocus|=hovertest_box(x, y, (DS_WIDTH/2)+30, (DS_HEIGHT/2)-32, 16, 180); | ^ synthesizer.c:888:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 888 | synth_label_kbfocus|=hovertest_box(x, y, (DS_WIDTH/2)+30, (DS_HEIGHT/2)-32, 16, 180); | ^ synthesizer.c:890:46: warning: conversion from 'int' to 'float' may change value [-Wconversion] 890 | synth_ui[B_LABEL_INCSCALE]=hovertest_box(x, y, (DS_WIDTH/2)+112, (DS_HEIGHT/2)+32, 16, 16); | ^ synthesizer.c:890:49: warning: conversion from 'int' to 'float' may change value [-Wconversion] 890 | synth_ui[B_LABEL_INCSCALE]=hovertest_box(x, y, (DS_WIDTH/2)+112, (DS_HEIGHT/2)+32, 16, 16); | ^ synthesizer.c:891:46: warning: conversion from 'int' to 'float' may change value [-Wconversion] 891 | synth_ui[B_LABEL_DECSCALE]=hovertest_box(x, y, (DS_WIDTH/2)-52, (DS_HEIGHT/2)+32, 16, 16); | ^ synthesizer.c:891:49: warning: conversion from 'int' to 'float' may change value [-Wconversion] 891 | synth_ui[B_LABEL_DECSCALE]=hovertest_box(x, y, (DS_WIDTH/2)-52, (DS_HEIGHT/2)+32, 16, 16); | ^ synthesizer.c:897:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] 897 | synth_ui[B_HUE_PICKER]=hovertest_box(x, y, (DS_WIDTH/2)+21, (DS_HEIGHT/2)+2, 17, 162); | ^ synthesizer.c:897:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 897 | synth_ui[B_HUE_PICKER]=hovertest_box(x, y, (DS_WIDTH/2)+21, (DS_HEIGHT/2)+2, 17, 162); | ^ synthesizer.c:898:44: warning: conversion from 'int' to 'float' may change value [-Wconversion] 898 | synth_ui[B_HUE_PICKER_BOX]=hovertest_box(x, y, (DS_WIDTH/2)+21+81+11, (DS_HEIGHT/2)+2, 17, 18); | ^ synthesizer.c:898:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 898 | synth_ui[B_HUE_PICKER_BOX]=hovertest_box(x, y, (DS_WIDTH/2)+21+81+11, (DS_HEIGHT/2)+2, 17, 18); | ^ synthesizer.c: In function 'synthlabel_click': synthesizer.c:904:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 904 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 160, 320)) { dialog_close(); return; } | ^ synthesizer.c:904:45: warning: conversion from 'int' to 'float' may change value [-Wconversion] 904 | if (state==GLUT_DOWN && !hovertest_box(x, y, (DS_WIDTH/2), (DS_HEIGHT/2), 160, 320)) { dialog_close(); return; } | ^ synthesizer.c:921:60: warning: conversion from 'int' to 'float' may change value [-Wconversion] 921 | float hue=1.0 + 254.0 * ( (x-((DS_WIDTH/2)+21-81) )/162.0); | ^ synthesizer.c:922:45: warning: conversion from 'double' to 'unsigned char' may change value [-Wfloat-conversion] 922 | mod[csynth][synth_label_edit].color=floor(hue); | ^~~~~ synthesizer.c:933:70: warning: conversion from 'int' to 'float' may change value [-Wconversion] 933 | if (button==GLUT_RIGHT_BUTTON && state==GLUT_DOWN && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ synthesizer.c:933:72: warning: conversion from 'int' to 'float' may change value [-Wconversion] 933 | if (button==GLUT_RIGHT_BUTTON && state==GLUT_DOWN && hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) { | ^ synthesizer.c: In function 'synthlabel_keyboard': synthesizer.c:944:49: warning: unused parameter 'x' [-Wunused-parameter] 944 | void synthlabel_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:944:56: warning: unused parameter 'y' [-Wunused-parameter] 944 | void synthlabel_keyboard(unsigned char key, int x, int y) | ~~~~^ synthesizer.c:953:5: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 953 | strncpy(mod[csynth][synth_label_edit].label, synth_label_text, 64); | ^ synthesizer.c: In function 'synthlabel_click': synthesizer.c:934:5: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 934 | strncpy(mod[csynth][synth_label_edit].label, synth_label_text, 64); | ^ synthesizer.c: In function 'synth_init': synthesizer.c:100:11: warning: array subscript 64 is above array bounds of 'synthmodule[64]' [-Warray-bounds] 100 | mod[s][m].outputpos=0; | ~~~~~~^~~ synthesizer.c:52:13: note: while referencing 'mod' 52 | synthmodule mod[MAX_SYNTH][MAX_MODULES]; | ^~~ synthesizer.c: In function 'synth_clear': synthesizer.c:146:12: warning: array subscript 64 is above array bounds of 'synthmodule[64]' [-Warray-bounds] 146 | mod[csyn][m].outputpos=0; | ~~~~~~~~~^~~ synthesizer.c:52:13: note: while referencing 'mod' 52 | synthmodule mod[MAX_SYNTH][MAX_MODULES]; | ^~~ synthesizer.c: In function 'synth_file_checkstate.part.0': synthesizer.c:798:62: warning: '%s' directive writing up to 254 bytes into a region of size 225 [-Wformat-overflow=] 798 | sprintf(tmps, "Synthesizer %s saved to disk as %s", synthname[csynth], fn); | ^~ ~~ In file included from /usr/include/stdio.h:906, from synthesizer.h:18: In function 'sprintf', inlined from 'synth_file_checkstate.part.0' at synthesizer.c:798:15: /usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 31 or more bytes (assuming 285) into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ patch.c: In function 'patch_draw_modulator': patch.c:556:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] 556 | sprintf(tmps, "%02d %s %s", mi, modTypeNames[mod[csynth][mi].type], label); | ^~ ~~~~~ In file included from /usr/include/stdio.h:906, from patch.h:16: In function 'sprintf', inlined from 'patch_draw_modulator' at patch.c:556:3: /usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ patch.c: In function 'patch_draw_modulator': patch.c:556:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] 556 | sprintf(tmps, "%02d %s %s", mi, modTypeNames[mod[csynth][mi].type], label); | ^~ ~~~~~ In function 'sprintf', inlined from 'patch_draw_modulator' at patch.c:556:3: /usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sequencer.c: In function 'sequencer_file_checkstate.part.0': sequencer.c:1574:40: warning: '%s' directive writing up to 254 bytes into a region of size 241 [-Wformat-overflow=] 1574 | sprintf(tmps, "Song saved as %s", fn); | ^~ ~~ In file included from /usr/include/stdio.h:906, from sequencer.h:16: In function 'sprintf', inlined from 'sequencer_file_checkstate.part.0' at sequencer.c:1574:11: /usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 269 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/komposter-0+git20201216+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O3 -fcx-limited-range -ffinite-math-only -fno-math-errno -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fgcse-las -fgcse-sm -fsee -fsingle-precision-constant -fomit-frame-pointer -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -ftracer -fweb -pipe -Werror-implicit-function-declaration -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -frelease -L/usr/local/lib -o komposter about.o audio.o bezier.o buffermm.o console.o dialog.o dotfile.o filedialog.o fileops.o font.o main.o modules.o patch.o pattern.o sequencer.o shader.o synthesizer.o widgets.o -lpthread -lm -lGLU -lGL -lglut -lfreetype -lopenal make[2]: Leaving directory '/build/komposter-0+git20201216+ds' make[1]: Leaving directory '/build/komposter-0+git20201216+ds' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/komposter/ make -j15 install DESTDIR=/build/komposter-0\+git20201216\+ds/debian/komposter AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/komposter-0+git20201216+ds' make[2]: Entering directory '/build/komposter-0+git20201216+ds' make[2]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/komposter-0+git20201216+ds/debian/komposter/usr/bin' /usr/bin/install -c komposter '/build/komposter-0+git20201216+ds/debian/komposter/usr/bin' make[2]: Leaving directory '/build/komposter-0+git20201216+ds' make[1]: Leaving directory '/build/komposter-0+git20201216+ds' dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'komposter' in '../komposter_0+git20201216+ds-2_i386.deb'. dpkg-deb: building package 'komposter-dbgsym' in '../komposter-dbgsym_0+git20201216+ds-2_i386.deb'. dpkg-genbuildinfo --build=binary -O../komposter_0+git20201216+ds-2_i386.buildinfo dpkg-genchanges --build=binary -O../komposter_0+git20201216+ds-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/29982/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/29982/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/29982 and its subdirectories I: Current time: Sat Jun 15 03:48:53 +14 2024 I: pbuilder-time-stamp: 1718372933