==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/libcork ./ PKGBUILD 743 100% 0.00kB/s 0:00:00 743 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) libcork-0.15.0-3.log 239 100% 233.40kB/s 0:00:00 239 100% 233.40kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 809 bytes received 96 bytes 362.00 bytes/sec total size is 935 speedup is 1.03 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root24 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (2) Old Version New Version Net Change Download Size core/util-linux 2.39-9 2.39-10 0.00 MiB 2.71 MiB core/util-linux-libs 2.39-9 2.39-10 0.00 MiB 0.47 MiB Total Download Size: 3.18 MiB Total Installed Size: 13.86 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... util-linux-2.39-10-riscv64 downloading... util-linux-libs-2.39-10-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading util-linux-libs... upgrading util-linux... [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root24]...done ==> Making package: libcork 0.15.0-3 (Wed Jun 21 08:04:27 2023) ==> Retrieving sources...  -> Cloning libcork git repo... Cloning into bare repository '/home/felix/packages/libcork/libcork'... remote: Enumerating objects: 4821, done. remote: Counting objects: 1% (1/84) remote: Counting objects: 2% (2/84) remote: Counting objects: 3% (3/84) remote: Counting objects: 4% (4/84) remote: Counting objects: 5% (5/84) remote: Counting objects: 7% (6/84) remote: Counting objects: 8% (7/84) remote: Counting objects: 9% (8/84) remote: Counting objects: 10% (9/84) remote: Counting objects: 11% (10/84) remote: Counting objects: 13% (11/84) remote: Counting objects: 14% (12/84) remote: Counting objects: 15% (13/84) remote: Counting objects: 16% (14/84) remote: Counting objects: 17% (15/84) remote: Counting objects: 19% (16/84) remote: Counting objects: 20% (17/84) remote: Counting objects: 21% (18/84) remote: Counting objects: 22% (19/84) remote: Counting objects: 23% (20/84) remote: Counting objects: 25% (21/84) remote: Counting objects: 26% (22/84) remote: Counting objects: 27% (23/84) remote: Counting objects: 28% (24/84) remote: Counting objects: 29% (25/84) remote: Counting objects: 30% (26/84) remote: Counting objects: 32% (27/84) remote: Counting objects: 33% (28/84) remote: Counting objects: 34% (29/84) remote: Counting objects: 35% (30/84) remote: Counting objects: 36% (31/84) remote: Counting objects: 38% (32/84) remote: Counting objects: 39% (33/84) remote: Counting objects: 40% (34/84) remote: Counting objects: 41% (35/84) remote: Counting objects: 42% (36/84) remote: Counting objects: 44% (37/84) remote: Counting objects: 45% (38/84) remote: Counting objects: 46% (39/84) remote: Counting objects: 47% (40/84) remote: Counting objects: 48% (41/84) remote: Counting objects: 50% (42/84) remote: Counting objects: 51% (43/84) remote: Counting objects: 52% (44/84) remote: Counting objects: 53% (45/84) remote: Counting objects: 54% (46/84) remote: Counting objects: 55% (47/84) remote: Counting objects: 57% (48/84) remote: Counting objects: 58% (49/84) remote: Counting objects: 59% (50/84) remote: Counting objects: 60% (51/84) remote: Counting objects: 61% (52/84) remote: Counting objects: 63% (53/84) remote: Counting objects: 64% (54/84) remote: Counting objects: 65% (55/84) remote: Counting objects: 66% (56/84) remote: Counting objects: 67% (57/84) remote: Counting objects: 69% (58/84) remote: Counting objects: 70% (59/84) remote: Counting objects: 71% (60/84) remote: Counting objects: 72% (61/84) remote: Counting objects: 73% (62/84) remote: Counting objects: 75% (63/84) remote: Counting objects: 76% (64/84) remote: Counting objects: 77% (65/84) remote: Counting objects: 78% (66/84) remote: Counting objects: 79% (67/84) remote: Counting objects: 80% (68/84) remote: Counting objects: 82% (69/84) remote: Counting objects: 83% (70/84) remote: Counting objects: 84% (71/84) remote: Counting objects: 85% (72/84) remote: Counting objects: 86% (73/84) remote: Counting objects: 88% (74/84) remote: Counting objects: 89% (75/84) remote: Counting objects: 90% (76/84) remote: Counting objects: 91% (77/84) remote: Counting objects: 92% (78/84) remote: Counting objects: 94% (79/84) remote: Counting objects: 95% (80/84) remote: Counting objects: 96% (81/84) remote: Counting objects: 97% (82/84) remote: Counting objects: 98% (83/84) remote: Counting objects: 100% (84/84) remote: Counting objects: 100% (84/84), done. remote: Compressing objects: 1% (1/73) remote: Compressing objects: 2% (2/73) remote: Compressing objects: 4% (3/73) remote: Compressing objects: 5% (4/73) remote: Compressing objects: 6% (5/73) remote: Compressing objects: 8% (6/73) remote: Compressing objects: 9% (7/73) remote: Compressing objects: 10% (8/73) remote: Compressing objects: 12% (9/73) remote: Compressing objects: 13% (10/73) remote: Compressing objects: 15% (11/73) remote: Compressing objects: 16% (12/73) remote: Compressing objects: 17% (13/73) remote: Compressing objects: 19% (14/73) remote: Compressing objects: 20% (15/73) remote: Compressing objects: 21% (16/73) remote: Compressing objects: 23% (17/73) remote: Compressing objects: 24% (18/73) remote: Compressing objects: 26% (19/73) remote: Compressing objects: 27% (20/73) remote: Compressing objects: 28% (21/73) remote: Compressing objects: 30% (22/73) remote: Compressing objects: 31% (23/73) remote: Compressing objects: 32% (24/73) remote: Compressing objects: 34% (25/73) remote: Compressing objects: 35% (26/73) remote: Compressing objects: 36% (27/73) remote: Compressing objects: 38% (28/73) remote: Compressing objects: 39% (29/73) remote: Compressing objects: 41% (30/73) remote: Compressing objects: 42% (31/73) remote: Compressing objects: 43% (32/73) remote: Compressing objects: 45% (33/73) remote: Compressing objects: 46% (34/73) remote: Compressing objects: 47% (35/73) remote: Compressing objects: 49% (36/73) remote: Compressing objects: 50% (37/73) remote: Compressing objects: 52% (38/73) remote: Compressing objects: 53% (39/73) remote: Compressing objects: 54% (40/73) remote: Compressing objects: 56% (41/73) remote: Compressing objects: 57% (42/73) remote: Compressing objects: 58% (43/73) remote: Compressing objects: 60% (44/73) remote: Compressing objects: 61% (45/73) remote: Compressing objects: 63% (46/73) remote: Compressing objects: 64% (47/73) remote: Compressing objects: 65% (48/73) remote: Compressing objects: 67% (49/73) remote: Compressing objects: 68% (50/73) remote: Compressing objects: 69% (51/73) remote: Compressing objects: 71% (52/73) remote: Compressing objects: 72% (53/73) remote: Compressing objects: 73% (54/73) remote: Compressing objects: 75% (55/73) remote: Compressing objects: 76% (56/73) remote: Compressing objects: 78% (57/73) remote: Compressing objects: 79% (58/73) remote: Compressing objects: 80% (59/73) remote: Compressing objects: 82% (60/73) remote: Compressing objects: 83% (61/73) remote: Compressing objects: 84% (62/73) remote: Compressing objects: 86% (63/73) remote: Compressing objects: 87% (64/73) remote: Compressing objects: 89% (65/73) remote: Compressing objects: 90% (66/73) remote: Compressing objects: 91% (67/73) remote: Compressing objects: 93% (68/73) remote: Compressing objects: 94% (69/73) remote: Compressing objects: 95% (70/73) remote: Compressing objects: 97% (71/73) remote: Compressing objects: 98% (72/73) remote: Compressing objects: 100% (73/73) remote: Compressing objects: 100% (73/73), done. Receiving objects: 0% (1/4821) Receiving objects: 1% (49/4821) Receiving objects: 2% (97/4821) Receiving objects: 3% (145/4821) Receiving objects: 4% (193/4821) Receiving objects: 5% (242/4821) Receiving objects: 6% (290/4821) Receiving objects: 7% (338/4821) Receiving objects: 8% (386/4821) Receiving objects: 9% (434/4821) Receiving objects: 10% (483/4821) Receiving objects: 11% (531/4821) Receiving objects: 12% (579/4821) Receiving objects: 13% (627/4821) Receiving objects: 14% (675/4821) Receiving objects: 15% (724/4821) Receiving objects: 16% (772/4821) Receiving objects: 17% (820/4821) Receiving objects: 18% (868/4821) Receiving objects: 19% (916/4821) Receiving objects: 20% (965/4821) Receiving objects: 21% (1013/4821) Receiving objects: 22% (1061/4821) Receiving objects: 23% (1109/4821) Receiving objects: 24% (1158/4821) Receiving objects: 25% (1206/4821) Receiving objects: 26% (1254/4821) Receiving objects: 27% (1302/4821) Receiving objects: 28% (1350/4821) Receiving objects: 29% (1399/4821) Receiving objects: 30% (1447/4821) Receiving objects: 31% (1495/4821) Receiving objects: 32% (1543/4821) Receiving objects: 33% (1591/4821) Receiving objects: 34% (1640/4821) Receiving objects: 35% (1688/4821) Receiving objects: 36% (1736/4821) Receiving objects: 37% (1784/4821) Receiving objects: 38% (1832/4821) Receiving objects: 39% (1881/4821) Receiving objects: 40% (1929/4821) Receiving objects: 41% (1977/4821) Receiving objects: 42% (2025/4821) Receiving objects: 43% (2074/4821) Receiving objects: 44% (2122/4821) Receiving objects: 45% (2170/4821) Receiving objects: 46% (2218/4821) Receiving objects: 47% (2266/4821) Receiving objects: 48% (2315/4821) Receiving objects: 49% (2363/4821) Receiving objects: 50% (2411/4821) Receiving objects: 51% (2459/4821) Receiving objects: 52% (2507/4821) Receiving objects: 53% (2556/4821) Receiving objects: 54% (2604/4821) Receiving objects: 55% (2652/4821) Receiving objects: 56% (2700/4821) Receiving objects: 57% (2748/4821) Receiving objects: 58% (2797/4821) Receiving objects: 59% (2845/4821) Receiving objects: 60% (2893/4821) Receiving objects: 61% (2941/4821) Receiving objects: 62% (2990/4821) Receiving objects: 63% (3038/4821) Receiving objects: 64% (3086/4821) Receiving objects: 65% (3134/4821) Receiving objects: 66% (3182/4821) Receiving objects: 67% (3231/4821) Receiving objects: 68% (3279/4821) Receiving objects: 69% (3327/4821) Receiving objects: 70% (3375/4821) Receiving objects: 71% (3423/4821) Receiving objects: 72% (3472/4821) Receiving objects: 73% (3520/4821) Receiving objects: 74% (3568/4821) Receiving objects: 75% (3616/4821) Receiving objects: 76% (3664/4821) Receiving objects: 77% (3713/4821) Receiving objects: 78% (3761/4821) Receiving objects: 79% (3809/4821) Receiving objects: 80% (3857/4821) Receiving objects: 81% (3906/4821) Receiving objects: 82% (3954/4821) Receiving objects: 83% (4002/4821) Receiving objects: 84% (4050/4821) Receiving objects: 85% (4098/4821) Receiving objects: 86% (4147/4821) Receiving objects: 87% (4195/4821) Receiving objects: 88% (4243/4821) Receiving objects: 89% (4291/4821) Receiving objects: 90% (4339/4821) Receiving objects: 91% (4388/4821) Receiving objects: 92% (4436/4821) Receiving objects: 93% (4484/4821) Receiving objects: 94% (4532/4821) Receiving objects: 95% (4580/4821) Receiving objects: 96% (4629/4821) remote: Total 4821 (delta 29), reused 24 (delta 9), pack-reused 4737 Receiving objects: 97% (4677/4821) Receiving objects: 98% (4725/4821) Receiving objects: 99% (4773/4821) Receiving objects: 100% (4821/4821) Receiving objects: 100% (4821/4821), 1.66 MiB | 13.91 MiB/s, done. Resolving deltas: 0% (0/2637) Resolving deltas: 1% (27/2637) Resolving deltas: 2% (56/2637) Resolving deltas: 3% (81/2637) Resolving deltas: 4% (107/2637) Resolving deltas: 5% (132/2637) Resolving deltas: 6% (159/2637) Resolving deltas: 7% (186/2637) Resolving deltas: 8% (212/2637) Resolving deltas: 9% (238/2637) Resolving deltas: 10% (264/2637) Resolving deltas: 11% (292/2637) Resolving deltas: 12% (317/2637) Resolving deltas: 13% (345/2637) Resolving deltas: 14% (371/2637) Resolving deltas: 15% (396/2637) Resolving deltas: 16% (426/2637) Resolving deltas: 17% (449/2637) Resolving deltas: 18% (475/2637) Resolving deltas: 19% (502/2637) Resolving deltas: 20% (530/2637) Resolving deltas: 21% (554/2637) Resolving deltas: 22% (582/2637) Resolving deltas: 23% (607/2637) Resolving deltas: 24% (633/2637) Resolving deltas: 25% (660/2637) Resolving deltas: 26% (686/2637) Resolving deltas: 27% (713/2637) Resolving deltas: 28% (740/2637) Resolving deltas: 29% (765/2637) Resolving deltas: 30% (792/2637) Resolving deltas: 31% (822/2637) Resolving deltas: 32% (844/2637) Resolving deltas: 33% (871/2637) Resolving deltas: 34% (897/2637) Resolving deltas: 35% (924/2637) Resolving deltas: 36% (952/2637) Resolving deltas: 37% (976/2637) Resolving deltas: 38% (1003/2637) Resolving deltas: 39% (1029/2637) Resolving deltas: 40% (1056/2637) Resolving deltas: 41% (1082/2637) Resolving deltas: 42% (1108/2637) Resolving deltas: 43% (1134/2637) Resolving deltas: 44% (1161/2637) Resolving deltas: 45% (1187/2637) Resolving deltas: 46% (1214/2637) Resolving deltas: 47% (1240/2637) Resolving deltas: 48% (1267/2637) Resolving deltas: 49% (1293/2637) Resolving deltas: 50% (1319/2637) Resolving deltas: 51% (1345/2637) Resolving deltas: 52% (1372/2637) Resolving deltas: 53% (1400/2637) Resolving deltas: 54% (1425/2637) Resolving deltas: 55% (1451/2637) Resolving deltas: 56% (1480/2637) Resolving deltas: 57% (1509/2637) Resolving deltas: 58% (1530/2637) Resolving deltas: 59% (1556/2637) Resolving deltas: 60% (1584/2637) Resolving deltas: 61% (1609/2637) Resolving deltas: 62% (1635/2637) Resolving deltas: 63% (1663/2637) Resolving deltas: 64% (1688/2637) Resolving deltas: 65% (1715/2637) Resolving deltas: 66% (1742/2637) Resolving deltas: 67% (1767/2637) Resolving deltas: 68% (1794/2637) Resolving deltas: 69% (1821/2637) Resolving deltas: 70% (1846/2637) Resolving deltas: 71% (1875/2637) Resolving deltas: 72% (1899/2637) Resolving deltas: 73% (1926/2637) Resolving deltas: 74% (1952/2637) Resolving deltas: 75% (1979/2637) Resolving deltas: 76% (2005/2637) Resolving deltas: 77% (2031/2637) Resolving deltas: 78% (2058/2637) Resolving deltas: 79% (2084/2637) Resolving deltas: 80% (2110/2637) Resolving deltas: 81% (2136/2637) Resolving deltas: 82% (2163/2637) Resolving deltas: 83% (2192/2637) Resolving deltas: 84% (2216/2637) Resolving deltas: 85% (2242/2637) Resolving deltas: 86% (2268/2637) Resolving deltas: 87% (2295/2637) Resolving deltas: 88% (2321/2637) Resolving deltas: 89% (2347/2637) Resolving deltas: 90% (2374/2637) Resolving deltas: 91% (2400/2637) Resolving deltas: 92% (2430/2637) Resolving deltas: 93% (2453/2637) Resolving deltas: 94% (2479/2637) Resolving deltas: 95% (2506/2637) Resolving deltas: 96% (2532/2637) Resolving deltas: 97% (2558/2637) Resolving deltas: 98% (2585/2637) Resolving deltas: 99% (2611/2637) Resolving deltas: 100% (2637/2637) Resolving deltas: 100% (2637/2637), done. ==> Validating source files with sha256sums... libcork ... Skipped ==> Making package: libcork 0.15.0-3 (Wed Jun 21 08:04:37 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libnsl 2.0.0-3 0.06 MiB extra/libuv 1.44.2-1 0.52 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/rhash 1.4.3-1 0.31 MiB extra/check 0.15.2-2 0.17 MiB extra/cmake 3.26.4-1 59.86 MiB extra/git 2.41.0-1 34.87 MiB core/python 3.11.3-1 104.68 MiB Total Installed Size: 201.99 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing check... Optional dependencies for check check-docs: Documentation installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Updating the info directory file... [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of libcork git repo... Cloning into 'libcork'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:9 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'check' -- Found check, version 0.15.2 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PythonInterp: /usr/bin/python (found version "3.11.3") CMake Warning at docs/old/CMakeLists.txt:25 (message): Unable to find Sphinx documentation generator -- Configuring done (8.4s) -- Generating done (0.2s) -- Build files have been written to: /build/libcork/src/build [ 2%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o [ 2%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o [ 6%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o [ 6%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o [ 6%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o [ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o [ 8%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o [ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o [ 10%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o [ 9%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o [ 12%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o [ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/gc.c.o [ 10%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o [ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o [ 12%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o [ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o [ 14%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o [ 15%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o [ 16%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o [ 17%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o [ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o [ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o [ 19%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o [ 20%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o [ 21%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o [ 22%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o [ 23%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o [ 24%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o [ 25%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o [ 26%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o [ 26%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o [ 27%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o [ 27%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o [ 28%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o [ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o [ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o [ 31%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o [ 32%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o [ 34%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o [ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o [ 35%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o [ 36%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o [ 37%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o [ 38%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o [ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o [ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o [ 40%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o [ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o [ 41%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o [ 42%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/process.c.o [ 43%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o [ 44%] Building C object src/CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o [ 45%] Linking C shared library libcork.so [ 46%] Linking C static library libcork.a [ 46%] Built target libcork-static [ 46%] Building C object tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o [ 49%] Building C object tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o [ 52%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o [ 53%] Building C object tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o [ 53%] Building C object tests/CMakeFiles/embedded-test-gc.dir/test-gc.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o [ 55%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o [ 56%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o [ 57%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o [ 58%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o [ 58%] Building C object tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o In file included from /build/libcork/src/libcork/tests/test-bitset.c:14: /build/libcork/src/libcork/tests/test-bitset.c: In function ‘test_bitset_of_size’: /build/libcork/src/libcork/tests/test-bitset.c:34:46: error: too many arguments for format [-Werror=format-extra-args] 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-bitset.c:39:42: error: too many arguments for format [-Werror=format-extra-args] 39 | fail_if(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-ring-buffer.c:14: /build/libcork/src/libcork/tests/test-ring-buffer.c: In function ‘test_ring_buffer_1_fn’: In file included from /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c: In function ‘check_buffers’: In file included from /build/libcork/src/libcork/tests/test-slice.c:14: /build/libcork/src/libcork/tests/test-slice.c: In function ‘test_static_slice_fn’: /build/libcork/src/libcork/tests/test-ring-buffer.c:32:17: error: too many arguments for format [-Werror=format-extra-args] 32 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:33:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘void *’ [-Werror=format=] 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); | ~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/test-ring-buffer.c:34:17: error: too many arguments for format [-Werror=format-extra-args] 34 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:36:17: error: too many arguments for format [-Werror=format-extra-args] 36 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:33:52: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /build/libcork/src/libcork/tests/test-managed-buffer.c:13: /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_managed_buffer_refcount_fn’: /build/libcork/src/libcork/tests/test-ring-buffer.c:38:17: error: too many arguments for format [-Werror=format-extra-args] 38 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:34:5: note: in expansion of macro ‘fail_if_error’ 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:33:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘void *’ [-Werror=format=] 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); | ~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/test-buffer.c:33:69: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p /build/libcork/src/libcork/tests/test-buffer.c:33:17: error: too many arguments for format [-Werror=format-extra-args] 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:40:13: error: too many arguments for format [-Werror=format-extra-args] 40 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:35:5: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:43:17: error: too many arguments for format [-Werror=format-extra-args] 43 | "Unexpected head of ring buffer (peek)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:36:5: note: in expansion of macro ‘fail_if_error’ 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:45:17: error: too many arguments for format [-Werror=format-extra-args] 45 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:37:51: error: too many arguments for format [-Werror=format-extra-args] 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘check_buffer’: /build/libcork/src/libcork/tests/test-buffer.c:42:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘void *’ [-Werror=format=] 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | buf->size, buf->buf, expected_len, expected); | ~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/test-ring-buffer.c:47:17: error: too many arguments for format [-Werror=format-extra-args] 47 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:42:54: note: format string is defined here 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /build/libcork/src/libcork/tests/test-dllist.c:14: /build/libcork/src/libcork/tests/test-dllist.c: In function ‘check_int64_list’: /build/libcork/src/libcork/tests/test-buffer.c:42:17: error: too many arguments for format [-Werror=format-extra-args] 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:38:52: error: too many arguments for format [-Werror=format-extra-args] 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:50:17: error: too many arguments for format [-Werror=format-extra-args] 50 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:74:5: note: in expansion of macro ‘fail_if_error’ 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:52:17: error: too many arguments for format [-Werror=format-extra-args] 52 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:54:13: error: too many arguments for format [-Werror=format-extra-args] 54 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c: In function ‘test_copy_once_slice_fn’: /build/libcork/src/libcork/tests/test-slice.c:63:35: error: too many arguments for format [-Werror=format-extra-args] 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:85:17: error: too many arguments for format [-Werror=format-extra-args] 85 | "Managed buffer free function never called."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:57:17: error: too many arguments for format [-Werror=format-extra-args] 57 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:59:17: error: too many arguments for format [-Werror=format-extra-args] 59 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:65:5: note: in expansion of macro ‘fail_if_error’ 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:68:35: error: too many arguments for format [-Werror=format-extra-args] 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:61:17: error: too many arguments for format [-Werror=format-extra-args] 61 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_managed_buffer_bad_refcount_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:100:5: note: in expansion of macro ‘fail_if_error’ 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_fn’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:59:5: note: in expansion of macro ‘fail_unless_streq’ 59 | fail_unless_streq("List contents", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:69:46: error: too many arguments for format [-Werror=format-extra-args] 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:63:17: error: too many arguments for format [-Werror=format-extra-args] 63 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:58:5: note: in expansion of macro ‘fail_if_error’ 58 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:112:13: error: too many arguments for format [-Werror=format-extra-args] 112 | "Managed buffer free function was called unexpectedly."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:65:17: error: too many arguments for format [-Werror=format-extra-args] 65 | "Shouldn't be able to pop from ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:71:5: note: in expansion of macro ‘fail_if_error’ 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:61:17: error: too many arguments for format [-Werror=format-extra-args] 61 | "Unexpected character at position 0: got %c, expected %c", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:72:5: note: in expansion of macro ‘fail_if_error’ 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_fn’: /build/libcork/src/libcork/tests/test-managed-buffer.c:131:23: error: too many arguments for format [-Werror=format-extra-args] 131 | "Shouldn't be able to slice a NULL buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:129:5: note: in expansion of macro ‘fail_unless_error’ 129 | fail_unless_error(cork_managed_buffer_slice | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:76:35: error: too many arguments for format [-Werror=format-extra-args] 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c: In function ‘test_ring_buffer_2_fn’: /build/libcork/src/libcork/tests/test-buffer.c:65:17: error: too many arguments for format [-Werror=format-extra-args] 65 | "Unexpected character at position 1: got %c, expected %c", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:77:17: error: too many arguments for format [-Werror=format-extra-args] 77 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:77:41: error: too many arguments for format [-Werror=format-extra-args] 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:68:5: note: in expansion of macro ‘fail_if_error’ 68 | fail_if_error(buffer2 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:134:23: error: too many arguments for format [-Werror=format-extra-args] 134 | "Shouldn't be able to slice a NULL buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:132:5: note: in expansion of macro ‘fail_unless_error’ 132 | fail_unless_error(cork_managed_buffer_slice_offset | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:80:51: error: too many arguments for format [-Werror=format-extra-args] 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:69:5: note: in expansion of macro ‘fail_if_error’ 69 | fail_if_error(cork_buffer_set_string(buffer2, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:81:17: error: too many arguments for format [-Werror=format-extra-args] 81 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:138:23: error: too many arguments for format [-Werror=format-extra-args] 138 | "Shouldn't be able to slice a NULL slice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:136:5: note: in expansion of macro ‘fail_unless_error’ 136 | fail_unless_error(cork_slice_copy | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c: In function ‘test_dllist_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:84:5: note: in expansion of macro ‘fail_if_error’ 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:72:5: note: in expansion of macro ‘fail_if_error’ 72 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:76:17: error: too many arguments for format [-Werror=format-extra-args] 76 | "Unexpected size of list: got %zu, expected 0", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:83:17: error: too many arguments for format [-Werror=format-extra-args] 83 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:85:35: error: too many arguments for format [-Werror=format-extra-args] 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:73:5: note: in expansion of macro ‘fail_if_error’ 73 | fail_if_error(cork_buffer_printf | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:141:23: error: too many arguments for format [-Werror=format-extra-args] 141 | "Shouldn't be able to slice a NULL slice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:139:5: note: in expansion of macro ‘fail_unless_error’ 139 | fail_unless_error(cork_slice_copy_offset | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:85:13: error: too many arguments for format [-Werror=format-extra-args] 85 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Expected empty list"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:86:42: error: too many arguments for format [-Werror=format-extra-args] 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:88:17: error: too many arguments for format [-Werror=format-extra-args] 88 | "Unexpected head of ring buffer (peek)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:88:5: note: in expansion of macro ‘fail_if_error’ 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:91:41: error: too many arguments for format [-Werror=format-extra-args] 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:85:17: error: too many arguments for format [-Werror=format-extra-args] 85 | "Unexpected size of list: got %zu, expected 1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_refcount_fn’: /build/libcork/src/libcork/tests/test-ring-buffer.c:90:17: error: too many arguments for format [-Werror=format-extra-args] 90 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_append_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:164:5: note: in expansion of macro ‘fail_if_error’ 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:109:5: note: in expansion of macro ‘fail_if_error’ 109 | fail_if_error(cork_buffer_set(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:92:41: error: too many arguments for format [-Werror=format-extra-args] 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:92:17: error: too many arguments for format [-Werror=format-extra-args] 92 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:116:5: note: in expansion of macro ‘fail_if_error’ 116 | fail_if_error(cork_buffer_append(&buffer1, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:92:17: error: too many arguments for format [-Werror=format-extra-args] 92 | "Unexpected size of list: got %zu, expected 2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:170:5: note: in expansion of macro ‘fail_if_error’ 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:93:51: error: too many arguments for format [-Werror=format-extra-args] 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:95:17: error: too many arguments for format [-Werror=format-extra-args] 95 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:117:5: note: in expansion of macro ‘fail_if_error’ 117 | fail_if_error(cork_buffer_append(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:94:51: error: too many arguments for format [-Werror=format-extra-args] 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:171:5: note: in expansion of macro ‘fail_if_error’ 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:97:17: error: too many arguments for format [-Werror=format-extra-args] 97 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:118:5: note: in expansion of macro ‘fail_if_error’ 118 | fail_if_error(cork_buffer_append_string(&buffer1, SRC3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:99:17: error: too many arguments for format [-Werror=format-extra-args] 99 | "Unexpected size of list: got %zu, expected 3", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:172:5: note: in expansion of macro ‘fail_if_error’ 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:119:5: note: in expansion of macro ‘fail_if_error’ 119 | fail_if_error(cork_buffer_append_string(&buffer1, SRC4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:99:13: error: too many arguments for format [-Werror=format-extra-args] 99 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:180:17: error: too many arguments for format [-Werror=format-extra-args] 180 | "Managed buffer free function never called."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:122:5: note: in expansion of macro ‘fail_if_error’ 122 | fail_if_error(cork_buffer_set_string(&buffer2, EXPECTED)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:102:17: error: too many arguments for format [-Werror=format-extra-args] 102 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:106:17: error: too many arguments for format [-Werror=format-extra-args] 106 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:125:5: note: in expansion of macro ‘fail_if_error’ 125 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:104:17: error: too many arguments for format [-Werror=format-extra-args] 104 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_bad_refcount_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:126:5: note: in expansion of macro ‘fail_if_error’ 126 | fail_if_error(cork_buffer_set(buffer3, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:199:5: note: in expansion of macro ‘fail_if_error’ 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:106:17: error: too many arguments for format [-Werror=format-extra-args] 106 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:114:17: error: too many arguments for format [-Werror=format-extra-args] 114 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:127:5: note: in expansion of macro ‘fail_if_error’ 127 | fail_if_error(cork_buffer_append_printf | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:205:5: note: in expansion of macro ‘fail_if_error’ 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:108:17: error: too many arguments for format [-Werror=format-extra-args] 108 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:119:17: error: too many arguments for format [-Werror=format-extra-args] 119 | "Unexpected size of list: got %zu, expected 2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘void *’ [-Werror=format=] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); | ~~~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:206:5: note: in expansion of macro ‘fail_if_error’ 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:110:17: error: too many arguments for format [-Werror=format-extra-args] 110 | "Shouldn't be able to pop from ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:132:52: note: format string is defined here 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘void *’ [-Werror=format=] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); | ~~~~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:207:5: note: in expansion of macro ‘fail_if_error’ 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:132:69: note: format string is defined here 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: too many arguments for format [-Werror=format-extra-args] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:215:13: error: too many arguments for format [-Werror=format-extra-args] 215 | "Managed buffer free function was called unexpectedly."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_slicing_fn’: /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_equals_01_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:152:5: note: in expansion of macro ‘fail_if_error’ 152 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:239:5: note: in expansion of macro ‘fail_if_error’ 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:153:5: note: in expansion of macro ‘fail_if_error’ 153 | fail_if_error(cork_buffer_set_string(buffer, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:244:5: note: in expansion of macro ‘fail_if_error’ 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:155:5: note: in expansion of macro ‘fail_if_error’ 155 | fail_if_error(managed = cork_buffer_to_managed_buffer | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:245:5: note: in expansion of macro ‘fail_if_error’ 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:159:5: note: in expansion of macro ‘fail_if_error’ 159 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:248:17: error: too many arguments for format [-Werror=format-extra-args] 248 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:160:5: note: in expansion of macro ‘fail_if_error’ 160 | fail_if_error(cork_buffer_set_string(buffer, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:162:5: note: in expansion of macro ‘fail_if_error’ 162 | fail_if_error(cork_buffer_to_slice(buffer, &slice1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_equals_02_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:164:5: note: in expansion of macro ‘fail_if_error’ 164 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:269:5: note: in expansion of macro ‘fail_if_error’ 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:167:5: note: in expansion of macro ‘fail_if_error’ 167 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, buffer->size)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:275:5: note: in expansion of macro ‘fail_if_error’ 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:170:5: note: in expansion of macro ‘fail_if_error’ 170 | fail_if_error(cork_slice_copy_fast(&slice2, &slice1, 2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:277:5: note: in expansion of macro ‘fail_if_error’ 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:173:5: note: in expansion of macro ‘fail_if_error’ 173 | fail_if_error(cork_slice_copy_offset_fast(&slice2, &slice1, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:278:5: note: in expansion of macro ‘fail_if_error’ 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:176:5: note: in expansion of macro ‘fail_if_error’ 176 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 0)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:279:5: note: in expansion of macro ‘fail_if_error’ 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:282:17: error: too many arguments for format [-Werror=format-extra-args] 282 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:177:5: note: in expansion of macro ‘fail_if_error’ 177 | fail_if_error(cork_slice_slice_offset_fast(&slice2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:284:17: error: too many arguments for format [-Werror=format-extra-args] 284 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:178:5: note: in expansion of macro ‘fail_if_error’ 178 | fail_if_error(cork_slice_slice_fast(&slice2, 0, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:179:5: note: in expansion of macro ‘fail_if_error’ 179 | fail_if_error(cork_slice_slice(&slice1, 2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:180:53: error: too many arguments for format [-Werror=format-extra-args] 180 | fail_unless(cork_slice_equal(&slice1, &slice2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int8_t_fn’: /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_stream_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:204:5: note: in expansion of macro ‘fail_if_error’ 204 | fail_if_error(consumer = | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:208:5: note: in expansion of macro ‘fail_if_error’ 208 | fail_if_error(cork_stream_consumer_data(consumer, SRC1, SRC1_LEN, true)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:211:5: note: in expansion of macro ‘fail_if_error’ 211 | fail_if_error(cork_stream_consumer_data(consumer, SRC2, SRC2_LEN, false)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:214:5: note: in expansion of macro ‘fail_if_error’ 214 | fail_if_error(cork_stream_consumer_eof(consumer)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:218:5: note: in expansion of macro ‘fail_if_error’ 218 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-threads.c:15: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_int_fn’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int16_t_fn’: /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_uint_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_size_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-hash-table.c:14: /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_map_sum’: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-mempool.c:15: /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_01_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:72:17: error: too many arguments for format [-Werror=format-extra-args] 72 | "Unexpected map sum, got %" PRIu64 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_iterator_sum’: /build/libcork/src/libcork/tests/test-hash-table.c:89:17: error: too many arguments for format [-Werror=format-extra-args] 89 | "Unexpected iterator sum, got %" PRIu64 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:40:17: error: too many arguments for format [-Werror=format-extra-args] 40 | "Cannot allocate object #%zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:49:17: error: too many arguments for format [-Werror=format-extra-args] 49 | "Cannot reallocate object #%zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_map_to_string’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:114:5: note: in expansion of macro ‘fail_unless_streq’ 114 | fail_unless_streq("Integer arrays", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-files.c:15: /build/libcork/src/libcork/tests/test-files.c: In function ‘verify_path_content’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_fail_01_fn’: /build/libcork/src/libcork/tests/test-mempool.c:68:13: error: too many arguments for format [-Werror=format-extra-args] 68 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_iterator_to_string’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:135:5: note: in expansion of macro ‘fail_unless_streq’ 135 | fail_unless_streq("Integer arrays", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int32_t_fn’: /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-core.c:16: /build/libcork/src/libcork/tests/test-core.c: In function ‘test_bool_fn’: /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_reuse_01_fn’: /build/libcork/src/libcork/tests/test-mempool.c:109:13: error: too many arguments for format [-Werror=format-extra-args] 109 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:34:42: error: too many arguments for format [-Werror=format-extra-args] 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:112:29: error: too many arguments for format [-Werror=format-extra-args] 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:120:13: error: too many arguments for format [-Werror=format-extra-args] 120 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_uint64_hash_table_fn’: /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:154:17: error: too many arguments for format [-Werror=format-extra-args] 154 | "Hash table should start empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:121:29: error: too many arguments for format [-Werror=format-extra-args] 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:35:5: note: in expansion of macro ‘fail_unless_streq’ 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:158:17: error: too many arguments for format [-Werror=format-extra-args] 158 | "Shouldn't get value pointer from empty hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:128:17: error: too many arguments for format [-Werror=format-extra-args] 128 | "done_object called an unexpected number of times: %zu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:41:24: error: too many arguments for format [-Werror=format-extra-args] 41 | fail_unless(value, "Unexpected true value"); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:169:5: note: in expansion of macro ‘fail_if_error’ 169 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:44:20: error: too many arguments for format [-Werror=format-extra-args] 44 | fail_if(value, "Unexpected false value"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:172:25: error: too many arguments for format [-Werror=format-extra-args] 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_int_types_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:177:17: error: too many arguments for format [-Werror=format-extra-args] 177 | "Unexpected previous key"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_ptr_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:79:5: note: in expansion of macro ‘test_cas’ 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:61:5: note: in expansion of macro ‘TEST_INT_TYPE’ 61 | TEST_INT_TYPE(int8_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:179:17: error: too many arguments for format [-Werror=format-extra-args] 179 | "Unexpected previous value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:62:5: note: in expansion of macro ‘TEST_INT_TYPE’ 62 | TEST_INT_TYPE(int16_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:182:17: error: too many arguments for format [-Werror=format-extra-args] 182 | "Unexpected size after adding {0->32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:80:5: note: in expansion of macro ‘test_cas’ 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:63:5: note: in expansion of macro ‘TEST_INT_TYPE’ 63 | TEST_INT_TYPE(int32_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:184:5: note: in expansion of macro ‘fail_if_error’ 184 | fail_if_error(entry = cork_hash_table_get_or_create | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:81:5: note: in expansion of macro ‘test_cas’ 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:64:5: note: in expansion of macro ‘TEST_INT_TYPE’ 64 | TEST_INT_TYPE(int64_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:186:21: error: too many arguments for format [-Werror=format-extra-args] 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:82:5: note: in expansion of macro ‘test_cas’ 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:65:5: note: in expansion of macro ‘TEST_INT_TYPE’ 65 | TEST_INT_TYPE(uint8_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:189:17: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected value for {0=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:83:5: note: in expansion of macro ‘fail_unless_equal’ 83 | fail_unless_equal("ptr", "%p", &v0, val); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:66:5: note: in expansion of macro ‘TEST_INT_TYPE’ 66 | TEST_INT_TYPE(uint16_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:192:17: error: too many arguments for format [-Werror=format-extra-args] 192 | "Unexpected size after retrieving {0->32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:67:5: note: in expansion of macro ‘TEST_INT_TYPE’ 67 | TEST_INT_TYPE(uint32_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:195:5: note: in expansion of macro ‘fail_if_error’ 195 | fail_if_error(entry = cork_hash_table_get_or_create | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:68:5: note: in expansion of macro ‘TEST_INT_TYPE’ 68 | TEST_INT_TYPE(uint64_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:197:25: error: too many arguments for format [-Werror=format-extra-args] 197 | fail_unless(is_new, "Should create new {1=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:69:5: note: in expansion of macro ‘TEST_INT_TYPE’ 69 | TEST_INT_TYPE(size_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:70:5: note: in expansion of macro ‘TEST_INT_TYPE’ 70 | TEST_INT_TYPE(ptrdiff_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:206:17: error: too many arguments for format [-Werror=format-extra-args] 206 | "Unexpected size after adding {1=>2}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_once_fn’: /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:107:5: note: in expansion of macro ‘fail_unless_equal’ 107 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:71:5: note: in expansion of macro ‘TEST_INT_TYPE’ 71 | TEST_INT_TYPE(intptr_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:215:17: error: too many arguments for format [-Werror=format-extra-args] 215 | "Couldn't delete {0=>32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:72:5: note: in expansion of macro ‘TEST_INT_TYPE’ 72 | TEST_INT_TYPE(uintptr_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:109:5: note: in expansion of macro ‘fail_unless_equal’ 109 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:218:17: error: too many arguments for format [-Werror=format-extra-args] 218 | "Unexpected size after deleting entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-subprocess.c:16: /build/libcork/src/libcork/tests/test-subprocess.c: In function ‘verify_consumer__eof’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:225:13: error: too many arguments for format [-Werror=format-extra-args] 225 | "Shouldn't be able to delete nonexistent {3=>X}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_int_sizeof_fn’: /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:111:5: note: in expansion of macro ‘fail_unless_equal’ 111 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:94:5: note: in expansion of macro ‘TEST_SIZEOF’ 94 | TEST_SIZEOF(SHORT, short) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:230:17: error: too many arguments for format [-Werror=format-extra-args] 230 | "Unexpected size after deleting last entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:95:5: note: in expansion of macro ‘TEST_SIZEOF’ 95 | TEST_SIZEOF(SHORT, unsigned short) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:113:5: note: in expansion of macro ‘fail_unless_equal’ 113 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:241:5: note: in expansion of macro ‘fail_if_error’ 241 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:96:5: note: in expansion of macro ‘TEST_SIZEOF’ 96 | TEST_SIZEOF(INT, int) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c:60:17: error: too many arguments for format [-Werror=format-extra-args] 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:115:5: note: in expansion of macro ‘fail_unless_equal’ 115 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:244:25: error: too many arguments for format [-Werror=format-extra-args] 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:115:5: note: in expansion of macro ‘fail_unless_equal’ 115 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:97:5: note: in expansion of macro ‘TEST_SIZEOF’ 97 | TEST_SIZEOF(INT, unsigned int) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:252:5: note: in expansion of macro ‘fail_if_error’ 252 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:98:5: note: in expansion of macro ‘TEST_SIZEOF’ 98 | TEST_SIZEOF(LONG, long) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-files.c: In function ‘verify_path_list_content’: /build/libcork/src/libcork/tests/test-hash-table.c:255:25: error: too many arguments for format [-Werror=format-extra-args] 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:99:5: note: in expansion of macro ‘TEST_SIZEOF’ 99 | TEST_SIZEOF(LONG, unsigned long) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:317:5: note: in expansion of macro ‘fail_unless_streq’ 317 | fail_unless_streq("path lists", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:261:17: error: too many arguments for format [-Werror=format-extra-args] 261 | "Unexpected size after deleting entries using map"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:100:5: note: in expansion of macro ‘TEST_SIZEOF’ 100 | TEST_SIZEOF(POINTER, void *) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_once_recursive_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:134:5: note: in expansion of macro ‘fail_unless_equal’ 134 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-files.c: In function ‘test_path_list’: /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:101:5: note: in expansion of macro ‘TEST_SIZEOF’ 101 | TEST_SIZEOF(POINTER, int *) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c: In function ‘test_subprocesses_’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:330:5: note: in expansion of macro ‘fail_unless_streq’ 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:102:5: note: in expansion of macro ‘TEST_SIZEOF’ 102 | TEST_SIZEOF(POINTER, void (*)(void)) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_string_hash_table_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:144:9: note: in expansion of macro ‘fail_if_error’ 144 | fail_if_error(exec = cork_exec_new_with_param_array | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:136:5: note: in expansion of macro ‘fail_unless_equal’ 136 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:281:5: note: in expansion of macro ‘fail_if_error’ 281 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:147:9: note: in expansion of macro ‘fail_if_error’ 147 | fail_if_error(sub = cork_subprocess_new_exec | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_strndup’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:120:14: error: too many arguments for format [-Werror=format-extra-args] 120 | fail("cork_strndup failed"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:284:17: error: too many arguments for format [-Werror=format-extra-args] 284 | "Unexpected size after adding {key1->1}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:153:5: note: in expansion of macro ‘fail_if_error’ 153 | fail_if_error(cork_subprocess_group_start(group)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-files.c: In function ‘test_file_exists’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:138:5: note: in expansion of macro ‘fail_unless_equal’ 138 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-core.c:125:27: error: too many arguments for format [-Werror=format-extra-args] 125 | fail_if(copy == NULL, "cork_xstrndup couldn't allocate copy"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:154:5: note: in expansion of macro ‘fail_if_error’ 154 | fail_if_error(cork_subprocess_group_wait(group)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-files.c:359:5: note: in expansion of macro ‘fail_if_error’ 359 | fail_if_error(cork_file_exists(file, &actual)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:127:14: error: too many arguments for format [-Werror=format-extra-args] 127 | fail("cork_xstrndup failed"); | ^~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:288:13: error: too many arguments for format [-Werror=format-extra-args] 288 | "No entry for key1"); | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:140:5: note: in expansion of macro ‘fail_unless_equal’ 140 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c:158:9: note: in expansion of macro ‘fail_unless_equal’ 158 | fail_unless_equal("Exit codes", "%d", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:291:17: error: too many arguments for format [-Werror=format-extra-args] 291 | "Unexpected value for key1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:360:37: error: too many arguments for format [-Werror=format-extra-args] 360 | fail_unless(actual == expected, "File %s should%s exist", | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:142:5: note: in expansion of macro ‘fail_unless_equal’ 142 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:142:5: note: in expansion of macro ‘fail_unless_equal’ 142 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:295:17: error: too many arguments for format [-Werror=format-extra-args] 295 | "Unexpected entry for key2"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_thread_ids_fn’: /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_pointer_hash_table_fn’: /build/libcork/src/libcork/tests/test-threads.c:155:37: error: too many arguments for format [-Werror=format-extra-args] 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:315:5: note: in expansion of macro ‘fail_if_error’ 315 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:318:17: error: too many arguments for format [-Werror=format-extra-args] 318 | "Unexpected size after adding {key1->1}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:321:13: error: too many arguments for format [-Werror=format-extra-args] 321 | "No entry for key1"); | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_endianness_fn’: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_01_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:324:17: error: too many arguments for format [-Werror=format-extra-args] 324 | "Unexpected value for key1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:212:5: note: in expansion of macro ‘fail_if_error’ 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int64_t_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:327:17: error: too many arguments for format [-Werror=format-extra-args] 327 | "Unexpected entry for key2"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:213:5: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal("Values", "%d", -1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_02_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:225:5: note: in expansion of macro ‘fail_if_error’ 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:226:5: note: in expansion of macro ‘fail_if_error’ 226 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:227:5: note: in expansion of macro ‘fail_if_error’ 227 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:228:5: note: in expansion of macro ‘fail_unless_equal’ 228 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_03_fn’: /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:241:5: note: in expansion of macro ‘fail_if_error’ 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:242:5: note: in expansion of macro ‘fail_if_error’ 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:243:5: note: in expansion of macro ‘fail_if_error’ 243 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:244:5: note: in expansion of macro ‘fail_if_error’ 244 | fail_if_error(cork_thread_start(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:245:5: note: in expansion of macro ‘fail_if_error’ 245 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:246:5: note: in expansion of macro ‘fail_if_error’ 246 | fail_if_error(cork_thread_join(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:247:5: note: in expansion of macro ‘fail_unless_equal’ 247 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:248:5: note: in expansion of macro ‘fail_unless_equal’ 248 | fail_unless_equal("Values", "%d", 2, v2); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_04_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:261:5: note: in expansion of macro ‘fail_if_error’ 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:262:5: note: in expansion of macro ‘fail_if_error’ 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:263:5: note: in expansion of macro ‘fail_if_error’ 263 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:264:5: note: in expansion of macro ‘fail_if_error’ 264 | fail_if_error(cork_thread_start(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:265:5: note: in expansion of macro ‘fail_if_error’ 265 | fail_if_error(cork_thread_join(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:266:5: note: in expansion of macro ‘fail_if_error’ 266 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:267:5: note: in expansion of macro ‘fail_unless_equal’ 267 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:268:5: note: in expansion of macro ‘fail_unless_equal’ 268 | fail_unless_equal("Values", "%d", 2, v2); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_error_01_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:277:5: note: in expansion of macro ‘fail_if_error’ 277 | fail_if_error(t1 = cork_thread_new | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:279:5: note: in expansion of macro ‘fail_if_error’ 279 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_string_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_error_prefix_fn’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:217:5: note: in expansion of macro ‘fail_unless_streq’ 217 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:221:5: note: in expansion of macro ‘fail_unless_streq’ 221 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_system_error_fn’: /build/libcork/src/libcork/tests/test-core.c:236:17: error: too many arguments for format [-Werror=format-extra-args] 236 | "Expected a system error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:132:5: note: in expansion of macro ‘test_string’ 132 | test_string(&array, 0, "hello"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:133:5: note: in expansion of macro ‘test_string’ 133 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:134:5: note: in expansion of macro ‘test_string’ 134 | test_string(&array, 2, "world"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_hash_fn’: /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:336:5: note: in expansion of macro ‘test_stable_hash_buf’ 336 | test_stable_hash_buf(BUF, LEN-1, 0xba6bd213); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:138:5: note: in expansion of macro ‘test_string’ 138 | test_string(&array, 0, "reusing"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:337:5: note: in expansion of macro ‘test_hash_buf’ 337 | test_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:139:5: note: in expansion of macro ‘test_string’ 139 | test_string(&array, 1, "entries"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:143:5: note: in expansion of macro ‘test_string’ 143 | test_string(©, 0, "reusing"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:144:5: note: in expansion of macro ‘test_string’ 144 | test_string(©, 1, "entries"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:342:5: note: in expansion of macro ‘test_big_hash_buf’ 342 | test_big_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:349:5: note: in expansion of macro ‘test_stable_hash_buf’ 349 | test_stable_hash_buf(BUF, LEN, 0x586fce33); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_callbacks_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:350:5: note: in expansion of macro ‘test_hash_buf’ 350 | test_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:355:5: note: in expansion of macro ‘test_big_hash_buf’ 355 | test_big_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:362:5: note: in expansion of macro ‘test_stable_hash_buf’ 362 | test_stable_hash_buf(LONG_BUF, LONG_LEN-1, 0x5caacc30); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:363:5: note: in expansion of macro ‘test_hash_buf’ 363 | test_hash_buf(LONG_BUF, LONG_LEN-1, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:368:5: note: in expansion of macro ‘test_big_hash_buf’ 368 | test_big_hash_buf(LONG_BUF, LONG_LEN-1, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:375:5: note: in expansion of macro ‘test_stable_hash_buf’ 375 | test_stable_hash_buf(LONG_BUF, LONG_LEN, 0x5e37d33d); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:376:5: note: in expansion of macro ‘test_hash_buf’ 376 | test_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:381:5: note: in expansion of macro ‘test_big_hash_buf’ 381 | test_big_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:283:5: note: in expansion of macro ‘test_hash_func’ 283 | test_hash_func(cork_stable_hash_variable, expected, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:387:5: note: in expansion of macro ‘test_stable_hash_var’ 387 | test_stable_hash_var(stable_val32, 0x6bb65380); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:258:5: note: in expansion of macro ‘test_hash_func’ 258 | test_hash_func(cork_hash_variable, little64, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:388:5: note: in expansion of macro ‘test_hash_var’ 388 | test_hash_var(val32, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:283:5: note: in expansion of macro ‘test_hash_func’ 283 | test_hash_func(cork_stable_hash_variable, expected, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:394:5: note: in expansion of macro ‘test_stable_hash_var’ 394 | test_stable_hash_var(stable_val64, 0x4d5c4063); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:258:5: note: in expansion of macro ‘test_hash_func’ 258 | test_hash_func(cork_hash_variable, little64, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:395:5: note: in expansion of macro ‘test_hash_var’ 395 | test_hash_var(val64, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ipv4_address_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘BAD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘BAD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘BAD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘BAD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘BAD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘BAD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-slice.dir/build.make:76: tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘BAD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o] Error 1 cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘BAD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:960: tests/CMakeFiles/embedded-test-slice.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:908: tests/CMakeFiles/embedded-test-ring-buffer.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘BAD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘BAD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘BAD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘BAD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘BAD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘BAD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘BAD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-bitset.dir/build.make:76: tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:440: tests/CMakeFiles/embedded-test-bitset.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘BAD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘BAD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘BAD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘BAD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘BAD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘BAD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:504:17: error: too many arguments for format [-Werror=format-extra-args] 504 | "Bad CIDR block for 1.2.3.4 and %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:507:13: error: too many arguments for format [-Werror=format-extra-args] 507 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:510:13: error: too many arguments for format [-Werror=format-extra-args] 510 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ipv6_address_fn’: cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ [ 59%] Linking C executable embedded-test-gc /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:804: tests/CMakeFiles/embedded-test-managed-buffer.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:492: tests/CMakeFiles/embedded-test-buffer.dir/all] Error 2 make[2]: *** [tests/CMakeFiles/embedded-test-dllist.dir/build.make:76: tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o] Error 1 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:596: tests/CMakeFiles/embedded-test-dllist.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-mempool.dir/build.make:76: tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:856: tests/CMakeFiles/embedded-test-mempool.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-subprocess.dir/build.make:76: tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o] Error 1 cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:1012: tests/CMakeFiles/embedded-test-subprocess.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-files.dir/build.make:76: tests/CMakeFiles/embedded-test-files.dir/test-files.c.o] Error 1 make[2]: *** [tests/CMakeFiles/embedded-test-hash-table.dir/build.make:76: tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:648: tests/CMakeFiles/embedded-test-files.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:752: tests/CMakeFiles/embedded-test-hash-table.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘BAD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘BAD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘BAD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘BAD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:560:17: error: too many arguments for format [-Werror=format-extra-args] 560 | "Bad CIDR block %u", | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:563:13: error: too many arguments for format [-Werror=format-extra-args] 563 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:566:13: error: too many arguments for format [-Werror=format-extra-args] 566 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ip_address_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-threads.dir/build.make:76: tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:1064: tests/CMakeFiles/embedded-test-threads.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:616:17: error: too many arguments for format [-Werror=format-extra-args] 616 | "Unexpected IP address version (expected 4, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:619:17: error: too many arguments for format [-Werror=format-extra-args] 619 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:624:17: error: too many arguments for format [-Werror=format-extra-args] 624 | "Unexpected IP address version (expected 6, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:627:17: error: too many arguments for format [-Werror=format-extra-args] 627 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_utc_format’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:649:5: note: in expansion of macro ‘fail_if_error’ 649 | fail_if_error(cork_timestamp_format_utc(ts, format, &buf)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:651:17: error: too many arguments for format [-Werror=format-extra-args] 651 | "Unexpected formatted UTC time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_local_format’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:662:5: note: in expansion of macro ‘fail_if_error’ 662 | fail_if_error(cork_timestamp_format_local(ts, format, &buf)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:664:17: error: too many arguments for format [-Werror=format-extra-args] 664 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_fn’: /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:705:5: note: in expansion of macro ‘test’ 705 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:706:5: note: in expansion of macro ‘test’ 706 | test(gsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:707:5: note: in expansion of macro ‘test’ 707 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:708:5: note: in expansion of macro ‘test’ 708 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:709:5: note: in expansion of macro ‘test’ 709 | test(nsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:713:5: note: in expansion of macro ‘test’ 713 | test(sec, TEST_TIME_2); | ^~~~ make[2]: *** [tests/CMakeFiles/embedded-test-array.dir/build.make:76: tests/CMakeFiles/embedded-test-array.dir/test-array.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:714:5: note: in expansion of macro ‘test’ 714 | test(gsec, 0); | ^~~~ make[1]: *** [CMakeFiles/Makefile2:388: tests/CMakeFiles/embedded-test-array.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:715:5: note: in expansion of macro ‘test’ 715 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:716:5: note: in expansion of macro ‘test’ 716 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:717:5: note: in expansion of macro ‘test’ 717 | test(nsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:721:5: note: in expansion of macro ‘test’ 721 | test(sec, TEST_TIME_3); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:722:5: note: in expansion of macro ‘test’ 722 | test(gsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:723:5: note: in expansion of macro ‘test’ 723 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:724:5: note: in expansion of macro ‘test’ 724 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:725:5: note: in expansion of macro ‘test’ 725 | test(nsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:729:5: note: in expansion of macro ‘test’ 729 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:730:5: note: in expansion of macro ‘test’ 730 | test(gsec, 1 << 30); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:731:5: note: in expansion of macro ‘test’ 731 | test(msec, 250); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:732:5: note: in expansion of macro ‘test’ 732 | test(usec, 250000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:733:5: note: in expansion of macro ‘test’ 733 | test(nsec, 250000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:736:5: note: in expansion of macro ‘test’ 736 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:737:5: note: in expansion of macro ‘test’ 737 | test(gsec, 1 << 31); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:738:5: note: in expansion of macro ‘test’ 738 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:739:5: note: in expansion of macro ‘test’ 739 | test(usec, 500000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:740:5: note: in expansion of macro ‘test’ 740 | test(nsec, 500000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:743:5: note: in expansion of macro ‘test’ 743 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:744:5: note: in expansion of macro ‘test’ 744 | test(gsec, 1 << 31); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:745:5: note: in expansion of macro ‘test’ 745 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:746:5: note: in expansion of macro ‘test’ 746 | test(usec, 500000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:747:5: note: in expansion of macro ‘test’ 747 | test(nsec, 500000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:750:5: note: in expansion of macro ‘test’ 750 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:751:5: note: in expansion of macro ‘test’ 751 | test(gsec, 1 << 31); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:752:5: note: in expansion of macro ‘test’ 752 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:753:5: note: in expansion of macro ‘test’ 753 | test(usec, 500000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:754:5: note: in expansion of macro ‘test’ 754 | test(nsec, 500000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_decimal’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:792:5: note: in expansion of macro ‘fail_unless_streq’ 792 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_hex’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:800:5: note: in expansion of macro ‘fail_unless_streq’ 800 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_padded_hex’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:808:5: note: in expansion of macro ‘fail_unless_streq’ 808 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_eq’: /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:976:5: note: in expansion of macro ‘test_u128_cmp’ 976 | test_u128_cmp(eq, "==", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:977:5: note: in expansion of macro ‘test_u128_cmp’ 977 | test_u128_cmp(ne, "!=", value1, value2, !expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_lt’: /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:997:5: note: in expansion of macro ‘test_u128_cmp’ 997 | test_u128_cmp(lt, "<", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:998:5: note: in expansion of macro ‘test_u128_cmp’ 998 | test_u128_cmp(ge, ">=", value1, value2, !expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_gt’: /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:1017:5: note: in expansion of macro ‘test_u128_cmp’ 1017 | test_u128_cmp(gt, ">", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:1018:5: note: in expansion of macro ‘test_u128_cmp’ 1018 | test_u128_cmp(le, "<=", value1, value2, !expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_statement_expr_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1040:5: note: in expansion of macro ‘fail_unless_equal’ 1040 | fail_unless_equal("Statement expression result", "%d", 2, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_uid_fn’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1058:5: note: in expansion of macro ‘fail_unless_streq’ 1058 | fail_unless_streq("UID name", "test_id_01", cork_uid_name(test_id_01)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1059:5: note: in expansion of macro ‘fail_unless_streq’ 1059 | fail_unless_streq("UID name", "test_id_02", cork_uid_name(test_id_02)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1063:39: error: too many arguments for format [-Werror=format-extra-args] 1063 | fail_if(cork_uid_equal(id1, id2), "Unique IDs aren't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1067:43: error: too many arguments for format [-Werror=format-extra-args] 1067 | fail_unless(cork_uid_equal(id1, id2), "Unique ID isn't equal to itself"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1071:39: error: too many arguments for format [-Werror=format-extra-args] 1071 | fail_if(cork_uid_equal(id1, id2), "NULL unique ID isn't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/embedded-test-core.dir/build.make:76: tests/CMakeFiles/embedded-test-core.dir/test-core.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:544: tests/CMakeFiles/embedded-test-core.dir/all] Error 2 [ 59%] Built target embedded-test-gc [ 59%] Built target libcork-shared make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root24/build receiving incremental file list libcork-0.15.0-3-riscv64-build.log libcork-0.15.0-3-riscv64-prepare.log sent 62 bytes received 21,219 bytes 14,187.33 bytes/sec total size is 542,023 speedup is 25.47