==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [worker-x86-64-v2-2]...done ==> Making package: libcork 0.15.0-3.1 (Fri Dec 3 12:13:04 2021) ==> Retrieving sources... -> Cloning libcork git repo... Cloning into bare repository '/data/alhp-workspace/build/x86-64-v2/libcork-0.15.0-3/libcork'... ==> Validating source files with sha256sums... libcork ... Skipped ==> Making package: libcork 0.15.0-3.1 (Fri 03 Dec 2021 12:13:07 PM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (12) hicolor-icon-theme-0.17-2 jsoncpp-1.9.4-1 libnsl-2.0.0-1 libuv-1.42.0-1 perl-error-0.17029-3 perl-mailtools-2.21-5 perl-timedate-2.33-3 rhash-1.4.2-1 check-0.15.2-2 cmake-3.22.0-1 git-2.34.1-1 python-3.9.9-1 Total Installed Size: 138.92 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing check... Optional dependencies for check check-docs: Documentation installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Updating the info directory file... [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of libcork git repo... Cloning into 'libcork'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:9 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- 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/pkgconf (found version "1.8.0") -- Checking for module 'check' -- Found check, version 0.15.2 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PythonInterp: /usr/bin/python (found version "3.9.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: /startdir/src/build [ 2%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o [ 2%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o [ 3%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o [ 4%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o [ 5%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o [ 5%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o [ 6%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/gc.c.o [ 7%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o [ 8%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o [ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o [ 9%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o [ 10%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o [ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o [ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o [ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o [ 14%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o [ 14%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o [ 15%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o [ 16%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o [ 17%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o [ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o [ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o [ 20%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o [ 20%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o [ 21%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o [ 22%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o [ 22%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o [ 23%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o [ 24%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o [ 25%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o [ 26%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o [ 27%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o [ 28%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o [ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o [ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o [ 30%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/process.c.o [ 31%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o [ 32%] Building C object src/CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o [ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o [ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o [ 35%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o [ 36%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o [ 36%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o [ 37%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o [ 38%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o [ 39%] Linking C static library libcork.a [ 40%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o [ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o [ 42%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o [ 43%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o [ 43%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o [ 44%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o [ 44%] Built target libcork-static [ 45%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o [ 46%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o [ 47%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o [ 48%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o [ 49%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o In file included from /startdir/src/libcork/tests/test-bitset.c:14: /startdir/src/libcork/tests/test-bitset.c: In function ‘test_bitset_of_size’: /startdir/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 51%] Linking C shared library libcork.so [ 51%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/embedded-test-bitset.dir/build.make:76: tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o] Error 1 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/src/libcork/tests/test-array.c: In function ‘test_array_int8_t_fn’: make[1]: *** [CMakeFiles/Makefile2:440: tests/CMakeFiles/embedded-test-bitset.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c: In function ‘test_array_int16_t_fn’: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c: In function ‘test_array_int32_t_fn’: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ [ 52%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/src/libcork/tests/test-buffer.c: In function ‘check_buffers’: /startdir/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 * /startdir/src/libcork/tests/test-buffer.c:33:52: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/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 * /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-buffer.c: In function ‘check_buffer’: /startdir/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 * /startdir/src/libcork/tests/test-buffer.c:42:54: note: format string is defined here 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-buffer.c: In function ‘test_buffer_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:68:5: note: in expansion of macro ‘fail_if_error’ 68 | fail_if_error(buffer2 = cork_buffer_new()); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:72:5: note: in expansion of macro ‘fail_if_error’ 72 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:73:5: note: in expansion of macro ‘fail_if_error’ 73 | fail_if_error(cork_buffer_printf | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-buffer.c: In function ‘test_buffer_append_fn’: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:125:5: note: in expansion of macro ‘fail_if_error’ 125 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:127:5: note: in expansion of macro ‘fail_if_error’ 127 | fail_if_error(cork_buffer_append_printf | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 * /startdir/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 In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/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 * /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-buffer.c:15: /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-buffer.c: In function ‘test_buffer_slicing_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:152:5: note: in expansion of macro ‘fail_if_error’ 152 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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 | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:159:5: note: in expansion of macro ‘fail_if_error’ 159 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-buffer.c: In function ‘test_buffer_stream_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/src/libcork/tests/test-buffer.c:204:5: note: in expansion of macro ‘fail_if_error’ 204 | fail_if_error(consumer = | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c: In function ‘test_array_int64_t_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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 In file included from /startdir/src/libcork/tests/test-array.c:14: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /startdir/src/libcork/tests/test-array.c: In function ‘test_array_string_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:132:5: note: in expansion of macro ‘test_string’ 132 | test_string(&array, 0, "hello"); | ^~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:133:5: note: in expansion of macro ‘test_string’ 133 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:134:5: note: in expansion of macro ‘test_string’ 134 | test_string(&array, 2, "world"); | ^~~~~~~~~~~ In file included from /startdir/src/libcork/tests/test-core.c:16: /startdir/src/libcork/tests/test-core.c: In function ‘test_bool_fn’: /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_int_types_fn’: /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:61:5: note: in expansion of macro ‘TEST_INT_TYPE’ 61 | TEST_INT_TYPE(int8_t); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:62:5: note: in expansion of macro ‘TEST_INT_TYPE’ 62 | TEST_INT_TYPE(int16_t); | ^~~~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:63:5: note: in expansion of macro ‘TEST_INT_TYPE’ 63 | TEST_INT_TYPE(int32_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:64:5: note: in expansion of macro ‘TEST_INT_TYPE’ 64 | TEST_INT_TYPE(int64_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:65:5: note: in expansion of macro ‘TEST_INT_TYPE’ 65 | TEST_INT_TYPE(uint8_t); | ^~~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:138:5: note: in expansion of macro ‘test_string’ 138 | test_string(&array, 0, "reusing"); | ^~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:66:5: note: in expansion of macro ‘TEST_INT_TYPE’ 66 | TEST_INT_TYPE(uint16_t); | ^~~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:139:5: note: in expansion of macro ‘test_string’ 139 | test_string(&array, 1, "entries"); | ^~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:67:5: note: in expansion of macro ‘TEST_INT_TYPE’ 67 | TEST_INT_TYPE(uint32_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:68:5: note: in expansion of macro ‘TEST_INT_TYPE’ 68 | TEST_INT_TYPE(uint64_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:69:5: note: in expansion of macro ‘TEST_INT_TYPE’ 69 | TEST_INT_TYPE(size_t); | ^~~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:143:5: note: in expansion of macro ‘test_string’ 143 | test_string(©, 0, "reusing"); | ^~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:70:5: note: in expansion of macro ‘TEST_INT_TYPE’ 70 | TEST_INT_TYPE(ptrdiff_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:71:5: note: in expansion of macro ‘TEST_INT_TYPE’ 71 | TEST_INT_TYPE(intptr_t); | ^~~~~~~~~~~~~ /startdir/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); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:72:5: note: in expansion of macro ‘TEST_INT_TYPE’ 72 | TEST_INT_TYPE(uintptr_t); | ^~~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:144:5: note: in expansion of macro ‘test_string’ 144 | test_string(©, 1, "entries"); | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_int_sizeof_fn’: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:94:5: note: in expansion of macro ‘TEST_SIZEOF’ 94 | TEST_SIZEOF(SHORT, short) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:95:5: note: in expansion of macro ‘TEST_SIZEOF’ 95 | TEST_SIZEOF(SHORT, unsigned short) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:96:5: note: in expansion of macro ‘TEST_SIZEOF’ 96 | TEST_SIZEOF(INT, int) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:97:5: note: in expansion of macro ‘TEST_SIZEOF’ 97 | TEST_SIZEOF(INT, unsigned int) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:98:5: note: in expansion of macro ‘TEST_SIZEOF’ 98 | TEST_SIZEOF(LONG, long) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:99:5: note: in expansion of macro ‘TEST_SIZEOF’ 99 | TEST_SIZEOF(LONG, unsigned long) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:100:5: note: in expansion of macro ‘TEST_SIZEOF’ 100 | TEST_SIZEOF(POINTER, void *) | ^~~~~~~~~~~ /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:101:5: note: in expansion of macro ‘TEST_SIZEOF’ 101 | TEST_SIZEOF(POINTER, int *) | ^~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c: In function ‘test_array_callbacks_fn’: /startdir/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", \ | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:102:5: note: in expansion of macro ‘TEST_SIZEOF’ 102 | TEST_SIZEOF(POINTER, void (*)(void)) | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_strndup’: /startdir/src/libcork/tests/test-core.c:120:14: error: too many arguments for format [-Werror=format-extra-args] 120 | fail("cork_strndup failed"); | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:127:14: error: too many arguments for format [-Werror=format-extra-args] 127 | fail("cork_xstrndup failed"); | ^~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_endianness_fn’: /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/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"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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), | ^~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_error_prefix_fn’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:217:5: note: in expansion of macro ‘fail_unless_streq’ 217 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:221:5: note: in expansion of macro ‘fail_unless_streq’ 221 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_system_error_fn’: /startdir/src/libcork/tests/test-core.c:236:17: error: too many arguments for format [-Werror=format-extra-args] 236 | "Expected a system error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_hash_fn’: /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:337:5: note: in expansion of macro ‘test_hash_buf’ 337 | test_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~~~~~ /startdir/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, | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:350:5: note: in expansion of macro ‘test_hash_buf’ 350 | test_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:355:5: note: in expansion of macro ‘test_big_hash_buf’ 355 | test_big_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~~~~~ /startdir/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, | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:376:5: note: in expansion of macro ‘test_hash_buf’ 376 | test_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~~~~~ /startdir/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, | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:388:5: note: in expansion of macro ‘test_hash_var’ 388 | test_hash_var(val32, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~~~~ /startdir/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 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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) | ^~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:395:5: note: in expansion of macro ‘test_hash_var’ 395 | test_hash_var(val64, | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_ipv4_address_fn’: /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o] Error 1 /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:492: tests/CMakeFiles/embedded-test-buffer.dir/all] Error 2 /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘BAD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘BAD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘BAD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘BAD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘BAD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘BAD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘BAD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘BAD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_ipv6_address_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /startdir/src/libcork/tests/test-dllist.c:14: /startdir/src/libcork/tests/test-dllist.c: In function ‘check_int64_list’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-dllist.c: In function ‘test_dllist_fn’: /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-dllist.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Expected empty list"); | ^~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /startdir/src/libcork/tests/test-files.c:15: /startdir/src/libcork/tests/test-files.c: In function ‘verify_path_content’: /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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)); | ^~~~~~~~~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-files.c: In function ‘verify_path_list_content’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-files.c: In function ‘test_path_list’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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)); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-files.c: In function ‘test_file_exists’: /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/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 /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘BAD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-dllist.dir/build.make:76: tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o] Error 1 /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘BAD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:596: tests/CMakeFiles/embedded-test-dllist.dir/all] Error 2 /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘BAD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘BAD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:560:17: error: too many arguments for format [-Werror=format-extra-args] 560 | "Bad CIDR block %u", | ^~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_ip_address_fn’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/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 /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/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-files.dir/build.make:76: tests/CMakeFiles/embedded-test-files.dir/test-files.c.o] Error 1 /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:648: tests/CMakeFiles/embedded-test-files.dir/all] Error 2 /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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::"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/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); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); \ | ^~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); \ | ^~~~ /startdir/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /startdir/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)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:619:17: error: too many arguments for format [-Werror=format-extra-args] 619 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:627:17: error: too many arguments for format [-Werror=format-extra-args] 627 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_timestamp_utc_format’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:651:17: error: too many arguments for format [-Werror=format-extra-args] 651 | "Unexpected formatted UTC time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_timestamp_local_format’: /startdir/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /startdir/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)); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:664:17: error: too many arguments for format [-Werror=format-extra-args] 664 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_timestamp_fn’: /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:705:5: note: in expansion of macro ‘test’ 705 | test(sec, TEST_TIME_1); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:706:5: note: in expansion of macro ‘test’ 706 | test(gsec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:707:5: note: in expansion of macro ‘test’ 707 | test(msec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:708:5: note: in expansion of macro ‘test’ 708 | test(usec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:709:5: note: in expansion of macro ‘test’ 709 | test(nsec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:713:5: note: in expansion of macro ‘test’ 713 | test(sec, TEST_TIME_2); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:714:5: note: in expansion of macro ‘test’ 714 | test(gsec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:715:5: note: in expansion of macro ‘test’ 715 | test(msec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:716:5: note: in expansion of macro ‘test’ 716 | test(usec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:717:5: note: in expansion of macro ‘test’ 717 | test(nsec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:721:5: note: in expansion of macro ‘test’ 721 | test(sec, TEST_TIME_3); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:722:5: note: in expansion of macro ‘test’ 722 | test(gsec, 0); | ^~~~ cc1: all warnings being treated as errors /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:723:5: note: in expansion of macro ‘test’ 723 | test(msec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:724:5: note: in expansion of macro ‘test’ 724 | test(usec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:725:5: note: in expansion of macro ‘test’ 725 | test(nsec, 0); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:729:5: note: in expansion of macro ‘test’ 729 | test(sec, TEST_TIME_1); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:730:5: note: in expansion of macro ‘test’ 730 | test(gsec, 1 << 30); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:731:5: note: in expansion of macro ‘test’ 731 | test(msec, 250); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:732:5: note: in expansion of macro ‘test’ 732 | test(usec, 250000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:733:5: note: in expansion of macro ‘test’ 733 | test(nsec, 250000000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:736:5: note: in expansion of macro ‘test’ 736 | test(sec, TEST_TIME_1); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:737:5: note: in expansion of macro ‘test’ 737 | test(gsec, 1 << 31); | ^~~~ make[2]: *** [tests/CMakeFiles/embedded-test-array.dir/build.make:76: tests/CMakeFiles/embedded-test-array.dir/test-array.c.o] Error 1 /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:738:5: note: in expansion of macro ‘test’ 738 | test(msec, 500); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:739:5: note: in expansion of macro ‘test’ 739 | test(usec, 500000); | ^~~~ make[1]: *** [CMakeFiles/Makefile2:388: tests/CMakeFiles/embedded-test-array.dir/all] Error 2 /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:740:5: note: in expansion of macro ‘test’ 740 | test(nsec, 500000000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:743:5: note: in expansion of macro ‘test’ 743 | test(sec, TEST_TIME_1); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:744:5: note: in expansion of macro ‘test’ 744 | test(gsec, 1 << 31); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:745:5: note: in expansion of macro ‘test’ 745 | test(msec, 500); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:746:5: note: in expansion of macro ‘test’ 746 | test(usec, 500000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:747:5: note: in expansion of macro ‘test’ 747 | test(nsec, 500000000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:750:5: note: in expansion of macro ‘test’ 750 | test(sec, TEST_TIME_1); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:751:5: note: in expansion of macro ‘test’ 751 | test(gsec, 1 << 31); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:752:5: note: in expansion of macro ‘test’ 752 | test(msec, 500); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:753:5: note: in expansion of macro ‘test’ 753 | test(usec, 500000); | ^~~~ /startdir/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:754:5: note: in expansion of macro ‘test’ 754 | test(nsec, 500000000); | ^~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_decimal’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:792:5: note: in expansion of macro ‘fail_unless_streq’ 792 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_hex’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:800:5: note: in expansion of macro ‘fail_unless_streq’ 800 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_padded_hex’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:808:5: note: in expansion of macro ‘fail_unless_streq’ 808 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_eq’: /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:976:5: note: in expansion of macro ‘test_u128_cmp’ 976 | test_u128_cmp(eq, "==", value1, value2, expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:977:5: note: in expansion of macro ‘test_u128_cmp’ 977 | test_u128_cmp(ne, "!=", value1, value2, !expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_lt’: /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:997:5: note: in expansion of macro ‘test_u128_cmp’ 997 | test_u128_cmp(lt, "<", value1, value2, expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:998:5: note: in expansion of macro ‘test_u128_cmp’ 998 | test_u128_cmp(ge, ">=", value1, value2, !expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_one_u128_gt’: /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:1017:5: note: in expansion of macro ‘test_u128_cmp’ 1017 | test_u128_cmp(gt, ">", value1, value2, expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /startdir/src/libcork/tests/test-core.c:1018:5: note: in expansion of macro ‘test_u128_cmp’ 1018 | test_u128_cmp(le, "<=", value1, value2, !expected); | ^~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_statement_expr_fn’: /startdir/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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); | ^~~~~~~~~~~~~~~~~ /startdir/src/libcork/tests/test-core.c: In function ‘test_uid_fn’: /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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)); | ^~~~~~~~~~~~~~~~~ /startdir/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\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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)); | ^~~~~~~~~~~~~~~~~ /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /startdir/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 [ 52%] Built target libcork-shared make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/worker-x86-64-v2-2/build