==> Building on pachirisu ==> 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 243 100% 237.30kB/s 0:00:00 243 100% 237.30kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 813 bytes received 96 bytes 606.00 bytes/sec total size is 939 speedup is 1.03 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix0 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix0]...done ==> Making package: libcork 0.15.0-3 (Mon Feb 27 20:24:05 2023) ==> Retrieving sources...  -> Cloning libcork git repo... Cloning into bare repository '/home/felix/packages/libcork/libcork'... remote: Enumerating objects: 4817, done. remote: Counting objects: 1% (1/80) remote: Counting objects: 2% (2/80) remote: Counting objects: 3% (3/80) remote: Counting objects: 5% (4/80) remote: Counting objects: 6% (5/80) remote: Counting objects: 7% (6/80) remote: Counting objects: 8% (7/80) remote: Counting objects: 10% (8/80) remote: Counting objects: 11% (9/80) remote: Counting objects: 12% (10/80) remote: Counting objects: 13% (11/80) remote: Counting objects: 15% (12/80) remote: Counting objects: 16% (13/80) remote: Counting objects: 17% (14/80) remote: Counting objects: 18% (15/80) remote: Counting objects: 20% (16/80) remote: Counting objects: 21% (17/80) remote: Counting objects: 22% (18/80) remote: Counting objects: 23% (19/80) remote: Counting objects: 25% (20/80) remote: Counting objects: 26% (21/80) remote: Counting objects: 27% (22/80) remote: Counting objects: 28% (23/80) remote: Counting objects: 30% (24/80) remote: Counting objects: 31% (25/80) remote: Counting objects: 32% (26/80) remote: Counting objects: 33% (27/80) remote: Counting objects: 35% (28/80) remote: Counting objects: 36% (29/80) remote: Counting objects: 37% (30/80) remote: Counting objects: 38% (31/80) remote: Counting objects: 40% (32/80) remote: Counting objects: 41% (33/80) remote: Counting objects: 42% (34/80) remote: Counting objects: 43% (35/80) remote: Counting objects: 45% (36/80) remote: Counting objects: 46% (37/80) remote: Counting objects: 47% (38/80) remote: Counting objects: 48% (39/80) remote: Counting objects: 50% (40/80) remote: Counting objects: 51% (41/80) remote: Counting objects: 52% (42/80) remote: Counting objects: 53% (43/80) remote: Counting objects: 55% (44/80) remote: Counting objects: 56% (45/80) remote: Counting objects: 57% (46/80) remote: Counting objects: 58% (47/80) remote: Counting objects: 60% (48/80) remote: Counting objects: 61% (49/80) remote: Counting objects: 62% (50/80) remote: Counting objects: 63% (51/80) remote: Counting objects: 65% (52/80) remote: Counting objects: 66% (53/80) remote: Counting objects: 67% (54/80) remote: Counting objects: 68% (55/80) remote: Counting objects: 70% (56/80) remote: Counting objects: 71% (57/80) remote: Counting objects: 72% (58/80) remote: Counting objects: 73% (59/80) remote: Counting objects: 75% (60/80) remote: Counting objects: 76% (61/80) remote: Counting objects: 77% (62/80) remote: Counting objects: 78% (63/80) remote: Counting objects: 80% (64/80) remote: Counting objects: 81% (65/80) remote: Counting objects: 82% (66/80) remote: Counting objects: 83% (67/80) remote: Counting objects: 85% (68/80) remote: Counting objects: 86% (69/80) remote: Counting objects: 87% (70/80) remote: Counting objects: 88% (71/80) remote: Counting objects: 90% (72/80) remote: Counting objects: 91% (73/80) remote: Counting objects: 92% (74/80) remote: Counting objects: 93% (75/80) remote: Counting objects: 95% (76/80) remote: Counting objects: 96% (77/80) remote: Counting objects: 97% (78/80) remote: Counting objects: 98% (79/80) remote: Counting objects: 100% (80/80) remote: Counting objects: 100% (80/80), done. remote: Compressing objects: 1% (1/72) remote: Compressing objects: 2% (2/72) remote: Compressing objects: 4% (3/72) remote: Compressing objects: 5% (4/72) remote: Compressing objects: 6% (5/72) remote: Compressing objects: 8% (6/72) remote: Compressing objects: 9% (7/72) remote: Compressing objects: 11% (8/72) remote: Compressing objects: 12% (9/72) remote: Compressing objects: 13% (10/72) remote: Compressing objects: 15% (11/72) remote: Compressing objects: 16% (12/72) remote: Compressing objects: 18% (13/72) remote: Compressing objects: 19% (14/72) remote: Compressing objects: 20% (15/72) remote: Compressing objects: 22% (16/72) remote: Compressing objects: 23% (17/72) remote: Compressing objects: 25% (18/72) remote: Compressing objects: 26% (19/72) remote: Compressing objects: 27% (20/72) remote: Compressing objects: 29% (21/72) remote: Compressing objects: 30% (22/72) remote: Compressing objects: 31% (23/72) remote: Compressing objects: 33% (24/72) remote: Compressing objects: 34% (25/72) remote: Compressing objects: 36% (26/72) remote: Compressing objects: 37% (27/72) remote: Compressing objects: 38% (28/72) remote: Compressing objects: 40% (29/72) remote: Compressing objects: 41% (30/72) remote: Compressing objects: 43% (31/72) remote: Compressing objects: 44% (32/72) remote: Compressing objects: 45% (33/72) remote: Compressing objects: 47% (34/72) remote: Compressing objects: 48% (35/72) remote: Compressing objects: 50% (36/72) remote: Compressing objects: 51% (37/72) remote: Compressing objects: 52% (38/72) remote: Compressing objects: 54% (39/72) remote: Compressing objects: 55% (40/72) remote: Compressing objects: 56% (41/72) remote: Compressing objects: 58% (42/72) remote: Compressing objects: 59% (43/72) remote: Compressing objects: 61% (44/72) remote: Compressing objects: 62% (45/72) remote: Compressing objects: 63% (46/72) remote: Compressing objects: 65% (47/72) remote: Compressing objects: 66% (48/72) remote: Compressing objects: 68% (49/72) remote: Compressing objects: 69% (50/72) remote: Compressing objects: 70% (51/72) remote: Compressing objects: 72% (52/72) remote: Compressing objects: 73% (53/72) remote: Compressing objects: 75% (54/72) remote: Compressing objects: 76% (55/72) remote: Compressing objects: 77% (56/72) remote: Compressing objects: 79% (57/72) remote: Compressing objects: 80% (58/72) remote: Compressing objects: 81% (59/72) remote: Compressing objects: 83% (60/72) remote: Compressing objects: 84% (61/72) remote: Compressing objects: 86% (62/72) remote: Compressing objects: 87% (63/72) remote: Compressing objects: 88% (64/72) remote: Compressing objects: 90% (65/72) remote: Compressing objects: 91% (66/72) remote: Compressing objects: 93% (67/72) remote: Compressing objects: 94% (68/72) remote: Compressing objects: 95% (69/72) remote: Compressing objects: 97% (70/72) remote: Compressing objects: 98% (71/72) remote: Compressing objects: 100% (72/72) remote: Compressing objects: 100% (72/72), done. Receiving objects: 0% (1/4817) Receiving objects: 1% (49/4817) Receiving objects: 2% (97/4817) Receiving objects: 3% (145/4817) Receiving objects: 4% (193/4817) Receiving objects: 5% (241/4817) Receiving objects: 6% (290/4817) Receiving objects: 7% (338/4817) Receiving objects: 8% (386/4817) Receiving objects: 9% (434/4817) Receiving objects: 10% (482/4817) Receiving objects: 11% (530/4817) Receiving objects: 12% (579/4817) Receiving objects: 13% (627/4817) Receiving objects: 14% (675/4817) Receiving objects: 15% (723/4817) Receiving objects: 16% (771/4817) Receiving objects: 17% (819/4817) Receiving objects: 18% (868/4817) Receiving objects: 19% (916/4817) Receiving objects: 20% (964/4817) Receiving objects: 21% (1012/4817) Receiving objects: 22% (1060/4817) Receiving objects: 23% (1108/4817) Receiving objects: 24% (1157/4817) Receiving objects: 25% (1205/4817) Receiving objects: 26% (1253/4817) Receiving objects: 27% (1301/4817) Receiving objects: 28% (1349/4817) Receiving objects: 29% (1397/4817) Receiving objects: 30% (1446/4817) Receiving objects: 31% (1494/4817) Receiving objects: 32% (1542/4817) Receiving objects: 33% (1590/4817) Receiving objects: 34% (1638/4817) Receiving objects: 35% (1686/4817) Receiving objects: 36% (1735/4817) Receiving objects: 37% (1783/4817) Receiving objects: 38% (1831/4817) Receiving objects: 39% (1879/4817) Receiving objects: 40% (1927/4817) Receiving objects: 41% (1975/4817) Receiving objects: 42% (2024/4817) Receiving objects: 43% (2072/4817) Receiving objects: 44% (2120/4817) Receiving objects: 45% (2168/4817) Receiving objects: 46% (2216/4817) Receiving objects: 47% (2264/4817) Receiving objects: 48% (2313/4817) Receiving objects: 49% (2361/4817) Receiving objects: 50% (2409/4817) Receiving objects: 51% (2457/4817) Receiving objects: 52% (2505/4817) Receiving objects: 53% (2554/4817) Receiving objects: 54% (2602/4817) Receiving objects: 55% (2650/4817) Receiving objects: 56% (2698/4817) Receiving objects: 57% (2746/4817) Receiving objects: 58% (2794/4817) Receiving objects: 59% (2843/4817) Receiving objects: 60% (2891/4817) Receiving objects: 61% (2939/4817) Receiving objects: 62% (2987/4817) Receiving objects: 63% (3035/4817) Receiving objects: 64% (3083/4817) Receiving objects: 65% (3132/4817) Receiving objects: 66% (3180/4817) Receiving objects: 67% (3228/4817) Receiving objects: 68% (3276/4817) Receiving objects: 69% (3324/4817) Receiving objects: 70% (3372/4817) Receiving objects: 71% (3421/4817) Receiving objects: 72% (3469/4817) Receiving objects: 73% (3517/4817) Receiving objects: 74% (3565/4817) Receiving objects: 75% (3613/4817) Receiving objects: 76% (3661/4817) Receiving objects: 77% (3710/4817) Receiving objects: 78% (3758/4817) Receiving objects: 79% (3806/4817) Receiving objects: 80% (3854/4817) Receiving objects: 81% (3902/4817) Receiving objects: 82% (3950/4817) Receiving objects: 83% (3999/4817) Receiving objects: 84% (4047/4817) Receiving objects: 85% (4095/4817) Receiving objects: 86% (4143/4817) Receiving objects: 87% (4191/4817) Receiving objects: 88% (4239/4817) Receiving objects: 89% (4288/4817) Receiving objects: 90% (4336/4817) Receiving objects: 91% (4384/4817) Receiving objects: 92% (4432/4817) Receiving objects: 93% (4480/4817) Receiving objects: 94% (4528/4817) Receiving objects: 95% (4577/4817) Receiving objects: 96% (4625/4817) Receiving objects: 97% (4673/4817) Receiving objects: 98% (4721/4817) remote: Total 4817 (delta 27), reused 20 (delta 6), pack-reused 4737 Receiving objects: 99% (4769/4817) Receiving objects: 100% (4817/4817) Receiving objects: 100% (4817/4817), 1.66 MiB | 4.44 MiB/s, done. Resolving deltas: 0% (0/2635) Resolving deltas: 1% (27/2635) Resolving deltas: 2% (53/2635) Resolving deltas: 3% (80/2635) Resolving deltas: 4% (106/2635) Resolving deltas: 5% (132/2635) Resolving deltas: 6% (159/2635) Resolving deltas: 7% (187/2635) Resolving deltas: 8% (211/2635) Resolving deltas: 9% (238/2635) Resolving deltas: 10% (265/2635) Resolving deltas: 11% (290/2635) Resolving deltas: 12% (317/2635) Resolving deltas: 13% (343/2635) Resolving deltas: 14% (370/2635) Resolving deltas: 15% (396/2635) Resolving deltas: 16% (423/2635) Resolving deltas: 17% (448/2635) Resolving deltas: 18% (476/2635) Resolving deltas: 19% (502/2635) Resolving deltas: 20% (527/2635) Resolving deltas: 21% (554/2635) Resolving deltas: 22% (580/2635) Resolving deltas: 23% (607/2635) Resolving deltas: 24% (633/2635) Resolving deltas: 25% (660/2635) Resolving deltas: 26% (687/2635) Resolving deltas: 27% (712/2635) Resolving deltas: 28% (738/2635) Resolving deltas: 29% (765/2635) Resolving deltas: 30% (791/2635) Resolving deltas: 31% (817/2635) Resolving deltas: 32% (845/2635) Resolving deltas: 33% (870/2635) Resolving deltas: 34% (897/2635) Resolving deltas: 35% (923/2635) Resolving deltas: 36% (950/2635) Resolving deltas: 37% (975/2635) Resolving deltas: 38% (1002/2635) Resolving deltas: 39% (1028/2635) Resolving deltas: 40% (1054/2635) Resolving deltas: 41% (1081/2635) Resolving deltas: 42% (1107/2635) Resolving deltas: 43% (1134/2635) Resolving deltas: 44% (1160/2635) Resolving deltas: 45% (1186/2635) Resolving deltas: 46% (1213/2635) Resolving deltas: 47% (1239/2635) Resolving deltas: 48% (1265/2635) Resolving deltas: 49% (1292/2635) Resolving deltas: 50% (1318/2635) Resolving deltas: 51% (1344/2635) Resolving deltas: 52% (1371/2635) Resolving deltas: 53% (1397/2635) Resolving deltas: 54% (1423/2635) Resolving deltas: 55% (1450/2635) Resolving deltas: 56% (1476/2635) Resolving deltas: 57% (1502/2635) Resolving deltas: 58% (1529/2635) Resolving deltas: 59% (1556/2635) Resolving deltas: 60% (1581/2635) Resolving deltas: 61% (1608/2635) Resolving deltas: 62% (1634/2635) Resolving deltas: 63% (1661/2635) Resolving deltas: 64% (1687/2635) Resolving deltas: 65% (1713/2635) Resolving deltas: 66% (1740/2635) Resolving deltas: 67% (1766/2635) Resolving deltas: 68% (1792/2635) Resolving deltas: 69% (1819/2635) Resolving deltas: 70% (1845/2635) Resolving deltas: 71% (1871/2635) Resolving deltas: 72% (1899/2635) Resolving deltas: 73% (1925/2635) Resolving deltas: 74% (1951/2635) Resolving deltas: 75% (1978/2635) Resolving deltas: 76% (2004/2635) Resolving deltas: 77% (2029/2635) Resolving deltas: 78% (2057/2635) Resolving deltas: 79% (2082/2635) Resolving deltas: 80% (2110/2635) Resolving deltas: 81% (2137/2635) Resolving deltas: 82% (2161/2635) Resolving deltas: 83% (2189/2635) Resolving deltas: 84% (2214/2635) Resolving deltas: 85% (2240/2635) Resolving deltas: 86% (2267/2635) Resolving deltas: 87% (2293/2635) Resolving deltas: 88% (2319/2635) Resolving deltas: 89% (2346/2635) Resolving deltas: 90% (2372/2635) Resolving deltas: 91% (2398/2635) Resolving deltas: 92% (2425/2635) Resolving deltas: 93% (2451/2635) Resolving deltas: 94% (2477/2635) Resolving deltas: 95% (2504/2635) Resolving deltas: 96% (2530/2635) Resolving deltas: 97% (2556/2635) Resolving deltas: 98% (2583/2635) Resolving deltas: 99% (2609/2635) Resolving deltas: 100% (2635/2635) Resolving deltas: 100% (2635/2635), done. ==> Validating source files with sha256sums... libcork ... Skipped ==> Making package: libcork 0.15.0-3 (Mon Feb 27 20:25:06 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change Download Size extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libnsl 2.0.0-2 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 0.08 MiB extra/cmake 3.25.2-1 61.17 MiB extra/git 2.39.2-1 33.03 MiB core/python 3.10.9-1 81.37 MiB Total Download Size: 0.08 MiB Total Installed Size: 178.14 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... check-0.15.2-2-riscv64 downloading... 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 12.2.1 -- The CXX compiler identification is GNU 12.2.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.0") -- 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.10.9") CMake Warning at docs/old/CMakeLists.txt:25 (message): Unable to find Sphinx documentation generator -- Configuring done -- Generating done -- Build files have been written to: /build/libcork/src/build [ 2%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o [ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o [ 2%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o [ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o [ 4%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o [ 5%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o [ 6%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o [ 7%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o [ 7%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o [ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o [ 9%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o [ 10%] 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 [ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o [ 12%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o [ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o [ 14%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o [ 15%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o [ 16%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o [ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o [ 17%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o [ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o [ 19%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o [ 20%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o [ 21%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o [ 22%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o [ 23%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o [ 24%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o [ 25%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o [ 26%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o [ 27%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o [ 27%] 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/managed-buffer.c.o [ 28%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o [ 29%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o [ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o [ 31%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o [ 32%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o [ 33%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o [ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o [ 35%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o [ 36%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o [ 37%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o [ 38%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o [ 38%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o [ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o [ 40%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o [ 40%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o [ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.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 [ 48%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o [ 48%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o [ 50%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o [ 50%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o [ 51%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o [ 52%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o [ 53%] Building C object tests/CMakeFiles/embedded-test-gc.dir/test-gc.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’: 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-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/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-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-files.c:15: /build/libcork/src/libcork/tests/test-files.c: In function ‘verify_path_content’: /build/libcork/src/libcork/tests/test-dllist.c: In function ‘test_dllist_fn’: /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-dllist.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Expected empty list"); | ^~~~~~~~~~~~~~~~~~~~~ /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-dllist.c:92:17: error: too many arguments for format [-Werror=format-extra-args] 92 | "Unexpected size of list: got %zu, expected 2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-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/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/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-dllist.c:106:17: error: too many arguments for format [-Werror=format-extra-args] 106 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-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-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/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/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-core.c: In function ‘test_int_types_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: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/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: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-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/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-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/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-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-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-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: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-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/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/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-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: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-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-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-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-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: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-core.c: In function ‘test_int_sizeof_fn’: /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: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-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: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/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: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-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: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-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: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/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: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-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-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-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: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/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/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-core.c: In function ‘test_strndup’: /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-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-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: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/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/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-core.c: In function ‘test_endianness_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: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-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: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) | ^~~~~~~~ /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-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-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-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: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: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-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/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/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/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/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/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/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/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-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/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/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/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/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-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: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/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: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/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/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/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: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/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/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-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/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-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/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/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/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/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/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/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/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/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: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/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/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/test-files.c: In function ‘verify_path_list_content’: /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/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: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/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: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: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/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/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/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: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) | ^~~~~~~~ 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’: /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-files.c: In function ‘test_path_list’: /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-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-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: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-buffer.c:33:52: 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-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-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-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-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/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/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/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/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/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/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-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/test-buffer.c: In function ‘check_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-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/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-buffer.c:42:54: note: format string is defined here 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p /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-core.c: In function ‘test_system_error_fn’: /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-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-core.c:236:17: error: too many arguments for format [-Werror=format-extra-args] 236 | "Expected a system error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /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-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: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/test-buffer.c: In function ‘test_buffer_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: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-files.c: In function ‘test_file_exists’: /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: In function ‘test_hash_fn’: /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: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-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: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: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/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-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/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/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) | ^~~~~~~~ /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-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-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-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/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-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_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: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-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: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-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/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-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-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: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-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: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-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: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-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: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/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-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/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:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /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/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/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/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/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: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-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/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/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: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: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/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/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-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:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /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/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/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-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/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/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-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-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-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/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-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-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: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-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-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/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:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /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/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: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-buffer.c: In function ‘test_buffer_slicing_fn’: /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ipv4_address_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/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/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/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: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: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/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/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-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/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/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/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-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/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-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/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-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-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/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-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/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: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-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-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: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: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: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/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: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: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/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-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/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/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: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-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/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-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: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/test-array.c: In function ‘test_array_int64_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:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /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/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/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/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/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/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/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-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/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/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: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/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-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/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /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/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-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/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: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/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/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/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-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/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/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/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-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/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/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-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/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: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/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/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/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-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-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/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/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/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-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/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/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-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/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-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-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/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-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/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-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-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-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/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-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-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/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-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) | ^~~~~~~~ cc1: all warnings being treated as errors /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/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: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-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: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-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); | ^~~~~~~~~~ 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: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-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/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); | ^~~~~~~~~~ /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-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-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/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-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/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/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/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/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-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/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/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); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-bitset.dir/build.make:76: tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o] Error 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:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 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: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/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/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"); | ^~~~~~~~~~~ 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: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/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); | ^~~~~~~~~~ /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: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[1]: *** [CMakeFiles/Makefile2:440: tests/CMakeFiles/embedded-test-bitset.dir/all] Error 2 /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_callbacks_fn’: make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:596: tests/CMakeFiles/embedded-test-dllist.dir/all] Error 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: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: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/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); | ^~~~~~~~~~ /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/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/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/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: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/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/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/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/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/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: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/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/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/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/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/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/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/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/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/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); | ^~~~~~~~~~ /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/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: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/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/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: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/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/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/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: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/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: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/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/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/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/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/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/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: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/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/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/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/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/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); | ^~~~~~~~~~ /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/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/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); | ^~~~~~~~~~ /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: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/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/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/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/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/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/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/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/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/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/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/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: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/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/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/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/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/test-core.c: In function ‘test_ipv6_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: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/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: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/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: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/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/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: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/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: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); | ^~~~~~~~~~ /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: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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ 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: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); | ^~~~~~~~~~ cc1: all warnings being treated as errors [ 54%] 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: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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ 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: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); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:492: tests/CMakeFiles/embedded-test-buffer.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: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); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-files.dir/build.make:76: tests/CMakeFiles/embedded-test-files.dir/test-files.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: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); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:648: tests/CMakeFiles/embedded-test-files.dir/all] Error 2 /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ /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); | ^~~~~~~~~~ cc1: all warnings being treated as errors /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); | ^~~~~~~~~~ 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/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); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:388: tests/CMakeFiles/embedded-test-array.dir/all] Error 2 /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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~ /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); | ^~~~ /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 [ 54%] Built target embedded-test-gc [ 54%] 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/felix0/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 16,176 bytes 10,825.33 bytes/sec total size is 428,620 speedup is 26.40