mle →
1.3-1 →
armhf → 2018-12-27 07:06:01
sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-02
+==============================================================================+
| mle 1.3-1 (armhf) Thu, 27 Dec 2018 07:03:20 +0000 |
+==============================================================================+
Package: mle
Version: 1.3-1
Source Version: 1.3-1
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-fce3889b-1f56-4f54-b685-51908bd53f6e' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [11.3 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [13.1 MB]
Fetched 24.4 MB in 9s (2748 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Check APT
---------
Checking available source versions...
Download source files with APT
------------------------------
Reading package lists...
NOTICE: 'mle' packaging is maintained in the 'Git' version control system at:
https://github.com/adsr/mle.git
Please use:
git clone https://github.com/adsr/mle.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 88.3 kB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main mle 1.3-1 (dsc) [1796 B]
Get:2 http://172.17.0.1/private buster-staging/main mle 1.3-1 (tar) [84.8 kB]
Get:3 http://172.17.0.1/private buster-staging/main mle 1.3-1 (diff) [1660 B]
Fetched 88.3 kB in 0s (1279 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/mle-jVZqvZ/mle-1.3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/mle-jVZqvZ' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install build-essential |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-BskJog/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-BskJog/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-BskJog/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Packages [432 B]
Fetched 2108 B in 0s (9934 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...
Install core build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ca-certificates dbus dbus-user-session e2fsprogs-l10n krb5-locales libexpat1
libgpg-error-l10n libnss-systemd libpam-systemd libssl1.1 openssl
systemd-sysv
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 49 not upgraded.
Need to get 848 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 848 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 15795 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Check architectures |
+------------------------------------------------------------------------------+
Arch check ok (armhf included in any)
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: debhelper (>= 11), libpcre3-dev, uthash-dev, liblua5.3-dev, libtermbox-dev
Filtered Build-Depends: debhelper (>= 11), libpcre3-dev, uthash-dev, liblua5.3-dev, libtermbox-dev
dpkg-deb: building package 'sbuild-build-depends-mle-dummy' in '/<<BUILDDIR>>/resolver-BskJog/apt_archive/sbuild-build-depends-mle-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-mle-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Sources [513 B]
Get:5 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ Packages [595 B]
Fetched 2441 B in 0s (11.8 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...
Install mle build dependencies (apt-based resolver)
---------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ca-certificates dbus dbus-user-session e2fsprogs-l10n krb5-locales libexpat1
libgpg-error-l10n libnss-systemd libpam-systemd libssl1.1 openssl
systemd-sysv
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev bsdmainutils debhelper
dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
libfile-stripnondeterminism-perl libglib2.0-0 libicu63 liblua5.3-0
liblua5.3-dev libmagic-mgc libmagic1 libncurses-dev libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libpipeline1 libreadline-dev libsigsegv2
libtermbox-dev libtermbox1 libtool libxml2 m4 man-db po-debconf uthash-dev
Suggested packages:
autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
ncurses-doc readline-doc libtool-doc gfortran | fortran95-compiler gcj-jdk
m4-doc apparmor less www-browser libmail-box-perl
Recommended packages:
curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info
xdg-user-dirs pkg-config libtool-bin libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev bsdmainutils debhelper
dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
libfile-stripnondeterminism-perl libglib2.0-0 libicu63 liblua5.3-0
liblua5.3-dev libmagic-mgc libmagic1 libncurses-dev libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libpipeline1 libreadline-dev libsigsegv2
libtermbox-dev libtermbox1 libtool libxml2 m4 man-db po-debconf
sbuild-build-depends-mle-dummy uthash-dev
0 upgraded, 42 newly installed, 0 to remove and 49 not upgraded.
Need to get 19.9 MB/20.0 MB of archives.
After this operation, 72.2 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-BskJog/apt_archive ./ sbuild-build-depends-mle-dummy 0.invalid.0 [884 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.9.1-1 [104 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-10 [1005 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.5.0-2 [25.1 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.8.4-3 [1160 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.34-2 [239 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.34-2 [107 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.34-2 [65.0 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-9 [117 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-2 [185 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.16.1-4 [771 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-9 [434 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-6 [547 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 1.0.0-1 [19.5 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 1.0.0-1 [12.5 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libelf1 armhf 0.170-0.5 [160 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf dwz armhf 0.12-3 [66.0 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.58.1-2 [1051 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf libicu63 armhf 63.1-5 [7976 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-7+b1 [570 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-9 [1219 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.21 [248 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf debhelper all 12 [1002 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf liblua5.3-0 armhf 5.3.3-1 [96.8 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf libncurses-dev armhf 6.1+20181013-1 [278 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf libreadline-dev armhf 7.0-5 [110 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf liblua5.3-dev armhf 5.3.3-1 [132 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf libpcre16-3 armhf 2:8.39-11+rpi1 [234 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf libpcre32-3 armhf 2:8.39-11+rpi1 [227 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf libpcrecpp0v5 armhf 2:8.39-11+rpi1 [150 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf libpcre3-dev armhf 2:8.39-11+rpi1 [565 kB]
Get:39 http://172.17.0.1/private buster-staging/main armhf libtermbox1 armhf 1.1.2+dfsg-2 [13.8 kB]
Get:40 http://172.17.0.1/private buster-staging/main armhf libtermbox-dev armhf 1.1.2+dfsg-2 [22.6 kB]
Get:41 http://172.17.0.1/private buster-staging/main armhf uthash-dev armhf 2.0.2-1 [190 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.9 MB in 3s (7329 kB/s)
Selecting previously unselected package libbsd0:armhf.
(Reading database ... 15795 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.9.1-1_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../01-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.3-10_armhf.deb ...
Unpacking groff-base (1.22.3-10) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.0-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.0-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.8.4-3_armhf.deb ...
Unpacking man-db (2.8.4-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.34-2_armhf.deb ...
Unpacking libmagic-mgc (1:5.34-2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.34-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.34-2) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.34-2_armhf.deb ...
Unpacking file (1:5.34-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.19.8.1-9_armhf.deb ...
Unpacking gettext-base (0.19.8.1-9) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../09-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.18-2_armhf.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../15-libtool_2.4.6-6_all.deb ...
Unpacking libtool (2.4.6-6) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../16-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-libarchive-zip-perl_1.64-1_all.deb ...
Unpacking libarchive-zip-perl (1.64-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../18-libfile-stripnondeterminism-perl_1.0.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.0.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../19-dh-strip-nondeterminism_1.0.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.0.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../20-libelf1_0.170-0.5_armhf.deb ...
Unpacking libelf1:armhf (0.170-0.5) ...
Selecting previously unselected package dwz.
Preparing to unpack .../21-dwz_0.12-3_armhf.deb ...
Unpacking dwz (0.12-3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../22-libglib2.0-0_2.58.1-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.58.1-2) ...
Selecting previously unselected package libicu63:armhf.
Preparing to unpack .../23-libicu63_63.1-5_armhf.deb ...
Unpacking libicu63:armhf (63.1-5) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../24-libxml2_2.9.4+dfsg1-7+b1_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7+b1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../25-libcroco3_0.6.12-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.19.8.1-9_armhf.deb ...
Unpacking gettext (0.19.8.1-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../28-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_12_all.deb ...
Unpacking debhelper (12) ...
Selecting previously unselected package liblua5.3-0:armhf.
Preparing to unpack .../30-liblua5.3-0_5.3.3-1_armhf.deb ...
Unpacking liblua5.3-0:armhf (5.3.3-1) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../31-libncurses-dev_6.1+20181013-1_armhf.deb ...
Unpacking libncurses-dev:armhf (6.1+20181013-1) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../32-libreadline-dev_7.0-5_armhf.deb ...
Unpacking libreadline-dev:armhf (7.0-5) ...
Selecting previously unselected package liblua5.3-dev:armhf.
Preparing to unpack .../33-liblua5.3-dev_5.3.3-1_armhf.deb ...
Unpacking liblua5.3-dev:armhf (5.3.3-1) ...
Selecting previously unselected package libpcre16-3:armhf.
Preparing to unpack .../34-libpcre16-3_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre16-3:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcre32-3:armhf.
Preparing to unpack .../35-libpcre32-3_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre32-3:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcrecpp0v5:armhf.
Preparing to unpack .../36-libpcrecpp0v5_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcrecpp0v5:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../37-libpcre3-dev_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libtermbox1:armhf.
Preparing to unpack .../38-libtermbox1_1.1.2+dfsg-2_armhf.deb ...
Unpacking libtermbox1:armhf (1.1.2+dfsg-2) ...
Selecting previously unselected package libtermbox-dev:armhf.
Preparing to unpack .../39-libtermbox-dev_1.1.2+dfsg-2_armhf.deb ...
Unpacking libtermbox-dev:armhf (1.1.2+dfsg-2) ...
Selecting previously unselected package uthash-dev:armhf.
Preparing to unpack .../40-uthash-dev_2.0.2-1_armhf.deb ...
Unpacking uthash-dev:armhf (2.0.2-1) ...
Selecting previously unselected package sbuild-build-depends-mle-dummy.
Preparing to unpack .../41-sbuild-build-depends-mle-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-mle-dummy (0.invalid.0) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up libicu63:armhf (63.1-5) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libelf1:armhf (0.170-0.5) ...
Setting up groff-base (1.22.3-10) ...
Setting up libglib2.0-0:armhf (2.58.1-2) ...
No schema files found: removed existing output file.
Setting up libtermbox1:armhf (1.1.2+dfsg-2) ...
Setting up gettext-base (0.19.8.1-9) ...
Setting up libpipeline1:armhf (1.5.0-2) ...
Setting up m4 (1.4.18-2) ...
Setting up libbsd0:armhf (0.9.1-1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7+b1) ...
Setting up libmagic-mgc (1:5.34-2) ...
Setting up libmagic1:armhf (1:5.34-2) ...
Setting up libcroco3:armhf (0.6.12-2) ...
Setting up uthash-dev:armhf (2.0.2-1) ...
Processing triggers for libc-bin (2.28-2) ...
Setting up dwz (0.12-3) ...
Setting up autotools-dev (20180224.1) ...
Setting up libpcrecpp0v5:armhf (2:8.39-11+rpi1) ...
Setting up libpcre32-3:armhf (2:8.39-11+rpi1) ...
Setting up libpcre16-3:armhf (2:8.39-11+rpi1) ...
Setting up bsdmainutils (11.1.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up liblua5.3-0:armhf (5.3.3-1) ...
Setting up libncurses-dev:armhf (6.1+20181013-1) ...
Setting up autopoint (0.19.8.1-9) ...
Setting up libfile-stripnondeterminism-perl (1.0.0-1) ...
Setting up libpcre3-dev:armhf (2:8.39-11+rpi1) ...
Setting up libtermbox-dev:armhf (1.1.2+dfsg-2) ...
Setting up gettext (0.19.8.1-9) ...
Setting up autoconf (2.69-11) ...
Setting up file (1:5.34-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libreadline-dev:armhf (7.0-5) ...
Setting up man-db (2.8.4-3) ...
Not building database; man-db/auto-update is not 'true'.
Setting up liblua5.3-dev:armhf (5.3.3-1) ...
Setting up libtool (2.4.6-6) ...
Setting up po-debconf (1.0.21) ...
Setting up dh-autoreconf (19) ...
Setting up dh-strip-nondeterminism (1.0.0-1) ...
Setting up debhelper (12) ...
Setting up sbuild-build-depends-mle-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.28-2) ...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 4.4.0-124-generic armhf (armv8l)
Toolchain package versions: binutils_2.31.1-10+rpi1 dpkg-dev_1.19.2 g++-8_8.2.0-9+rpi1 gcc-8_8.2.0-9+rpi1 libc6-dev_2.28-2 libstdc++-8-dev_8.2.0-9+rpi1 libstdc++6_8.2.0-9+rpi1 linux-libc-dev_4.18.20-2+rpi1
Package versions: adduser_3.118 apt_1.8.0~alpha2 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1+rpi1 base-passwd_3.5.45 bash_4.4.18-3.1 binutils_2.31.1-10+rpi1 binutils-arm-linux-gnueabihf_2.31.1-10+rpi1 binutils-common_2.31.1-10+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.33-0.2 build-essential_12.5 bzip2_1.0.6-9 ca-certificates_20170717 coreutils_8.30-1 cpio_2.12+dfsg-6 cpp_4:8.2.0-2+rpi1 cpp-8_8.2.0-9+rpi1 dash_0.5.10.2-2 dbus_1.12.12-1 dbus-user-session_1.12.12-1 debconf_1.5.69 debhelper_12 debianutils_4.8.6 dh-autoreconf_19 dh-strip-nondeterminism_1.0.0-1 diffutils_1:3.6-1 dirmngr_2.2.11-1 dmsetup_2:1.02.145-4.1+b5 dpkg_1.19.2 dpkg-dev_1.19.2 dwz_0.12-3 e2fslibs_1.44.4-2 e2fsprogs_1.44.4-2 e2fsprogs-l10n_1.44.4-2 fakeroot_1.23-1 fdisk_2.33-0.2 file_1:5.34-2 findutils_4.6.0+git+20181018-1 g++_4:8.2.0-2+rpi1 g++-8_8.2.0-9+rpi1 gcc_4:8.2.0-2+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.4-2+rpi1+b19 gcc-5-base_5.5.0-8 gcc-8_8.2.0-9+rpi1 gcc-8-base_8.2.0-9+rpi1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gnupg_2.2.11-1 gnupg-agent_2.2.11-1 gnupg-l10n_2.2.11-1 gnupg-utils_2.2.11-1 gpg_2.2.11-1 gpg-agent_2.2.11-1 gpg-wks-client_2.2.11-1 gpg-wks-server_2.2.11-1 gpgconf_2.2.11-1 gpgsm_2.2.11-1 gpgv_2.2.11-1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.9-2.1 hostname_3.21 inetutils-ping_2:1.9.4-5 init-system-helpers_1.56 initramfs-tools_0.132 initramfs-tools-core_0.132 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-14+rpi1 kmod_25-2 krb5-locales_1.16.1-1 libacl1_2.2.52-3 libapparmor1_2.13.1-3+b1 libapt-pkg5.0_1.8.0~alpha2 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-9+rpi1 libassuan0_2.5.1-2 libatomic1_8.2.0-9+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2 libbinutils_2.31.1-10+rpi1 libblkid1_2.33-0.2 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.28-2 libc-dev-bin_2.28-2 libc6_2.28-2 libc6-dev_2.28-2 libcap-ng0_0.7.9-1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-9+rpi1 libcom-err2_1.44.4-2 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.6-1 libcryptsetup4_2:1.7.5-1 libdb5.3_5.3.28+dfsg1-0.2 libdbus-1-3_1.12.12-1 libdebconfclient0_0.245 libdevmapper1.02.1_2:1.02.145-4.1+b5 libdpkg-perl_1.19.2 libdrm-common_2.4.95-1+rpi1 libdrm2_2.4.95-1+rpi1 libelf1_0.170-0.5 libexpat1_2.2.6-1 libext2fs2_1.44.4-2 libfakeroot_1.23-1 libfdisk1_2.33-0.2 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.0.0-1 libgcc-8-dev_8.2.0-9+rpi1 libgcc1_1:8.2.0-9+rpi1 libgcrypt20_1.8.4-4 libgdbm-compat4_1.18.1-2 libgdbm3_1.8.3-14 libgdbm6_1.18.1-2 libglib2.0-0_2.58.1-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.5.19-1+b1 libgomp1_8.2.0-9+rpi1 libgpg-error-l10n_1.32-3 libgpg-error0_1.32-3 libgssapi-krb5-2_1.16.1-1 libhogweed4_3.4.1~rc1-1 libicu63_63.1-5 libidn11_1.33-2.2 libidn2-0_2.0.5-1 libip4tc0_1.8.2-2+b1 libisl19_0.20-2 libjson-c3_0.12.1-1.3 libk5crypto3_1.16.1-1 libkeyutils1_1.5.9-9.3 libklibc_2.0.4-14+rpi1 libkmod2_25-2 libkrb5-3_1.16.1-1 libkrb5support0_1.16.1-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.46+dfsg-5+rpi1+b1 libldap-common_2.4.46+dfsg-5+rpi1 liblua5.3-0_5.3.3-1 liblua5.3-dev_5.3.3-1 liblz4-1_1.8.2-1+rpi1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmount1_2.33-0.2 libmpc3_1.1.0-1 libmpfr6_4.0.1-2 libncurses-dev_6.1+20181013-1 libncurses5_6.1+20181013-1 libncurses6_6.1+20181013-1 libncursesw5_6.1+20181013-1 libncursesw6_6.1+20181013-1 libnettle6_3.4.1~rc1-1 libnpth0_1.6-1 libnss-systemd_239-15+rpi1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.8 libpam-modules-bin_1.1.8-3.8 libpam-runtime_1.1.8-3.8 libpam-systemd_239-15+rpi1 libpam0g_1.1.8-3.8 libpcre16-3_2:8.39-11+rpi1 libpcre3_2:8.39-11+rpi1 libpcre3-dev_2:8.39-11+rpi1 libpcre32-3_2:8.39-11+rpi1 libpcrecpp0v5_2:8.39-11+rpi1 libperl5.24_5.24.1-7 libperl5.28_5.28.1-3 libpipeline1_1.5.0-2 libplymouth4_0.9.4-1 libpng16-16_1.6.34-2+rpi1 libprocps7_2:3.3.15-2 libreadline-dev_7.0-5 libreadline7_7.0-5 libsasl2-2_2.1.27~rc8-1 libsasl2-modules-db_2.1.27~rc8-1 libseccomp2_2.3.3-3 libselinux1_2.8-1 libsemanage-common_2.8-1 libsemanage1_2.8-1 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33-0.2 libsqlite3-0_3.26.0-3 libss2_1.44.4-2 libssl1.1_1.1.1a-1 libstdc++-8-dev_8.2.0-9+rpi1 libstdc++6_8.2.0-9+rpi1 libsystemd0_239-15+rpi1 libtasn1-6_4.13-3 libtermbox-dev_1.1.2+dfsg-2 libtermbox1_1.1.2+dfsg-2 libtinfo5_6.1+20181013-1 libtinfo6_6.1+20181013-1 libtool_2.4.6-6 libubsan1_8.2.0-9+rpi1 libudev1_239-15+rpi1 libunistring2_0.9.10-1 libustr-1.0-1_1.0.4-6 libuuid1_2.33-0.2 libxml2_2.9.4+dfsg1-7+b1 libzstd1_1.3.5+dfsg-1+rpi1 linux-base_4.5 linux-libc-dev_4.18.20-2+rpi1 login_1:4.5-1.1 lsb-base_10.2018112800+rpi1 m4_1.4.18-2 make_4.2.1-1.2 makedev_2.3.1-94 man-db_2.8.4-3 mawk_1.3.3-17 mount_2.33-0.2 multiarch-support_2.28-2 nano_3.2-1 ncurses-base_6.1+20181013-1 ncurses-bin_6.1+20181013-1 netbase_5.5 openssl_1.1.1a-1 passwd_1:4.5-1.1 patch_2.7.6-3 perl_5.28.1-3 perl-base_5.28.1-3 perl-modules-5.24_5.24.1-7 perl-modules-5.28_5.28.1-3 pinentry-curses_1.1.0-1 plymouth_0.9.4-1 po-debconf_1.0.21 procps_2:3.3.15-2 raspbian-archive-keyring_20120528.2 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-mle-dummy_0.invalid.0 sed_4.5-2 sensible-utils_0.0.12 systemd_239-15+rpi1 systemd-sysv_239-15+rpi1 sysvinit-utils_2.93-1 tar_1.30+dfsg-3+rpi1 tzdata_2018g-1 udev_239-15+rpi1 uthash-dev_2.0.2-1 util-linux_2.33-0.2 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Sun Dec 23 04:39:21 2018 UTC
gpgv: using RSA key 638BC75EC1E5C589067E35DE62645EB35F686A8A
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./mle_1.3-1.dsc
dpkg-source: info: extracting mle in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking mle_1.3.orig.tar.xz
dpkg-source: info: unpacking mle_1.3-1.debian.tar.xz
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-fce3889b-1f56-4f54-b685-51908bd53f6e
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd
dpkg-buildpackage
-----------------
dpkg-buildpackage: info: source package mle
dpkg-buildpackage: info: source version 1.3-1
dpkg-buildpackage: info: source distribution unstable
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
fakeroot debian/rules clean
dh clean
dh_auto_clean
dh_clean
debian/rules build-arch
dh build-arch
dh_update_autotools_config -a
dh_autoreconf -a
dh_auto_configure -a
dh_auto_build -a
make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.c -o bview.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security editor.c -o editor.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security aproc.c -o aproc.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security cursor.c -o cursor.o
editor.c: In function 'editor_debug_dump':
editor.c:394:63: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.cursor.%d.mark.line_index=%ld\n", bview_index, cursor_index, cursor->mark->bline->line_index);
~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%lld
editor.c:395:56: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.cursor.%d.mark.col=%ld\n", bview_index, cursor_index, cursor->mark->col);
~~^ ~~~~~~~~~~~~~~~~~
%lld
editor.c:397:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.cursor.%d.anchor.line_index=%ld\n", bview_index, cursor_index, cursor->anchor->bline->line_index);
~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%lld
editor.c:398:62: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.cursor.%d.anchor.col=%ld\n", bview_index, cursor_index, cursor->anchor->col);
~~^ ~~~~~~~~~~~~~~~~~~~
%lld
editor.c:404:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.buffer.byte_count=%ld\n", bview_index, buffer->byte_count);
~~^ ~~~~~~~~~~~~~~~~~~
%lld
editor.c:405:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "bview.%d.buffer.line_count=%ld\n", bview_index, buffer->line_count);
~~^ ~~~~~~~~~~~~~~~~~~
%lld
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security util.c -o util.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security mark.c -o mark.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security main.c -o main.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security buffer.c -o buffer.o
In file included from buffer.c:11:
buffer.c: In function '_buffer_bline_delete':
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(stderr, (fmt), __VA_ARGS__); \
^~~~~
buffer.c:1640:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
MLBUF_DEBUG_PRINTF("num_chars=%lu does not match safe_num_chars=%lu\n", num_chars, safe_num_chars);
^~~~~~~~~~~~~~~~~~
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(stderr, (fmt), __VA_ARGS__); \
^~~~~
buffer.c:1640:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
MLBUF_DEBUG_PRINTF("num_chars=%lu does not match safe_num_chars=%lu\n", num_chars, safe_num_chars);
^~~~~~~~~~~~~~~~~~
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'bint_t' {aka 'long long int'} [-Wformat=]
fprintf(stderr, (fmt), __VA_ARGS__); \
^~~~~
buffer.c:1645:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
MLBUF_DEBUG_PRINTF("safe_num_chars=%lu lt 1\n", safe_num_chars);
^~~~~~~~~~~~~~~~~~
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security cmd.c -o cmd.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security utf8.c -o utf8.o
In file included from cmd.c:5:
cmd.c: In function '_cmd_save':
mle.h:607:50: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
snprintf((editor)->infostr, MLE_ERRSTR_SIZE, (fmt), __VA_ARGS__); \
^~~~~
cmd.c:1337:13: note: in expansion of macro 'MLE_SET_INFO'
MLE_SET_INFO(editor, "save: Wrote %ld bytes", nbytes);
^~~~~~~~~~~~
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bline.c -o bline.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.c -o uscript.o
uscript.c: In function 'luaL_optpointer':
uscript.c:382:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void*)strtoull(ptr, NULL, 16);
^
uscript.c: In function 'lua_pushpointer':
uscript.c:392:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
snprintf(ptrbuf, 32, "%llx", (unsigned long long)ptr);
^
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o editor.o aproc.o cursor.o util.o mark.o main.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm -o mle
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_insert.c -o tests/unit/test_buffer_insert
In file included from tests/unit/test_buffer_insert.c:1:
tests/unit/test_buffer_insert.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nhello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nhello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("bolnchars", 3, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("bolnchars", 3, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("3", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("3", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("3nchars", 1, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("3nchars", 1, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("nlnl", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("nlnl", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("nlnlnchars", 2, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("nlnlnchars", 2, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld!", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_insert.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld!", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_to.c -o tests/unit/test_mark_move_to
In file included from tests/unit/test_mark_move_to.c:1:
tests/unit/test_mark_move_to.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("lin1", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("lin1", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("lin1", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("lin1", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("lin2", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("lin2", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("lin2", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("lin2", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("lin3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("lin3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("lin3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("lin3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("lin4", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("lin4", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("lin4", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("lin4", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 3, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 3, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1col", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oob1col", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:28:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2col", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:28:5: note: in expansion of macro 'ASSERT'
ASSERT("oob2col", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3lin", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3col", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_to.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("oob3col", 1, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_new.c -o tests/unit/test_buffer_new
In file included from tests/unit/test_buffer_new.c:1:
tests/unit/test_buffer_new.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_new.c:4:5: note: in expansion of macro 'ASSERT'
ASSERT("yes", 1, 1);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_new.c:4:5: note: in expansion of macro 'ASSERT'
ASSERT("yes", 1, 1);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_set_pcre_ovector.c -o tests/unit/test_mark_set_pcre_ovector
In file included from tests/unit/test_mark_set_pcre_ovector.c:1:
tests/unit/test_mark_set_pcre_ovector.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("set", MLBUF_OK, mark_set_pcre_capture(&rc, ovector, 6));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("set", MLBUF_OK, mark_set_pcre_capture(&rc, ovector, 6));
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("bline", cur->bline, bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("bline", cur->bline, bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("bline", cur->bline, bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("bline", cur->bline, bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 18, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 18, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("nchars", 6, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("nchars", 6, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("rc", 2, rc);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("rc", 2, rc);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("vec1a", 18, ovector[0]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("vec1a", 18, ovector[0]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("vec1b", 24, ovector[1]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("vec1b", 24, ovector[1]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("vec2a", 22, ovector[2]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("vec2a", 22, ovector[2]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("vec2b", 24, ovector[3]);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_set_pcre_ovector.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("vec2b", 24, ovector[3]);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_substr.c -o tests/unit/test_buffer_substr
In file included from tests/unit/test_buffer_substr.c:1:
tests/unit/test_buffer_substr.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("datalen", 3, data_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("datalen", 3, data_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("nchars", 3, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("nchars", 3, nchars);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("substr", 0, strncmp("o\nw", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_substr.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("substr", 0, strncmp("o\nw", data, data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_insert_after.c -o tests/unit/test_mark_insert_after
In file included from tests/unit/test_mark_insert_after.c:1:
tests/unit/test_mark_insert_after.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_after.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("insa", 0, strncmp("shello\nworld", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_after.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("insa", 0, strncmp("shello\nworld", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_after.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_after.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 0, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_bline_insert.c -o tests/unit/test_bline_insert
In file included from tests/unit/test_bline_insert.c:1:
tests/unit/test_bline_insert.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("nl", 0, strncmp(data, "hello\n\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("nl", 0, strncmp(data, "hello\n\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("my", 0, strncmp(data, "hello\nmy\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("my", 0, strncmp(data, "hello\nmy\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "hello\namy\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "hello\namy\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("eol", 0, strncmp(data, "hello\namy's\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("eol", 0, strncmp(data, "hello\namy's\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "hello\namy's\n world", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_insert.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "hello\namy's\n world", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_eol.c -o tests/unit/test_mark_move_eol
In file included from tests/unit/test_mark_move_eol.c:1:
tests/unit/test_mark_move_eol.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_eol.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 5, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_add_mark.c -o tests/unit/test_buffer_add_mark
In file included from tests/unit/test_buffer_add_mark.c:1:
tests/unit/test_buffer_add_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("mark0bline", 1, mark->bline == buf->first_line ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("mark0bline", 1, mark->bline == buf->first_line ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("mark0col", 0, mark->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("mark0col", 0, mark->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("mark1bline", 1, mark->bline == buf->first_line->next ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("mark1bline", 1, mark->bline == buf->first_line->next ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("mark1col", 5, mark->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("mark1col", 5, mark->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_prev_re.c -o tests/unit/test_mark_move_prev_re
In file included from tests/unit/test_mark_move_prev_re.c:1:
tests/unit/test_mark_move_prev_re.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_col", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_re.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("cflex_col", 0, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_get_bline_col.c -o tests/unit/test_buffer_get_bline_col
In file included from tests/unit/test_buffer_get_bline_col.c:1:
tests/unit/test_buffer_get_bline_col.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("0line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("0line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("0line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("0line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("0col", 0, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("0col", 0, col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("1line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("1line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("1line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("1line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("1col", 1, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("1col", 1, col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("5line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("5line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("5line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("5line", buf->first_line, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("5col", 5, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("5col", 5, col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("6line", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("6line", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("6line", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("6line", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("6col", 0, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("6col", 0, col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oobcol", 5, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline_col.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oobcol", 5, col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_by.c -o tests/unit/test_mark_move_by
In file included from tests/unit/test_mark_move_by.c:1:
tests/unit/test_mark_move_by.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_set_callback.c -o tests/unit/test_buffer_set_callback
In file included from tests/unit/test_buffer_set_callback.c:1:
tests/unit/test_buffer_set_callback.c: In function 'callback_fn':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("bufp", global_buf, buf);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("bufp", global_buf, buf);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("udata", (void*)global_udata, udata);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("udata", (void*)global_udata, udata);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_buf", buf, bac->buffer);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_buf", buf, bac->buffer);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_start_line", buf->first_line, bac->start_line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_start_line", buf->first_line, bac->start_line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_maybe_end_line", buf->first_line->next, bac->maybe_end_line);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test_buffer_set_callback.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("bac_maybe_end_line", buf->first_line->next, bac->maybe_end_line);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_replace.c -o tests/unit/test_buffer_replace
In file included from tests/unit/test_buffer_replace.c:1:
tests/unit/test_buffer_replace.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl1", 0, strncmp(data, "blineA\n\nline2\nline3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl1", 0, strncmp(data, "blineA\n\nline2\nline3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("r1bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("r1bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("r1lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("r1lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl2", 0, strncmp(data, "blixe0\n\nline2\nline3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl2", 0, strncmp(data, "blixe0\n\nline2\nline3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("r2bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("r2bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("r2lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("r2lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl3", 0, strncmp(data, "blixe0\n\nliNe3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl3", 0, strncmp(data, "blixe0\n\nliNe3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("r3bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("r3bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("r3lc", 4, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("r3lc", 4, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl4", 0, strncmp(data, "blixejerk\nstuffiNe3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl4", 0, strncmp(data, "blixejerk\nstuffiNe3\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:28:5: note: in expansion of macro 'ASSERT'
ASSERT("r4bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:28:5: note: in expansion of macro 'ASSERT'
ASSERT("r4bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("r4lc", 3, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("r4lc", 3, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:33:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl5", 0, strncmp(data, "blixejerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:33:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl5", 0, strncmp(data, "blixejerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:34:5: note: in expansion of macro 'ASSERT'
ASSERT("r5bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:34:5: note: in expansion of macro 'ASSERT'
ASSERT("r5bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("r5lc", 1, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("r5lc", 1, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:39:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl6", 0, strncmp(data, "blixey\nbjerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:39:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl6", 0, strncmp(data, "blixey\nbjerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:40:5: note: in expansion of macro 'ASSERT'
ASSERT("r6bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:40:5: note: in expansion of macro 'ASSERT'
ASSERT("r6bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:41:5: note: in expansion of macro 'ASSERT'
ASSERT("r6lc", 2, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:41:5: note: in expansion of macro 'ASSERT'
ASSERT("r6lc", 2, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:45:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl7", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:45:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl7", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:46:5: note: in expansion of macro 'ASSERT'
ASSERT("r7bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:46:5: note: in expansion of macro 'ASSERT'
ASSERT("r7bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:47:5: note: in expansion of macro 'ASSERT'
ASSERT("r7lc", 3, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:47:5: note: in expansion of macro 'ASSERT'
ASSERT("r7lc", 3, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:51:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl8", 0, strncmp(data, "\nblixejerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:51:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl8", 0, strncmp(data, "\nblixejerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:52:5: note: in expansion of macro 'ASSERT'
ASSERT("r8bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:52:5: note: in expansion of macro 'ASSERT'
ASSERT("r8bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:53:5: note: in expansion of macro 'ASSERT'
ASSERT("r8lc", 2, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:53:5: note: in expansion of macro 'ASSERT'
ASSERT("r8lc", 2, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:57:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl9", 0, strncmp(data, "1\n2\n3\n4\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:57:5: note: in expansion of macro 'ASSERT'
ASSERT("rpl9", 0, strncmp(data, "1\n2\n3\n4\n", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:58:5: note: in expansion of macro 'ASSERT'
ASSERT("r9bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:58:5: note: in expansion of macro 'ASSERT'
ASSERT("r9bc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:59:5: note: in expansion of macro 'ASSERT'
ASSERT("r9lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:59:5: note: in expansion of macro 'ASSERT'
ASSERT("r9lc", 5, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:63:5: note: in expansion of macro 'ASSERT'
ASSERT("rpla", 0, strncmp(data, "1\nfive\nsix\nseven\neight\nnine", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:63:5: note: in expansion of macro 'ASSERT'
ASSERT("rpla", 0, strncmp(data, "1\nfive\nsix\nseven\neight\nnine", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:64:5: note: in expansion of macro 'ASSERT'
ASSERT("rabc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:64:5: note: in expansion of macro 'ASSERT'
ASSERT("rabc", data_len, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:65:5: note: in expansion of macro 'ASSERT'
ASSERT("ralc", 6, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:65:5: note: in expansion of macro 'ASSERT'
ASSERT("ralc", 6, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:77:5: note: in expansion of macro 'ASSERT'
ASSERT("undo", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_replace.c:77:5: note: in expansion of macro 'ASSERT'
ASSERT("undo", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_lettered.c -o tests/unit/test_mark_lettered
In file included from tests/unit/test_mark_lettered.c:1:
tests/unit/test_mark_lettered.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("neq1", 1, lett1 != cur ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("neq1", 1, lett1 != cur ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("let", '\0', cur->letter);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("let", '\0', cur->letter);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("let", 'a', lett1->letter);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("let", 'a', lett1->letter);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("neq2", 1, lett1 != lett2 ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("neq2", 1, lett1 != lett2 ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("null", 1, lett3 == NULL ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_lettered.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("null", 1, lett3 == NULL ? 1 : 0);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_get_offset.c -o tests/unit/test_mark_get_offset
In file included from tests/unit/test_mark_get_offset.c:1:
tests/unit/test_mark_get_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_offset.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("offset", 11, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_offset.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("offset", 11, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_offset.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("offset", 0, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_offset.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("offset", 0, offset);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_set_tab_width.c -o tests/unit/test_buffer_set_tab_width
In file included from tests/unit/test_buffer_set_tab_width.c:1:
tests/unit/test_buffer_set_tab_width.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("count4", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("count4", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("width4", 12, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("width4", 12, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:17:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol4", char_vcols_4[i], buf->first_line->chars[i].vcol);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:17:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol4", char_vcols_4[i], buf->first_line->chars[i].vcol);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("count2a", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("count2a", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("width2a", 10, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("width2a", 10, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:26:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol2a", char_vcols_2a[i], buf->first_line->chars[i].vcol);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:26:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol2a", char_vcols_2a[i], buf->first_line->chars[i].vcol);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("count2b", 9, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("count2b", 9, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:33:5: note: in expansion of macro 'ASSERT'
ASSERT("width2b", 12, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:33:5: note: in expansion of macro 'ASSERT'
ASSERT("width2b", 12, buf->first_line->char_vwidth);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:35:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol2b", char_vcols_2b[i], buf->first_line->chars[i].vcol);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set_tab_width.c:35:9: note: in expansion of macro 'ASSERT'
ASSERT("vcol2b", char_vcols_2b[i], buf->first_line->chars[i].vcol);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_recalloc.c -o tests/unit/test_recalloc
In file included from tests/unit/test_recalloc.c:1:
tests/unit/test_recalloc.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("preserve_a", 1, things->a);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("preserve_a", 1, things->a);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("preserve_b", 2, things->b);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("preserve_b", 2, things->b);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("zerod", 1, is_all_zero);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_recalloc.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("zerod", 1, is_all_zero);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_get_offset.c -o tests/unit/test_buffer_get_offset
In file included from tests/unit/test_buffer_get_offset.c:1:
tests/unit/test_buffer_get_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("f0", 0, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("f0", 0, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("f1", 1, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("f1", 1, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("f5", 5, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("f5", 5, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("n0", 6, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("n0", 6, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("noob", 11, offset);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_offset.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("noob", 11, offset);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_bol.c -o tests/unit/test_mark_move_bol
In file included from tests/unit/test_mark_move_bol.c:1:
tests/unit/test_mark_move_bol.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bol.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 0, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_get_bline.c -o tests/unit/test_buffer_get_bline
In file included from tests/unit/test_buffer_get_bline.c:1:
tests/unit/test_buffer_get_bline.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
ASSERT("line", line, line2);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
ASSERT("line", line, line2);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
ASSERT("line", line, line2);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
ASSERT("line", line, line2);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_register.c -o tests/unit/test_buffer_register
In file included from tests/unit/test_buffer_register.c:1:
tests/unit/test_buffer_register.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("set", 0, strncmp(reg, "yo", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("set", 0, strncmp(reg, "yo", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("pre", 0, strncmp(reg, "gyo", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("pre", 0, strncmp(reg, "gyo", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("app", 0, strncmp(reg, "gyo!!!", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("app", 0, strncmp(reg, "gyo!!!", reg_len))
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("clr1", 0, reg_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("clr1", 0, reg_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("clr2", 1, reg != NULL ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_register.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("clr2", 1, reg != NULL ? 1 : 0);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_next_str.c -o tests/unit/test_mark_move_next_str
In file included from tests/unit/test_mark_move_next_str.c:1:
tests/unit/test_mark_move_next_str.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col1again", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col1again", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_str.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_swap_with_mark.c -o tests/unit/test_mark_swap_with_mark
In file included from tests/unit/test_mark_swap_with_mark.c:1:
tests/unit/test_mark_swap_with_mark.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("end", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("end", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("end", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("end", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("endcol", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("endcol", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("beg", buf->first_line, other->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("beg", buf->first_line, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("beg", buf->first_line, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("beg", buf->first_line, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("begcol", 0, other->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_swap_with_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("begcol", 0, other->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_vert.c -o tests/unit/test_mark_move_vert
In file included from tests/unit/test_mark_move_vert.c:1:
tests/unit/test_mark_move_vert.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 2, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 2, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("tcol", 5, cur->target_col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_vert.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("tcol", 5, cur->target_col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_undo.c -o tests/unit/test_buffer_undo
In file included from tests/unit/test_buffer_undo.c:1:
tests/unit/test_buffer_undo.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_undo.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("del", 0, strncmp(data, "hi", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_undo.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("del", 0, strncmp(data, "hi", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_undo.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("ins", 0, strncmp(data, "hi", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_undo.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("ins", 0, strncmp(data, "hi", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_insert_before.c -o tests/unit/test_mark_insert_before
In file included from tests/unit/test_mark_insert_before.c:1:
tests/unit/test_mark_insert_before.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_before.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("insb", 0, strncmp("shello\nworld", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_before.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("insb", 0, strncmp("shello\nworld", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_before.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_insert_before.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("col", 1, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_is_at_word_bound.c -o tests/unit/test_mark_is_at_word_bound
In file included from tests/unit/test_mark_is_at_word_bound.c:1:
tests/unit/test_mark_is_at_word_bound.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:5:5: note: in expansion of macro 'ASSERT'
ASSERT("l_bol", 1, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:5:5: note: in expansion of macro 'ASSERT'
ASSERT("l_bol", 1, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("x_bol", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("x_bol", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("r_bol", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("r_bol", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("l_mid", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("l_mid", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("x_mid", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("x_mid", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("r_mid", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("r_mid", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sym", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sym", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sym", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sym", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sym", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:22:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sym", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sym2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sym2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:26:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sym2", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:26:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sym2", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sym2", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:27:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sym2", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:30:5: note: in expansion of macro 'ASSERT'
ASSERT("l_spa1", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:30:5: note: in expansion of macro 'ASSERT'
ASSERT("l_spa1", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("x_spa1", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:31:5: note: in expansion of macro 'ASSERT'
ASSERT("x_spa1", 0, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("r_spa1", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("r_spa1", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sow", 1, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("l_sow", 1, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:36:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sow", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:36:5: note: in expansion of macro 'ASSERT'
ASSERT("x_sow", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:37:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sow", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:37:5: note: in expansion of macro 'ASSERT'
ASSERT("r_sow", 0, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:40:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:40:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:41:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:41:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:42:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:42:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:45:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:45:5: note: in expansion of macro 'ASSERT'
ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:46:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:46:5: note: in expansion of macro 'ASSERT'
ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:47:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_at_word_bound.c:47:5: note: in expansion of macro 'ASSERT'
ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_delete_after.c -o tests/unit/test_mark_delete_after
In file included from tests/unit/test_mark_delete_after.c:1:
tests/unit/test_mark_delete_after.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_after.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("dela", 0, strncmp("ello\nworld", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_after.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("dela", 0, strncmp("ello\nworld", data, data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_delete_between_mark.c -o tests/unit/test_mark_delete_between_mark
In file included from tests/unit/test_mark_delete_between_mark.c:1:
tests/unit/test_mark_delete_between_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("count", 0, buf->byte_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("count", 0, buf->byte_count);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_is_gt.c -o tests/unit/test_mark_is_gt
In file included from tests/unit/test_mark_is_gt.c:1:
tests/unit/test_mark_is_gt.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("gt", 1, mark_is_gt(other, cur));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("gt", 1, mark_is_gt(other, cur));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt1", 0, mark_is_gt(cur, other));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt1", 0, mark_is_gt(cur, other));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt2", 0, mark_is_gt(other, cur));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt2", 0, mark_is_gt(other, cur));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt3", 0, mark_is_gt(cur, other));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_is_gt.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("ngt3", 0, mark_is_gt(cur, other));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_delete_between_mark_2.c -o tests/unit/test_mark_delete_between_mark_2
In file included from tests/unit/test_mark_delete_between_mark_2.c:1:
tests/unit/test_mark_delete_between_mark_2.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("lnct", 1, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("lnct", 1, buf->line_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("data", 0, strncmp(" hello {}", buf->first_line->data, buf->first_line->data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("data", 0, strncmp(" hello {}", buf->first_line->data, buf->first_line->data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("clin", 0, cur->bline->line_index);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("clin", 0, cur->bline->line_index);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("ccol", 9, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("ccol", 9, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("olin", 0, cur->bline->line_index);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("olin", 0, cur->bline->line_index);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("ocol", 9, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_between_mark_2.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("ocol", 9, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_find_bracket_pair.c -o tests/unit/test_mark_find_bracket_pair
In file included from tests/unit/test_mark_find_bracket_pair.c:1:
tests/unit/test_mark_find_bracket_pair.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_find_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 19, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_find_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 19, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_find_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 10, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_find_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 10, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_get.c -o tests/unit/test_buffer_get
In file included from tests/unit/test_buffer_get.c:1:
tests/unit/test_buffer_get.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 11, data_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 11, data_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("get", 0, strncmp(data, "hello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_get.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("get", 0, strncmp(data, "hello\nworld", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_offset.c -o tests/unit/test_mark_move_offset
In file included from tests/unit/test_mark_move_offset.c:1:
tests/unit/test_mark_move_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:5:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:5:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("oobcol", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("oobcol", 5, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("oobline", buf->first_line->next, cur->bline);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_bline_delete.c -o tests/unit/test_bline_delete
In file included from tests/unit/test_bline_delete.c:1:
tests/unit/test_bline_delete.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("noop", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("eol", 0, strncmp(data, "ello\nworl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("eol", 0, strncmp(data, "ello\nworl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("mid", 0, strncmp(data, "eo\nworl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("mid", 0, strncmp(data, "eo\nworl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "eo\nwrl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "eo\nwrl", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("eatnl", 0, strncmp(data, "eol", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_delete.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("eatnl", 0, strncmp(data, "eol", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_get_between_mark.c -o tests/unit/test_mark_get_between_mark
In file included from tests/unit/test_mark_get_between_mark.c:1:
tests/unit/test_mark_get_between_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_between_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 11, str_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_between_mark.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 11, str_len);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_between_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("eq", 0, strncmp(str, "hello\nworld", str_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_get_between_mark.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("eq", 0, strncmp(str, "hello\nworld", str_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_set.c -o tests/unit/test_buffer_set
In file included from tests/unit/test_buffer_set.c:1:
tests/unit/test_buffer_set.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("set", 0, strncmp("goodbye\nvoid", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_set.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("set", 0, strncmp("goodbye\nvoid", data, data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_clone.c -o tests/unit/test_mark_clone
In file included from tests/unit/test_mark_clone.c:1:
tests/unit/test_mark_clone.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("neq", 1, other != cur ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("neq", 1, other != cur ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("next", 1, other == cur->next ? 1 : 0);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("next", 1, other == cur->next ? 1 : 0);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("line", cur->bline, other->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("line", cur->bline, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("line", cur->bline, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("line", cur->bline, other->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col", cur->col, other->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_clone.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col", cur->col, other->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_prev_str.c -o tests/unit/test_mark_move_prev_str
In file included from tests/unit/test_mark_move_prev_str.c:1:
tests/unit/test_mark_move_prev_str.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_prev_str.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_destroy.c -o tests/unit/test_buffer_destroy
In file included from tests/unit/test_buffer_destroy.c:1:
tests/unit/test_buffer_destroy.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_destroy.c:4:5: note: in expansion of macro 'ASSERT'
ASSERT("yes", 1, 1);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_destroy.c:4:5: note: in expansion of macro 'ASSERT'
ASSERT("yes", 1, 1);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_remove_srule.c -o tests/unit/test_buffer_remove_srule
In file included from tests/unit/test_buffer_remove_srule.c:1:
tests/unit/test_buffer_remove_srule.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:10:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:10:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:11:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:11:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:14:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg", 0, buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:14:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg", 0, buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:15:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg", 0, buf->first_line->next->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_remove_srule.c:15:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg", 0, buf->first_line->next->chars[i].style.bg);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_bline_get_col.c -o tests/unit/test_bline_get_col
In file included from tests/unit/test_bline_get_col.c:1:
tests/unit/test_bline_get_col.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("len", 8, buf->first_line->char_count);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("0", 0, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("0", 0, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("1", 1, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:14:5: note: in expansion of macro 'ASSERT'
ASSERT("1", 1, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("2", 1, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("2", 1, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("3", 2, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("3", 2, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("7", 6, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:23:5: note: in expansion of macro 'ASSERT'
ASSERT("7", 6, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:26:5: note: in expansion of macro 'ASSERT'
ASSERT("9", 6, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:26:5: note: in expansion of macro 'ASSERT'
ASSERT("9", 6, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("10", 7, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:29:5: note: in expansion of macro 'ASSERT'
ASSERT("10", 7, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("11", 7, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:32:5: note: in expansion of macro 'ASSERT'
ASSERT("11", 7, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("13", 8, col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_bline_get_col.c:35:5: note: in expansion of macro 'ASSERT'
ASSERT("13", 8, col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_add_srule.c -o tests/unit/test_buffer_add_srule
In file included from tests/unit/test_buffer_add_srule.c:1:
tests/unit/test_buffer_add_srule.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:13:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:13:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:14:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:14:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:17:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg", 1, buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:17:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg", 1, buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:18:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg", 2, buf->first_line->next->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:18:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg", 2, buf->first_line->next->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:24:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg_m", (i == 3 || i == 4 ? 3 : 0), buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:24:9: note: in expansion of macro 'ASSERT'
ASSERT("line1fg_m", (i == 3 || i == 4 ? 3 : 0), buf->first_line->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:25:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg_m", (i == 3 || i == 4 ? 4 : 0), buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:25:9: note: in expansion of macro 'ASSERT'
ASSERT("line1bg_m", (i == 3 || i == 4 ? 4 : 0), buf->first_line->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:28:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg_m", (i == 0 || i == 1 ? 3 : 0), buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:28:9: note: in expansion of macro 'ASSERT'
ASSERT("line2fg_m", (i == 0 || i == 1 ? 3 : 0), buf->first_line->next->chars[i].style.fg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:29:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg_m", (i == 0 || i == 1 ? 4 : 0), buf->first_line->next->chars[i].style.bg);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_add_srule.c:29:9: note: in expansion of macro 'ASSERT'
ASSERT("line2bg_m", (i == 0 || i == 1 ? 4 : 0), buf->first_line->next->chars[i].style.bg);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_bracket_pair.c -o tests/unit/test_mark_move_bracket_pair
In file included from tests/unit/test_mark_move_bracket_pair.c:1:
tests/unit/test_mark_move_bracket_pair.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 19, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 19, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 10, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 10, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_redo.c -o tests/unit/test_buffer_redo
In file included from tests/unit/test_buffer_redo.c:1:
tests/unit/test_buffer_redo.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_redo.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("del", 0, strncmp(data, "i", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_redo.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("del", 0, strncmp(data, "i", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_redo.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("ins", 0, strncmp(data, "yi", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_redo.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("ins", 0, strncmp(data, "yi", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_buffer_delete.c -o tests/unit/test_buffer_delete
In file included from tests/unit/test_buffer_delete.c:1:
tests/unit/test_buffer_delete.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("nl", 0, strncmp(data, "elloworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:13:5: note: in expansion of macro 'ASSERT'
ASSERT("nl", 0, strncmp(data, "elloworld", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "ellowor", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:17:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 0, strncmp(data, "ellowor", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("all", 0, strncmp(data, "", data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_buffer_delete.c:21:5: note: in expansion of macro 'ASSERT'
ASSERT("all", 0, strncmp(data, "", data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_next_re.c -o tests/unit/test_mark_move_next_re
In file included from tests/unit/test_mark_move_next_re.c:1:
tests/unit/test_mark_move_next_re.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("line1", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:8:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
ASSERT("line1again", buf->first_line->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col1again", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:12:5: note: in expansion of macro 'ASSERT'
ASSERT("col1again", 0, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
ASSERT("line2", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:16:5: note: in expansion of macro 'ASSERT'
ASSERT("col2", 1, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
ASSERT("line3", buf->first_line->next->next, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:20:5: note: in expansion of macro 'ASSERT'
ASSERT("col3", 3, cur->col);
^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
ASSERT("line4", buf->first_line, cur->bline);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 0, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_next_re.c:25:5: note: in expansion of macro 'ASSERT'
ASSERT("col4", 0, cur->col);
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_delete_before.c -o tests/unit/test_mark_delete_before
In file included from tests/unit/test_mark_delete_before.c:1:
tests/unit/test_mark_delete_before.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_before.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("delb", 0, strncmp("hello\nworl", data, data_len));
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_delete_before.c:9:5: note: in expansion of macro 'ASSERT'
ASSERT("delb", 0, strncmp("hello\nworl", data, data_len));
^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I. -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.o aproc.o editor.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o uscript.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm tests/unit/test_mark_move_col.c -o tests/unit/test_mark_move_col
In file included from tests/unit/test_mark_move_col.c:1:
tests/unit/test_mark_move_col.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_col.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_col.c:7:5: note: in expansion of macro 'ASSERT'
ASSERT("col1", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_col.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 5, cur->col);
^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
printf(" \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
body \
^~~~
tests/unit/test_mark_move_col.c:10:5: note: in expansion of macro 'ASSERT'
ASSERT("oob", 5, cur->col);
^~~~~~
./mle -v && export MLE=$(pwd)/mle && /usr/bin/make -C tests
mle version 1.3
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
./run.sh
mle version 1.3
tput: No value for $TERM and no -T specified
TEST test_mark_set_pcre_ovector
tput: No value for $TERM and no -T specified
[32mOK [0m set
[32mOK [0m bline
[32mOK [0m col
[32mOK [0m nchars
[32mOK [0m rc
[32mOK [0m vec1a
[32mOK [0m vec1b
[32mOK [0m vec2a
[32mOK [0m vec2b
tput: No value for $TERM and no -T specified
TEST test_mark_move_next_re
tput: No value for $TERM and no -T specified
[32mOK [0m line1
[32mOK [0m col1
[32mOK [0m line1again
[32mOK [0m col1again
[32mOK [0m line2
[32mOK [0m col2
[32mOK [0m line3
[32mOK [0m col3
[32mOK [0m line4
[32mOK [0m col4
tput: No value for $TERM and no -T specified
TEST test_buffer_substr
tput: No value for $TERM and no -T specified
[32mOK [0m datalen
[32mOK [0m nchars
[32mOK [0m substr
tput: No value for $TERM and no -T specified
TEST test_mark_move_vert
tput: No value for $TERM and no -T specified
[32mOK [0m oob
[32mOK [0m noop
[32mOK [0m noop
[32mOK [0m col
[32mOK [0m tcol
tput: No value for $TERM and no -T specified
TEST test_buffer_delete
tput: No value for $TERM and no -T specified
[32mOK [0m bol
[32mOK [0m nl
[32mOK [0m oob
[32mOK [0m all
tput: No value for $TERM and no -T specified
TEST test_mark_swap_with_mark
tput: No value for $TERM and no -T specified
[32mOK [0m end
[32mOK [0m endcol
[32mOK [0m beg
[32mOK [0m begcol
tput: No value for $TERM and no -T specified
TEST test_mark_insert_after
tput: No value for $TERM and no -T specified
[32mOK [0m insa
[32mOK [0m col
tput: No value for $TERM and no -T specified
TEST test_buffer_get_offset
tput: No value for $TERM and no -T specified
[32mOK [0m f0
[32mOK [0m f1
[32mOK [0m f5
[32mOK [0m n0
[32mOK [0m noob
tput: No value for $TERM and no -T specified
TEST test_buffer_insert
tput: No value for $TERM and no -T specified
[32mOK [0m bol
[32mOK [0m bolnchars
[32mOK [0m 3
[32mOK [0m 3nchars
[32mOK [0m nlnl
[32mOK [0m nlnlnchars
[32mOK [0m oob
tput: No value for $TERM and no -T specified
TEST test_mark_move_col
tput: No value for $TERM and no -T specified
[32mOK [0m col1
[32mOK [0m oob
tput: No value for $TERM and no -T specified
TEST test_mark_delete_after
tput: No value for $TERM and no -T specified
[32mOK [0m dela
tput: No value for $TERM and no -T specified
TEST test_mark_move_bol
tput: No value for $TERM and no -T specified
[32mOK [0m line
[32mOK [0m col
tput: No value for $TERM and no -T specified
TEST test_mark_is_at_word_bound
tput: No value for $TERM and no -T specified
[32mOK [0m l_bol
[32mOK [0m x_bol
[32mOK [0m r_bol
[32mOK [0m l_mid
[32mOK [0m x_mid
[32mOK [0m r_mid
[32mOK [0m l_eow
[32mOK [0m x_eow
[32mOK [0m r_eow
[32mOK [0m l_sym
[32mOK [0m x_sym
[32mOK [0m r_sym
[32mOK [0m l_sym2
[32mOK [0m x_sym2
[32mOK [0m r_sym2
[32mOK [0m l_spa1
[32mOK [0m x_spa1
[32mOK [0m r_spa1
[32mOK [0m l_sow
[32mOK [0m x_sow
[32mOK [0m r_sow
[32mOK [0m l_eow2
[32mOK [0m x_eow2
[32mOK [0m r_eow2
[32mOK [0m l_eow2
[32mOK [0m x_eow2
[32mOK [0m r_eow2
tput: No value for $TERM and no -T specified
TEST test_mark_move_to
tput: No value for $TERM and no -T specified
[32mOK [0m lin1
[32mOK [0m col1
[32mOK [0m lin2
[32mOK [0m col2
[32mOK [0m lin3
[32mOK [0m col3
[32mOK [0m lin4
[32mOK [0m col4
[32mOK [0m oob1lin
[32mOK [0m oob1col
[32mOK [0m oob2lin
[32mOK [0m oob2col
[32mOK [0m oob3lin
[32mOK [0m oob3col
tput: No value for $TERM and no -T specified
TEST test_mark_delete_between_mark
tput: No value for $TERM and no -T specified
[32mOK [0m count
tput: No value for $TERM and no -T specified
TEST test_mark_lettered
tput: No value for $TERM and no -T specified
[32mOK [0m neq1
[32mOK [0m let
[32mOK [0m let
[32mOK [0m neq2
[32mOK [0m null
tput: No value for $TERM and no -T specified
TEST test_buffer_get_bline
tput: No value for $TERM and no -T specified
[32mOK [0m line
[32mOK [0m line
[32mOK [0m line
[32mOK [0m line
[32mOK [0m line
[32mOK [0m line
tput: No value for $TERM and no -T specified
TEST test_mark_move_next_str
tput: No value for $TERM and no -T specified
[32mOK [0m line1
[32mOK [0m col1
[32mOK [0m line1again
[32mOK [0m col1again
[32mOK [0m line2
[32mOK [0m col2
[32mOK [0m line3
[32mOK [0m col3
tput: No value for $TERM and no -T specified
TEST test_recalloc
tput: No value for $TERM and no -T specified
[32mOK [0m preserve_a
[32mOK [0m preserve_b
[32mOK [0m zerod
tput: No value for $TERM and no -T specified
TEST test_buffer_add_mark
tput: No value for $TERM and no -T specified
[32mOK [0m mark0bline
[32mOK [0m mark0col
[32mOK [0m mark1bline
[32mOK [0m mark1col
tput: No value for $TERM and no -T specified
TEST test_mark_move_by
tput: No value for $TERM and no -T specified
[32mOK [0m col1
[32mOK [0m col2
[32mOK [0m col3
[32mOK [0m line3
[32mOK [0m col4
[32mOK [0m line4
tput: No value for $TERM and no -T specified
TEST test_buffer_get_bline_col
tput: No value for $TERM and no -T specified
[32mOK [0m 0line
[32mOK [0m 0col
[32mOK [0m 1line
[32mOK [0m 1col
[32mOK [0m 5line
[32mOK [0m 5col
[32mOK [0m 6line
[32mOK [0m 6col
[32mOK [0m oobline
[32mOK [0m oobcol
tput: No value for $TERM and no -T specified
TEST test_buffer_replace
tput: No value for $TERM and no -T specified
[32mOK [0m rpl1
[32mOK [0m r1bc
[32mOK [0m r1lc
[32mOK [0m rpl2
[32mOK [0m r2bc
[32mOK [0m r2lc
[32mOK [0m rpl3
[31mERR[0m r3bc expected=14 observed=0
tput: No value for $TERM and no -T specified
TEST test_buffer_get
tput: No value for $TERM and no -T specified
[32mOK [0m len
[32mOK [0m get
tput: No value for $TERM and no -T specified
TEST test_buffer_remove_srule
tput: No value for $TERM and no -T specified
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
tput: No value for $TERM and no -T specified
TEST test_mark_delete_between_mark_2
tput: No value for $TERM and no -T specified
[32mOK [0m lnct
[32mOK [0m data
[32mOK [0m clin
[32mOK [0m ccol
[32mOK [0m olin
[32mOK [0m ocol
tput: No value for $TERM and no -T specified
TEST test_mark_move_prev_str
tput: No value for $TERM and no -T specified
[32mOK [0m line3
[32mOK [0m col3
[32mOK [0m line2
[32mOK [0m col2
[32mOK [0m line1
[32mOK [0m col1
tput: No value for $TERM and no -T specified
TEST test_mark_is_gt
tput: No value for $TERM and no -T specified
[32mOK [0m gt
[32mOK [0m ngt1
[32mOK [0m ngt2
[32mOK [0m ngt3
tput: No value for $TERM and no -T specified
TEST test_buffer_destroy
tput: No value for $TERM and no -T specified
[32mOK [0m yes
tput: No value for $TERM and no -T specified
TEST test_bline_insert
tput: No value for $TERM and no -T specified
[32mOK [0m nl
[32mOK [0m my
[32mOK [0m bol
[32mOK [0m eol
[32mOK [0m oob
tput: No value for $TERM and no -T specified
TEST test_buffer_new
tput: No value for $TERM and no -T specified
[32mOK [0m yes
tput: No value for $TERM and no -T specified
TEST test_mark_delete_before
tput: No value for $TERM and no -T specified
[32mOK [0m delb
tput: No value for $TERM and no -T specified
TEST test_mark_insert_before
tput: No value for $TERM and no -T specified
[32mOK [0m insb
[32mOK [0m col
tput: No value for $TERM and no -T specified
TEST test_buffer_redo
tput: No value for $TERM and no -T specified
[32mOK [0m del
[32mOK [0m ins
tput: No value for $TERM and no -T specified
TEST test_mark_get_offset
tput: No value for $TERM and no -T specified
[32mOK [0m offset
[32mOK [0m offset
tput: No value for $TERM and no -T specified
TEST test_mark_move_prev_re
tput: No value for $TERM and no -T specified
[32mOK [0m line3
[32mOK [0m col3
[32mOK [0m line2
[32mOK [0m col2
[32mOK [0m line1
[32mOK [0m col1
[32mOK [0m cflex_line
[32mOK [0m cflex_col
tput: No value for $TERM and no -T specified
TEST test_buffer_add_srule
tput: No value for $TERM and no -T specified
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line1fg
[32mOK [0m line1bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line2fg
[32mOK [0m line2bg
[32mOK [0m line1fg_m
[32mOK [0m line1bg_m
[32mOK [0m line1fg_m
[32mOK [0m line1bg_m
[32mOK [0m line1fg_m
[32mOK [0m line1bg_m
[32mOK [0m line1fg_m
[32mOK [0m line1bg_m
[32mOK [0m line1fg_m
[32mOK [0m line1bg_m
[32mOK [0m line2fg_m
[32mOK [0m line2bg_m
[32mOK [0m line2fg_m
[32mOK [0m line2bg_m
[32mOK [0m line2fg_m
[32mOK [0m line2bg_m
[32mOK [0m line2fg_m
[32mOK [0m line2bg_m
[32mOK [0m line2fg_m
[32mOK [0m line2bg_m
tput: No value for $TERM and no -T specified
TEST test_buffer_set_callback
tput: No value for $TERM and no -T specified
[32mOK [0m bufp
[32mOK [0m udata
[32mOK [0m bac_type
[32mOK [0m bac_buf
[32mOK [0m bac_start_line
[32mOK [0m bac_start_line_index
[32mOK [0m bac_start_col
[32mOK [0m bac_maybe_end_line
[32mOK [0m bac_maybe_end_line_index
[32mOK [0m bac_maybe_end_col
[32mOK [0m bac_byte_delta
[32mOK [0m bac_char_delta
[32mOK [0m bac_line_delta
[32mOK [0m bac_data
tput: No value for $TERM and no -T specified
TEST test_mark_move_offset
tput: No value for $TERM and no -T specified
[32mOK [0m col1
[32mOK [0m line1
[32mOK [0m col2
[32mOK [0m line2
[32mOK [0m oobcol
[32mOK [0m oobline
tput: No value for $TERM and no -T specified
TEST test_bline_get_col
tput: No value for $TERM and no -T specified
[32mOK [0m len
[32mOK [0m 0
[32mOK [0m 1
[32mOK [0m 2
[32mOK [0m 3
[32mOK [0m 7
[32mOK [0m 9
[32mOK [0m 10
[32mOK [0m 11
[32mOK [0m 13
tput: No value for $TERM and no -T specified
TEST test_mark_find_bracket_pair
tput: No value for $TERM and no -T specified
[32mOK [0m col1
[32mOK [0m col2
tput: No value for $TERM and no -T specified
TEST test_buffer_register
tput: No value for $TERM and no -T specified
[32mOK [0m set
[32mOK [0m pre
[32mOK [0m app
[32mOK [0m clr1
[32mOK [0m clr2
tput: No value for $TERM and no -T specified
TEST test_buffer_set
tput: No value for $TERM and no -T specified
[32mOK [0m set
tput: No value for $TERM and no -T specified
TEST test_buffer_set_tab_width
tput: No value for $TERM and no -T specified
[32mOK [0m count4
[32mOK [0m width4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m vcol4
[32mOK [0m count2a
[32mOK [0m width2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m vcol2a
[32mOK [0m count2b
[32mOK [0m width2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
[32mOK [0m vcol2b
tput: No value for $TERM and no -T specified
TEST test_mark_move_bracket_pair
tput: No value for $TERM and no -T specified
[32mOK [0m col1
[32mOK [0m col2
tput: No value for $TERM and no -T specified
TEST test_buffer_undo
tput: No value for $TERM and no -T specified
[32mOK [0m del
[32mOK [0m ins
tput: No value for $TERM and no -T specified
TEST test_mark_move_eol
tput: No value for $TERM and no -T specified
[32mOK [0m line
[32mOK [0m col
tput: No value for $TERM and no -T specified
TEST test_mark_clone
tput: No value for $TERM and no -T specified
[32mOK [0m neq
[32mOK [0m next
[32mOK [0m line
[32mOK [0m col
tput: No value for $TERM and no -T specified
TEST test_mark_get_between_mark
tput: No value for $TERM and no -T specified
[32mOK [0m len
[32mOK [0m eq
tput: No value for $TERM and no -T specified
TEST test_bline_delete
tput: No value for $TERM and no -T specified
[32mOK [0m bol
[32mOK [0m noop
[32mOK [0m eol
[32mOK [0m mid
[32mOK [0m oob
[32mOK [0m eatnl
tput: No value for $TERM and no -T specified
TEST test_search_replace.sh
tput: No value for $TERM and no -T specified
[32mOK [0m search_cursor_line
[32mOK [0m search_cursor_col
[32mOK [0m next_cursor_line
[32mOK [0m next_cursor_col
[32mOK [0m next-wrap_cursor_col
[32mOK [0m next-wrap_cursor_line
[32mOK [0m find_cursor_line
[32mOK [0m find_cursor_col
[32mOK [0m find-wrap_cursor_line
[32mOK [0m find-wrap_cursor_col
[32mOK [0m isearch_cursor_line
[32mOK [0m iesarch_cursor_col
[32mOK [0m replace1_data
[32mOK [0m replace2_data
[32mOK [0m replace3_data2
[32mOK [0m replace3_data3
[32mOK [0m replace3_data1
[32mOK [0m history_col
[32mOK [0m history_line
tput: No value for $TERM and no -T specified
TEST test_move.sh
tput: No value for $TERM and no -T specified
[32mOK [0m dpad_cursor_line
[32mOK [0m dpad_cursor_col
[32mOK [0m bol_cursor_line
[32mOK [0m bol_cursor_col
[32mOK [0m eol_cursor_col
[32mOK [0m eol_cursor_line
[32mOK [0m beg-end_cursor_line
[32mOK [0m beg-end_cursor_col
[32mOK [0m to-line_cursor_col
[32mOK [0m relative_cursor_col
[32mOK [0m until_cursor_col
[32mOK [0m word_cursor_col
[32mOK [0m bracket_cursor_col
[32mOK [0m bracket_toggle_b
[32mOK [0m bracket_toggle_line
[32mOK [0m bracket_toggle_a
[32mOK [0m bracket_toggle_col
[32mOK [0m jump_cursor_col
tput: No value for $TERM and no -T specified
TEST test_indent_outdent.sh
tput: No value for $TERM and no -T specified
[32mOK [0m indent_data
[32mOK [0m outdent_data
[32mOK [0m sel-indent_data2
[32mOK [0m sel-indent_data1
[32mOK [0m sel-indent_data2
[32mOK [0m sel-indent_data1
tput: No value for $TERM and no -T specified
TEST test_lua.sh
tput: No value for $TERM and no -T specified
[32mOK [0m simple_data
[32mOK [0m open_bview_count
[32mOK [0m open_data2
[32mOK [0m open_data1
[32mOK [0m prompt_data
[32mOK [0m observer_data
[32mOK [0m observer_data2
[32mOK [0m observer_output1
[32mOK [0m observer_data1
tput: No value for $TERM and no -T specified
TEST test_show_help.sh
tput: No value for $TERM and no -T specified
[32mOK [0m help
tput: No value for $TERM and no -T specified
TEST test_cut_copy.sh
tput: No value for $TERM and no -T specified
[32mOK [0m cut_data
[32mOK [0m uncut_data
[32mOK [0m copy_data
[32mOK [0m sel-cut_data
[32mOK [0m sel-uncut_data
[32mOK [0m sel-copy_data
[32mOK [0m cut-by-bracket_data
[32mOK [0m cut-by-word_data
[32mOK [0m cut-by-word-back_data
[32mOK [0m cut-by-word-forward_data
[32mOK [0m cut-by-bol_data
[32mOK [0m cut-by-eol_data
[32mOK [0m cut-by-eol_data
[32mOK [0m global-cut-buffer_data
tput: No value for $TERM and no -T specified
TEST test_window.sh
tput: No value for $TERM and no -T specified
[32mOK [0m new_bview_count
[32mOK [0m close_bview_count
[32mOK [0m new2_data1
[32mOK [0m new2_data2
[32mOK [0m next-prev_data2
[32mOK [0m next-prev_data1
tput: No value for $TERM and no -T specified
TEST test_insert.sh
tput: No value for $TERM and no -T specified
[31mERR[0m a_byte_count expected=^bview.0.buffer.byte_count=12$
bview.0.cursor.0.mark.line_index=2
bview.0.cursor.0.mark.col=0
bview.0.cursor_count=1
bview.0.buffer.byte_count=-1850731520
bview.0.buffer.line_count=-1850731520
bview.0.buffer.data_begin
hello
world
bview.0.buffer.data_end
bview_count=1
tput: No value for $TERM and no -T specified
TEST test_undo_redo.sh
tput: No value for $TERM and no -T specified
[32mOK [0m undo_data
[32mOK [0m redo_data
tput: No value for $TERM and no -T specified
TEST test_multi_cursor.sh
tput: No value for $TERM and no -T specified
[32mOK [0m isearch_cursor_count
[32mOK [0m isearch_data
[32mOK [0m drop-wake_cursor_count
[32mOK [0m drop-wake_data
[32mOK [0m column_cursor_count
[32mOK [0m column_data1
[32mOK [0m column_data2
[32mOK [0m column_data3
tput: No value for $TERM and no -T specified
TEST test_shell.sh
tput: No value for $TERM and no -T specified
[32mOK [0m shell_data
tput: No value for $TERM and no -T specified
TEST test_delete.sh
tput: No value for $TERM and no -T specified
[31mERR[0m bs_byte_count expected=^bview.0.buffer.byte_count=3$
bview.0.cursor.0.mark.line_index=0
bview.0.cursor.0.mark.col=3
bview.0.cursor_count=1
bview.0.buffer.byte_count=564514560
bview.0.buffer.line_count=564514560
bview.0.buffer.data_begin
foo
bview.0.buffer.data_end
bview_count=1
Passed 59 out of 62 tests
make[3]: *** [Makefile:2: all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:43: test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2018-12-27T07:05:59Z
Finished
--------
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build-Space: 41620
Build-Time: 25
Distribution: buster-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 117
Job: mle_1.3-1
Machine Architecture: armhf
Package: mle
Package-Time: 159
Source-Version: 1.3-1
Space: 41620
Status: attempted
Version: 1.3-1
--------------------------------------------------------------------------------
Finished at 2018-12-27T07:05:59Z
Build needed 00:02:39, 41620k disk space