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/pkg-config (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.10.1") CMake Warning at docs/old/CMakeLists.txt:25 (message): Unable to find Sphinx documentation generator -- Configuring done -- Generating done -- Build files have been written to: /build/libcork/src/build [ 1%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o [ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o [ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o [ 4%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o [ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o [ 5%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o [ 6%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o [ 7%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o [ 9%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o [ 9%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o [ 10%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o [ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o [ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o [ 12%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o [ 13%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o [ 14%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o [ 15%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o [ 16%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/gc.c.o [ 17%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o [ 17%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o [ 18%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o [ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o [ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o [ 20%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o [ 21%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o [ 22%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o [ 23%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o [ 24%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o [ 25%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o [ 26%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o [ 27%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o [ 27%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o [ 28%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o [ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o [ 28%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o [ 30%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o [ 31%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o [ 32%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o [ 33%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o [ 34%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o [ 35%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o [ 35%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o [ 36%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o [ 37%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o [ 38%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o [ 39%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o [ 40%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o [ 41%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o [ 41%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o [ 42%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/process.c.o [ 43%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o [ 44%] Building C object src/CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o [ 45%] Linking C shared library libcork.so [ 46%] Linking C static library libcork.a [ 46%] Built target libcork-static [ 47%] Building C object tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o [ 48%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o [ 49%] Building C object tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o [ 50%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o [ 51%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o [ 52%] Building C object tests/CMakeFiles/embedded-test-gc.dir/test-gc.c.o [ 53%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o [ 54%] Building C object tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o [ 55%] Building C object tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o [ 56%] Building C object tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o [ 57%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o [ 58%] Building C object tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o [ 58%] Building C object tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o In file included from /build/libcork/src/libcork/tests/test-core.c:16: /build/libcork/src/libcork/tests/test-core.c: In function ‘test_bool_fn’: /build/libcork/src/libcork/tests/test-core.c:41:24: error: too many arguments for format [-Werror=format-extra-args] 41 | fail_unless(value, "Unexpected true value"); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:44:20: error: too many arguments for format [-Werror=format-extra-args] 44 | fail_if(value, "Unexpected false value"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_int_types_fn’: /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:61:5: note: in expansion of macro ‘TEST_INT_TYPE’ 61 | TEST_INT_TYPE(int8_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:62:5: note: in expansion of macro ‘TEST_INT_TYPE’ 62 | TEST_INT_TYPE(int16_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:63:5: note: in expansion of macro ‘TEST_INT_TYPE’ 63 | TEST_INT_TYPE(int32_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:64:5: note: in expansion of macro ‘TEST_INT_TYPE’ 64 | TEST_INT_TYPE(int64_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:65:5: note: in expansion of macro ‘TEST_INT_TYPE’ 65 | TEST_INT_TYPE(uint8_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:66:5: note: in expansion of macro ‘TEST_INT_TYPE’ 66 | TEST_INT_TYPE(uint16_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:67:5: note: in expansion of macro ‘TEST_INT_TYPE’ 67 | TEST_INT_TYPE(uint32_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:68:5: note: in expansion of macro ‘TEST_INT_TYPE’ 68 | TEST_INT_TYPE(uint64_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:69:5: note: in expansion of macro ‘TEST_INT_TYPE’ 69 | TEST_INT_TYPE(size_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:70:5: note: in expansion of macro ‘TEST_INT_TYPE’ 70 | TEST_INT_TYPE(ptrdiff_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:71:5: note: in expansion of macro ‘TEST_INT_TYPE’ 71 | TEST_INT_TYPE(intptr_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:58:29: error: too many arguments for format [-Werror=format-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:72:5: note: in expansion of macro ‘TEST_INT_TYPE’ 72 | TEST_INT_TYPE(uintptr_t); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_int_sizeof_fn’: /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:94:5: note: in expansion of macro ‘TEST_SIZEOF’ 94 | TEST_SIZEOF(SHORT, short) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:95:5: note: in expansion of macro ‘TEST_SIZEOF’ 95 | TEST_SIZEOF(SHORT, unsigned short) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:96:5: note: in expansion of macro ‘TEST_SIZEOF’ 96 | TEST_SIZEOF(INT, int) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:97:5: note: in expansion of macro ‘TEST_SIZEOF’ 97 | TEST_SIZEOF(INT, unsigned int) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:98:5: note: in expansion of macro ‘TEST_SIZEOF’ 98 | TEST_SIZEOF(LONG, long) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:99:5: note: in expansion of macro ‘TEST_SIZEOF’ 99 | TEST_SIZEOF(LONG, unsigned long) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:100:5: note: in expansion of macro ‘TEST_SIZEOF’ 100 | TEST_SIZEOF(POINTER, void *) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:101:5: note: in expansion of macro ‘TEST_SIZEOF’ 101 | TEST_SIZEOF(POINTER, int *) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:89:21: error: too many arguments for format [-Werror=format-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:102:5: note: in expansion of macro ‘TEST_SIZEOF’ 102 | TEST_SIZEOF(POINTER, void (*)(void)) | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_strndup’: /build/libcork/src/libcork/tests/test-core.c:120:14: error: too many arguments for format [-Werror=format-extra-args] 120 | fail("cork_strndup failed"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:125:27: error: too many arguments for format [-Werror=format-extra-args] 125 | fail_if(copy == NULL, "cork_xstrndup couldn't allocate copy"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:127:14: error: too many arguments for format [-Werror=format-extra-args] 127 | fail("cork_xstrndup failed"); | ^~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_endianness_fn’: /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-bitset.c:14: /build/libcork/src/libcork/tests/test-bitset.c: In function ‘test_bitset_of_size’: /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-bitset.c:34:46: error: too many arguments for format [-Werror=format-extra-args] 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:197:5: note: in expansion of macro ‘TEST_ENDIAN’ 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int8_t_fn’: /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:198:5: note: in expansion of macro ‘TEST_ENDIAN’ 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:155:21: error: too many arguments for format [-Werror=format-extra-args] 155 | "Unexpected big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:160:21: error: too many arguments for format [-Werror=format-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:164:21: error: too many arguments for format [-Werror=format-extra-args] 164 | "Unexpected host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:169:21: error: too many arguments for format [-Werror=format-extra-args] 169 | "Unexpected in-place host-to-big " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:180:21: error: too many arguments for format [-Werror=format-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:185:21: error: too many arguments for format [-Werror=format-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:189:21: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:194:21: error: too many arguments for format [-Werror=format-extra-args] 194 | "Unexpected in-place host-to-little " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:199:5: note: in expansion of macro ‘TEST_ENDIAN’ 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_error_prefix_fn’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:217:5: note: in expansion of macro ‘fail_unless_streq’ 217 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:221:5: note: in expansion of macro ‘fail_unless_streq’ 221 | fail_unless_streq("Error messages", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_system_error_fn’: /build/libcork/src/libcork/tests/test-core.c:236:17: error: too many arguments for format [-Werror=format-extra-args] 236 | "Expected a system error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_hash_fn’: /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:336:5: note: in expansion of macro ‘test_stable_hash_buf’ 336 | test_stable_hash_buf(BUF, LEN-1, 0xba6bd213); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:337:5: note: in expansion of macro ‘test_hash_buf’ 337 | test_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:342:5: note: in expansion of macro ‘test_big_hash_buf’ 342 | test_big_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-files.c:15: /build/libcork/src/libcork/tests/test-files.c: In function ‘verify_path_content’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:349:5: note: in expansion of macro ‘test_stable_hash_buf’ 349 | test_stable_hash_buf(BUF, LEN, 0x586fce33); | ^~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-slice.c:14: /build/libcork/src/libcork/tests/test-slice.c: In function ‘test_static_slice_fn’: /build/libcork/src/libcork/tests/test-files.c:34:42: error: too many arguments for format [-Werror=format-extra-args] 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:350:5: note: in expansion of macro ‘test_hash_buf’ 350 | test_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:35:5: note: in expansion of macro ‘fail_unless_streq’ 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:355:5: note: in expansion of macro ‘test_big_hash_buf’ 355 | test_big_hash_buf(BUF, LEN, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:34:5: note: in expansion of macro ‘fail_if_error’ 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:35:5: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:362:5: note: in expansion of macro ‘test_stable_hash_buf’ 362 | test_stable_hash_buf(LONG_BUF, LONG_LEN-1, 0x5caacc30); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:36:5: note: in expansion of macro ‘fail_if_error’ 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:37:51: error: too many arguments for format [-Werror=format-extra-args] 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:38:52: error: too many arguments for format [-Werror=format-extra-args] 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:363:5: note: in expansion of macro ‘test_hash_buf’ 363 | test_hash_buf(LONG_BUF, LONG_LEN-1, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c: In function ‘test_copy_once_slice_fn’: /build/libcork/src/libcork/tests/test-slice.c:63:35: error: too many arguments for format [-Werror=format-extra-args] 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:368:5: note: in expansion of macro ‘test_big_hash_buf’ 368 | test_big_hash_buf(LONG_BUF, LONG_LEN-1, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:65:5: note: in expansion of macro ‘fail_if_error’ 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:68:35: error: too many arguments for format [-Werror=format-extra-args] 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:69:46: error: too many arguments for format [-Werror=format-extra-args] 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:281:5: note: in expansion of macro ‘test_hash_func’ 281 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:375:5: note: in expansion of macro ‘test_stable_hash_buf’ 375 | test_stable_hash_buf(LONG_BUF, LONG_LEN, 0x5e37d33d); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:71:5: note: in expansion of macro ‘fail_if_error’ 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:72:5: note: in expansion of macro ‘fail_if_error’ 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:76:35: error: too many arguments for format [-Werror=format-extra-args] 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:256:5: note: in expansion of macro ‘test_hash_func’ 256 | test_hash_func(cork_hash_buffer, little64, buf, len) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:376:5: note: in expansion of macro ‘test_hash_buf’ 376 | test_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:77:41: error: too many arguments for format [-Werror=format-extra-args] 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:80:51: error: too many arguments for format [-Werror=format-extra-args] 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:84:5: note: in expansion of macro ‘fail_if_error’ 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:292:21: error: too many arguments for format [-Werror=format-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:303:5: note: in expansion of macro ‘test_big_hash_func’ 303 | test_big_hash_func(buf, len, l64a, l64b) | ^~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:381:5: note: in expansion of macro ‘test_big_hash_buf’ 381 | test_big_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:85:35: error: too many arguments for format [-Werror=format-extra-args] 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:86:42: error: too many arguments for format [-Werror=format-extra-args] 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-slice.c:88:5: note: in expansion of macro ‘fail_if_error’ 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:91:41: error: too many arguments for format [-Werror=format-extra-args] 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:283:5: note: in expansion of macro ‘test_hash_func’ 283 | test_hash_func(cork_stable_hash_variable, expected, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:387:5: note: in expansion of macro ‘test_stable_hash_var’ 387 | test_stable_hash_var(stable_val32, 0x6bb65380); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:92:41: error: too many arguments for format [-Werror=format-extra-args] 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:93:51: error: too many arguments for format [-Werror=format-extra-args] 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-slice.c:94:51: error: too many arguments for format [-Werror=format-extra-args] 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:258:5: note: in expansion of macro ‘test_hash_func’ 258 | test_hash_func(cork_hash_variable, little64, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:388:5: note: in expansion of macro ‘test_hash_var’ 388 | test_hash_var(val32, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:283:5: note: in expansion of macro ‘test_hash_func’ 283 | test_hash_func(cork_stable_hash_variable, expected, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:394:5: note: in expansion of macro ‘test_stable_hash_var’ 394 | test_stable_hash_var(stable_val64, 0x4d5c4063); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c: In function ‘verify_path_list_content’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:317:5: note: in expansion of macro ‘fail_unless_streq’ 317 | fail_unless_streq("path lists", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:249:17: error: too many arguments for format [-Werror=format-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:258:5: note: in expansion of macro ‘test_hash_func’ 258 | test_hash_func(cork_hash_variable, little64, var) | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:395:5: note: in expansion of macro ‘test_hash_var’ 395 | test_hash_var(val64, | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c: In function ‘test_path_list’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:330:5: note: in expansion of macro ‘fail_unless_streq’ 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ipv4_address_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c: In function ‘test_file_exists’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-files.c:359:5: note: in expansion of macro ‘fail_if_error’ 359 | fail_if_error(cork_file_exists(file, &actual)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-files.c:360:37: error: too many arguments for format [-Werror=format-extra-args] 360 | fail_unless(actual == expected, "File %s should%s exist", | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-ring-buffer.c:14: /build/libcork/src/libcork/tests/test-ring-buffer.c: In function ‘test_ring_buffer_1_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:32:17: error: too many arguments for format [-Werror=format-extra-args] 32 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:34:17: error: too many arguments for format [-Werror=format-extra-args] 34 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:36:17: error: too many arguments for format [-Werror=format-extra-args] 36 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:38:17: error: too many arguments for format [-Werror=format-extra-args] 38 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:40:13: error: too many arguments for format [-Werror=format-extra-args] 40 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:43:17: error: too many arguments for format [-Werror=format-extra-args] 43 | "Unexpected head of ring buffer (peek)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:45:17: error: too many arguments for format [-Werror=format-extra-args] 45 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:47:17: error: too many arguments for format [-Werror=format-extra-args] 47 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:50:17: error: too many arguments for format [-Werror=format-extra-args] 50 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:52:17: error: too many arguments for format [-Werror=format-extra-args] 52 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:100:1: note: in expansion of macro ‘test_int’ 100 | test_int(int8_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:54:13: error: too many arguments for format [-Werror=format-extra-args] 54 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:57:17: error: too many arguments for format [-Werror=format-extra-args] 57 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-mempool.c:15: /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_01_fn’: /build/libcork/src/libcork/tests/test-ring-buffer.c:59:17: error: too many arguments for format [-Werror=format-extra-args] 59 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:61:17: error: too many arguments for format [-Werror=format-extra-args] 61 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:63:17: error: too many arguments for format [-Werror=format-extra-args] 63 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:65:17: error: too many arguments for format [-Werror=format-extra-args] 65 | "Shouldn't be able to pop from ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-threads.c:15: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_int_fn’: /build/libcork/src/libcork/tests/test-mempool.c:40:17: error: too many arguments for format [-Werror=format-extra-args] 40 | "Cannot allocate object #%zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c: In function ‘test_ring_buffer_2_fn’: /build/libcork/src/libcork/tests/test-ring-buffer.c:77:17: error: too many arguments for format [-Werror=format-extra-args] 77 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:49:17: error: too many arguments for format [-Werror=format-extra-args] 49 | "Cannot reallocate object #%zu", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:81:17: error: too many arguments for format [-Werror=format-extra-args] 81 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:467:9: note: in expansion of macro ‘fail_if_error’ 467 | fail_if_error(cork_ipv4_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:83:17: error: too many arguments for format [-Werror=format-extra-args] 83 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:85:13: error: too many arguments for format [-Werror=format-extra-args] 85 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:88:17: error: too many arguments for format [-Werror=format-extra-args] 88 | "Unexpected head of ring buffer (peek)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_fail_01_fn’: /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int16_t_fn’: /build/libcork/src/libcork/tests/test-mempool.c:68:13: error: too many arguments for format [-Werror=format-extra-args] 68 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:90:17: error: too many arguments for format [-Werror=format-extra-args] 90 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:92:17: error: too many arguments for format [-Werror=format-extra-args] 92 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:471:21: error: too many arguments for format [-Werror=format-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:95:17: error: too many arguments for format [-Werror=format-extra-args] 95 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:97:17: error: too many arguments for format [-Werror=format-extra-args] 97 | "Cannot add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c: In function ‘test_mempool_reuse_01_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:109:13: error: too many arguments for format [-Werror=format-extra-args] 109 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:99:13: error: too many arguments for format [-Werror=format-extra-args] 99 | "Shouldn't be able to add to ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:102:17: error: too many arguments for format [-Werror=format-extra-args] 102 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:112:29: error: too many arguments for format [-Werror=format-extra-args] 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:478:21: error: too many arguments for format [-Werror=format-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:104:17: error: too many arguments for format [-Werror=format-extra-args] 104 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:120:13: error: too many arguments for format [-Werror=format-extra-args] 120 | "Cannot allocate object"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-ring-buffer.c:106:17: error: too many arguments for format [-Werror=format-extra-args] 106 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:121:29: error: too many arguments for format [-Werror=format-extra-args] 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); | ^~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:108:17: error: too many arguments for format [-Werror=format-extra-args] 108 | "Unexpected head of ring buffer (pop)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-ring-buffer.c:110:17: error: too many arguments for format [-Werror=format-extra-args] 110 | "Shouldn't be able to pop from ring buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-mempool.c:128:17: error: too many arguments for format [-Werror=format-extra-args] 128 | "done_object called an unexpected number of times: %zu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:65:1: note: in expansion of macro ‘test_atomic’ 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_uint_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:66:1: note: in expansion of macro ‘test_atomic’ 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_size_fn’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:46:5: note: in expansion of macro ‘test_atomic_op’ 46 | test_atomic_op(name, type, fmt, add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:47:5: note: in expansion of macro ‘test_atomic_op’ 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:48:5: note: in expansion of macro ‘test_atomic_op’ 48 | test_atomic_op(name, type, fmt, add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:490:5: note: in expansion of macro ‘IPV4_TESTS’ 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:49:5: note: in expansion of macro ‘test_atomic_op’ 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:50:5: note: in expansion of macro ‘fail_unless_equal’ 50 | fail_unless_equal(#name, fmt, 4, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:51:5: note: in expansion of macro ‘test_atomic_op’ 51 | test_atomic_op(name, type, fmt, sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘BAD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:52:5: note: in expansion of macro ‘test_atomic_op’ 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:53:5: note: in expansion of macro ‘test_atomic_op’ 53 | test_atomic_op(name, type, fmt, sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘BAD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:32:9: note: in expansion of macro ‘fail_unless_equal’ 32 | fail_unless_equal(#name, fmt, expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:54:5: note: in expansion of macro ‘test_atomic_op’ 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ | ^~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:55:5: note: in expansion of macro ‘fail_unless_equal’ 55 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘BAD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:57:5: note: in expansion of macro ‘test_cas’ 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:58:5: note: in expansion of macro ‘test_cas’ 58 | test_cas(name, type, fmt, 1, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘BAD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:59:5: note: in expansion of macro ‘test_cas’ 59 | test_cas(name, type, fmt, 10, 2); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘BAD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:60:5: note: in expansion of macro ‘test_cas’ 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:61:5: note: in expansion of macro ‘fail_unless_equal’ 61 | fail_unless_equal(#name, fmt, 0, val); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:67:1: note: in expansion of macro ‘test_atomic’ 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘BAD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_atomic_ptr_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:79:5: note: in expansion of macro ‘test_cas’ 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:80:5: note: in expansion of macro ‘test_cas’ 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); | ^~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-hash-table.c:14: /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_map_sum’: /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘BAD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:81:5: note: in expansion of macro ‘test_cas’ 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:38:9: note: in expansion of macro ‘fail_unless_equal’ 38 | fail_unless_equal(#name, fmt, ov, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:82:5: note: in expansion of macro ‘test_cas’ 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:83:5: note: in expansion of macro ‘fail_unless_equal’ 83 | fail_unless_equal("ptr", "%p", &v0, val); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:72:17: error: too many arguments for format [-Werror=format-extra-args] 72 | "Unexpected map sum, got %" PRIu64 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘BAD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_once_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:107:5: note: in expansion of macro ‘fail_unless_equal’ 107 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘BAD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘BAD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_iterator_sum’: /build/libcork/src/libcork/tests/test-hash-table.c:89:17: error: too many arguments for format [-Werror=format-extra-args] 89 | "Unexpected iterator sum, got %" PRIu64 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘BAD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:109:5: note: in expansion of macro ‘fail_unless_equal’ 109 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘BAD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:111:5: note: in expansion of macro ‘fail_unless_equal’ 111 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_map_to_string’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:114:5: note: in expansion of macro ‘fail_unless_streq’ 114 | fail_unless_streq("Integer arrays", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:113:5: note: in expansion of macro ‘fail_unless_equal’ 113 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:101:1: note: in expansion of macro ‘test_int’ 101 | test_int(int16_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘BAD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:115:5: note: in expansion of macro ‘fail_unless_equal’ 115 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:115:5: note: in expansion of macro ‘fail_unless_equal’ 115 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_iterator_to_string’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:135:5: note: in expansion of macro ‘fail_unless_streq’ 135 | fail_unless_streq("Integer arrays", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int32_t_fn’: /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘BAD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘BAD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_once_recursive_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:134:5: note: in expansion of macro ‘fail_unless_equal’ 134 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_uint64_hash_table_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:154:17: error: too many arguments for format [-Werror=format-extra-args] 154 | "Hash table should start empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:136:5: note: in expansion of macro ‘fail_unless_equal’ 136 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:158:17: error: too many arguments for format [-Werror=format-extra-args] 158 | "Shouldn't get value pointer from empty hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:138:5: note: in expansion of macro ‘fail_unless_equal’ 138 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:169:5: note: in expansion of macro ‘fail_if_error’ 169 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:140:5: note: in expansion of macro ‘fail_unless_equal’ 140 | fail_unless_equal("Value", "%d", 1, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 87 | ", got " format ")", \ 88 | (what), (expected), (actual))) | ~~~~~~~~~~ | | | int /build/libcork/src/libcork/tests/test-threads.c:142:5: note: in expansion of macro ‘fail_unless_equal’ 142 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:172:25: error: too many arguments for format [-Werror=format-extra-args] 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:142:5: note: in expansion of macro ‘fail_unless_equal’ 142 | fail_unless_equal("Call count", "%zu", 1, call_count); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:177:17: error: too many arguments for format [-Werror=format-extra-args] 177 | "Unexpected previous key"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-managed-buffer.c:13: /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_managed_buffer_refcount_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:179:17: error: too many arguments for format [-Werror=format-extra-args] 179 | "Unexpected previous value"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:182:17: error: too many arguments for format [-Werror=format-extra-args] 182 | "Unexpected size after adding {0->32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:184:5: note: in expansion of macro ‘fail_if_error’ 184 | fail_if_error(entry = cork_hash_table_get_or_create | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:186:21: error: too many arguments for format [-Werror=format-extra-args] 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:189:17: error: too many arguments for format [-Werror=format-extra-args] 189 | "Unexpected value for {0=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:74:5: note: in expansion of macro ‘fail_if_error’ 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:192:17: error: too many arguments for format [-Werror=format-extra-args] 192 | "Unexpected size after retrieving {0->32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:85:17: error: too many arguments for format [-Werror=format-extra-args] 85 | "Managed buffer free function never called."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_thread_ids_fn’: /build/libcork/src/libcork/tests/test-threads.c:155:37: error: too many arguments for format [-Werror=format-extra-args] 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_managed_buffer_bad_refcount_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:100:5: note: in expansion of macro ‘fail_if_error’ 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-managed-buffer.c:112:13: error: too many arguments for format [-Werror=format-extra-args] 112 | "Managed buffer free function was called unexpectedly."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:195:5: note: in expansion of macro ‘fail_if_error’ 195 | fail_if_error(entry = cork_hash_table_get_or_create | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:197:25: error: too many arguments for format [-Werror=format-extra-args] 197 | fail_unless(is_new, "Should create new {1=>X} entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:206:17: error: too many arguments for format [-Werror=format-extra-args] 206 | "Unexpected size after adding {1=>2}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:215:17: error: too many arguments for format [-Werror=format-extra-args] 215 | "Couldn't delete {0=>32}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:218:17: error: too many arguments for format [-Werror=format-extra-args] 218 | "Unexpected size after deleting entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘BAD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:225:13: error: too many arguments for format [-Werror=format-extra-args] 225 | "Shouldn't be able to delete nonexistent {3=>X}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:230:17: error: too many arguments for format [-Werror=format-extra-args] 230 | "Unexpected size after deleting last entry"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_fn’: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_01_fn’: /build/libcork/src/libcork/tests/test-managed-buffer.c:131:23: error: too many arguments for format [-Werror=format-extra-args] 131 | "Shouldn't be able to slice a NULL buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:129:5: note: in expansion of macro ‘fail_unless_error’ 129 | fail_unless_error(cork_managed_buffer_slice | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:212:5: note: in expansion of macro ‘fail_if_error’ 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘BAD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:134:23: error: too many arguments for format [-Werror=format-extra-args] 134 | "Shouldn't be able to slice a NULL buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:132:5: note: in expansion of macro ‘fail_unless_error’ 132 | fail_unless_error(cork_managed_buffer_slice_offset | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:213:5: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal("Values", "%d", -1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:138:23: error: too many arguments for format [-Werror=format-extra-args] 138 | "Shouldn't be able to slice a NULL slice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:136:5: note: in expansion of macro ‘fail_unless_error’ 136 | fail_unless_error(cork_slice_copy | ^~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-dllist.c:14: /build/libcork/src/libcork/tests/test-dllist.c: In function ‘check_int64_list’: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_02_fn’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:225:5: note: in expansion of macro ‘fail_if_error’ 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘BAD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:141:23: error: too many arguments for format [-Werror=format-extra-args] 141 | "Shouldn't be able to slice a NULL slice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:139:5: note: in expansion of macro ‘fail_unless_error’ 139 | fail_unless_error(cork_slice_copy_offset | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:226:5: note: in expansion of macro ‘fail_if_error’ 226 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:227:5: note: in expansion of macro ‘fail_if_error’ 227 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:59:5: note: in expansion of macro ‘fail_unless_streq’ 59 | fail_unless_streq("List contents", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_refcount_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:228:5: note: in expansion of macro ‘fail_unless_equal’ 228 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:164:5: note: in expansion of macro ‘fail_if_error’ 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘BAD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:170:5: note: in expansion of macro ‘fail_if_error’ 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:171:5: note: in expansion of macro ‘fail_if_error’ 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:172:5: note: in expansion of macro ‘fail_if_error’ 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:180:17: error: too many arguments for format [-Werror=format-extra-args] 180 | "Managed buffer free function never called."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘BAD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:241:5: note: in expansion of macro ‘fail_if_error’ 241 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:244:25: error: too many arguments for format [-Werror=format-extra-args] 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c: In function ‘test_dllist_fn’: /build/libcork/src/libcork/tests/test-dllist.c:76:17: error: too many arguments for format [-Werror=format-extra-args] 76 | "Unexpected size of list: got %zu, expected 0", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_03_fn’: /build/libcork/src/libcork/tests/test-core.c:486:14: error: too many arguments for format [-Werror=format-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:484:9: note: in expansion of macro ‘fail_unless_error’ 484 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘BAD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:491:5: note: in expansion of macro ‘IPV6_TESTS’ 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:79:17: error: too many arguments for format [-Werror=format-extra-args] 79 | "Expected empty list"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:241:5: note: in expansion of macro ‘fail_if_error’ 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:252:5: note: in expansion of macro ‘fail_if_error’ 252 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:242:5: note: in expansion of macro ‘fail_if_error’ 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:255:25: error: too many arguments for format [-Werror=format-extra-args] 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:85:17: error: too many arguments for format [-Werror=format-extra-args] 85 | "Unexpected size of list: got %zu, expected 1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:243:5: note: in expansion of macro ‘fail_if_error’ 243 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:261:17: error: too many arguments for format [-Werror=format-extra-args] 261 | "Unexpected size after deleting entries using map"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:504:17: error: too many arguments for format [-Werror=format-extra-args] 504 | "Bad CIDR block for 1.2.3.4 and %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:244:5: note: in expansion of macro ‘fail_if_error’ 244 | fail_if_error(cork_thread_start(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:92:17: error: too many arguments for format [-Werror=format-extra-args] 92 | "Unexpected size of list: got %zu, expected 2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_bad_refcount_fn’: /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:99:17: error: too many arguments for format [-Werror=format-extra-args] 99 | "Unexpected size of list: got %zu, expected 3", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:199:5: note: in expansion of macro ‘fail_if_error’ 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_string_hash_table_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:281:5: note: in expansion of macro ‘fail_if_error’ 281 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:205:5: note: in expansion of macro ‘fail_if_error’ 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:284:17: error: too many arguments for format [-Werror=format-extra-args] 284 | "Unexpected size after adding {key1->1}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:106:17: error: too many arguments for format [-Werror=format-extra-args] 106 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:206:5: note: in expansion of macro ‘fail_if_error’ 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:207:5: note: in expansion of macro ‘fail_if_error’ 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:288:13: error: too many arguments for format [-Werror=format-extra-args] 288 | "No entry for key1"); | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:114:17: error: too many arguments for format [-Werror=format-extra-args] 114 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:507:13: error: too many arguments for format [-Werror=format-extra-args] 507 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:215:13: error: too many arguments for format [-Werror=format-extra-args] 215 | "Managed buffer free function was called unexpectedly."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:291:17: error: too many arguments for format [-Werror=format-extra-args] 291 | "Unexpected value for key1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:510:13: error: too many arguments for format [-Werror=format-extra-args] 510 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_equals_01_fn’: /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:239:5: note: in expansion of macro ‘fail_if_error’ 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:245:5: note: in expansion of macro ‘fail_if_error’ 245 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:244:5: note: in expansion of macro ‘fail_if_error’ 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:246:5: note: in expansion of macro ‘fail_if_error’ 246 | fail_if_error(cork_thread_join(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:245:5: note: in expansion of macro ‘fail_if_error’ 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ipv6_address_fn’: /build/libcork/src/libcork/tests/test-managed-buffer.c:248:17: error: too many arguments for format [-Werror=format-extra-args] 248 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-dllist.c:119:17: error: too many arguments for format [-Werror=format-extra-args] 119 | "Unexpected size of list: got %zu, expected 2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:102:1: note: in expansion of macro ‘test_int’ 102 | test_int(int32_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c: In function ‘test_slice_equals_02_fn’: /build/libcork/src/libcork/tests/test-hash-table.c:295:17: error: too many arguments for format [-Werror=format-extra-args] 295 | "Unexpected entry for key2"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_int64_t_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:247:5: note: in expansion of macro ‘fail_unless_equal’ 247 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:248:5: note: in expansion of macro ‘fail_unless_equal’ 248 | fail_unless_equal("Values", "%d", 2, v2); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:269:5: note: in expansion of macro ‘fail_if_error’ 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c: In function ‘test_pointer_hash_table_fn’: /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_04_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-hash-table.c:315:5: note: in expansion of macro ‘fail_if_error’ 315 | fail_if_error(cork_hash_table_put | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:261:5: note: in expansion of macro ‘fail_if_error’ 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:275:5: note: in expansion of macro ‘fail_if_error’ 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:318:17: error: too many arguments for format [-Werror=format-extra-args] 318 | "Unexpected size after adding {key1->1}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:64:17: error: too many arguments for format [-Werror=format-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:321:13: error: too many arguments for format [-Werror=format-extra-args] 321 | "No entry for key1"); | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:324:17: error: too many arguments for format [-Werror=format-extra-args] 324 | "Unexpected value for key1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:69:5: note: in expansion of macro ‘test_sum’ 69 | test_sum(&array, 0); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:262:5: note: in expansion of macro ‘fail_if_error’ 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-hash-table.c:327:17: error: too many arguments for format [-Werror=format-extra-args] 327 | "Unexpected entry for key2"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:277:5: note: in expansion of macro ‘fail_if_error’ 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:263:5: note: in expansion of macro ‘fail_if_error’ 263 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:278:5: note: in expansion of macro ‘fail_if_error’ 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); | ^~~~~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:70:5: note: in expansion of macro ‘add_element’ 70 | add_element ( 1, 1); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:264:5: note: in expansion of macro ‘fail_if_error’ 264 | fail_if_error(cork_thread_start(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:279:5: note: in expansion of macro ‘fail_if_error’ 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:265:5: note: in expansion of macro ‘fail_if_error’ 265 | fail_if_error(cork_thread_join(t2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:71:5: note: in expansion of macro ‘test_sum’ 71 | test_sum(&array, 1); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:282:17: error: too many arguments for format [-Werror=format-extra-args] 282 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:266:5: note: in expansion of macro ‘fail_if_error’ 266 | fail_if_error(cork_thread_join(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-managed-buffer.c:284:17: error: too many arguments for format [-Werror=format-extra-args] 284 | "Slices aren't equal"); | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:267:5: note: in expansion of macro ‘fail_unless_equal’ 267 | fail_unless_equal("Values", "%d", 1, v1); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:72:5: note: in expansion of macro ‘add_element0’ 72 | add_element0( 2, 2, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:73:5: note: in expansion of macro ‘test_sum’ 73 | test_sum(&array, 3); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:74:5: note: in expansion of macro ‘add_element’ 74 | add_element ( 3, 3); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:75:5: note: in expansion of macro ‘test_sum’ 75 | test_sum(&array, 6); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c:268:5: note: in expansion of macro ‘fail_unless_equal’ 268 | fail_unless_equal("Values", "%d", 2, v2); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:76:5: note: in expansion of macro ‘add_element0’ 76 | add_element0( 4, 4, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-threads.c: In function ‘test_threads_error_01_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:277:5: note: in expansion of macro ‘fail_if_error’ 277 | fail_if_error(t1 = cork_thread_new | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-threads.c:279:5: note: in expansion of macro ‘fail_if_error’ 279 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:77:5: note: in expansion of macro ‘test_sum’ 77 | test_sum(&array, 10); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:78:5: note: in expansion of macro ‘add_element0’ 78 | add_element0( 5, 5, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:79:5: note: in expansion of macro ‘test_sum’ 79 | test_sum(&array, 15); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:80:5: note: in expansion of macro ‘add_element’ 80 | add_element ( 6, 6); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:81:5: note: in expansion of macro ‘test_sum’ 81 | test_sum(&array, 21); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:82:5: note: in expansion of macro ‘add_element’ 82 | add_element ( 7, 7); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:83:5: note: in expansion of macro ‘test_sum’ 83 | test_sum(&array, 28); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u In file included from /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:84:5: note: in expansion of macro ‘add_element0’ 84 | add_element0( 8, 8, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:85:5: note: in expansion of macro ‘test_sum’ 85 | test_sum(&array, 36); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:27:5: note: in expansion of macro ‘fail_if_error’ 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:29:17: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:29:17: error: too many arguments for format [-Werror=format-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:86:5: note: in expansion of macro ‘add_element’ 86 | add_element ( 9, 9); \ | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:87:5: note: in expansion of macro ‘test_sum’ 87 | test_sum(&array, 45); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:35:9: note: in expansion of macro ‘fail_if_error’ 35 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:38:21: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Werror=format=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/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 /build/libcork/src/libcork/tests/test-array.c:14: /build/libcork/src/libcork/tests/test-array.c:38:21: error: too many arguments for format [-Werror=format-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:88:5: note: in expansion of macro ‘add_element0’ 88 | add_element0(10, 10, int_type); \ | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:89:5: note: in expansion of macro ‘test_sum’ 89 | test_sum(&array, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:92:5: note: in expansion of macro ‘fail_if_error’ 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:50:21: error: too many arguments for format [-Werror=format-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:93:5: note: in expansion of macro ‘test_sum’ 93 | test_sum(©, 55); \ | ^~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:103:1: note: in expansion of macro ‘test_int’ 103 | test_int(int64_t) | ^~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_string_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:129:5: note: in expansion of macro ‘add_string’ 129 | add_string("hello", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-bitset.dir/build.make:76: tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o] Error 1 /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:130:5: note: in expansion of macro ‘add_string’ 130 | add_string("there", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:131:5: note: in expansion of macro ‘add_string’ 131 | add_string("world", 3); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:132:5: note: in expansion of macro ‘test_string’ 132 | test_string(&array, 0, "hello"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:133:5: note: in expansion of macro ‘test_string’ 133 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:134:5: note: in expansion of macro ‘test_string’ 134 | test_string(&array, 2, "world"); | ^~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:440: tests/CMakeFiles/embedded-test-bitset.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-slice.dir/build.make:76: tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o] Error 1 /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:136:5: note: in expansion of macro ‘add_string’ 136 | add_string("reusing", 1); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-array.c:111:5: note: in expansion of macro ‘fail_if_error’ 111 | fail_if_error(cork_string_array_append(&array, element)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:113:17: error: too many arguments for format [-Werror=format-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:137:5: note: in expansion of macro ‘add_string’ 137 | add_string("entries", 2); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:138:5: note: in expansion of macro ‘test_string’ 138 | test_string(&array, 0, "reusing"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:139:5: note: in expansion of macro ‘test_string’ 139 | test_string(&array, 1, "entries"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:960: tests/CMakeFiles/embedded-test-slice.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:143:5: note: in expansion of macro ‘test_string’ 143 | test_string(©, 0, "reusing"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:119:9: note: in expansion of macro ‘fail_unless_streq’ 119 | fail_unless_streq("Array elements", expected, actual); \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:144:5: note: in expansion of macro ‘test_string’ 144 | test_string(©, 1, "entries"); | ^~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c: In function ‘check_buffers’: /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 * cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-array.c: In function ‘test_array_callbacks_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:33:52: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c:33:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘void *’ [-Werror=format=] 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); | ~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/test-buffer.c:33:69: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c:33:17: error: too many arguments for format [-Werror=format-extra-args] 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:226:5: note: in expansion of macro ‘check_counts’ 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘check_buffer’: /build/libcork/src/libcork/tests/test-buffer.c:42:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘void *’ [-Werror=format=] 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | buf->size, buf->buf, expected_len, expected); | ~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:42:54: note: format string is defined here 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ~^ | | | char * | %p In file included from /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c:42:17: error: too many arguments for format [-Werror=format-extra-args] 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:229:5: note: in expansion of macro ‘check_counts’ 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:58:5: note: in expansion of macro ‘fail_if_error’ 58 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:61:17: error: too many arguments for format [-Werror=format-extra-args] 61 | "Unexpected character at position 0: got %c, expected %c", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:65:17: error: too many arguments for format [-Werror=format-extra-args] 65 | "Unexpected character at position 1: got %c, expected %c", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:68:5: note: in expansion of macro ‘fail_if_error’ 68 | fail_if_error(buffer2 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:232:5: note: in expansion of macro ‘check_counts’ 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o] Error 1 /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:69:5: note: in expansion of macro ‘fail_if_error’ 69 | fail_if_error(cork_buffer_set_string(buffer2, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:234:5: note: in expansion of macro ‘check_counts’ 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:72:5: note: in expansion of macro ‘fail_if_error’ 72 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:73:5: note: in expansion of macro ‘fail_if_error’ 73 | fail_if_error(cork_buffer_printf | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_append_fn’: make[1]: *** [CMakeFiles/Makefile2:908: tests/CMakeFiles/embedded-test-ring-buffer.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:109:5: note: in expansion of macro ‘fail_if_error’ 109 | fail_if_error(cork_buffer_set(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:116:5: note: in expansion of macro ‘fail_if_error’ 116 | fail_if_error(cork_buffer_append(&buffer1, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:117:5: note: in expansion of macro ‘fail_if_error’ 117 | fail_if_error(cork_buffer_append(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:118:5: note: in expansion of macro ‘fail_if_error’ 118 | fail_if_error(cork_buffer_append_string(&buffer1, SRC3)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:119:5: note: in expansion of macro ‘fail_if_error’ 119 | fail_if_error(cork_buffer_append_string(&buffer1, SRC4)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:122:5: note: in expansion of macro ‘fail_if_error’ 122 | fail_if_error(cork_buffer_set_string(&buffer2, EXPECTED)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:237:5: note: in expansion of macro ‘check_counts’ 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:125:5: note: in expansion of macro ‘fail_if_error’ 125 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:126:5: note: in expansion of macro ‘fail_if_error’ 126 | fail_if_error(cork_buffer_set(buffer3, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:127:5: note: in expansion of macro ‘fail_if_error’ 127 | fail_if_error(cork_buffer_append_printf | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘void *’ [-Werror=format=] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); | ~~~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘void *’ [-Werror=format=] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); | ~~~~~~~~~~~~ | | | void * /build/libcork/src/libcork/tests/test-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 /build/libcork/src/libcork/tests/test-buffer.c:15: /build/libcork/src/libcork/tests/test-buffer.c:132:17: error: too many arguments for format [-Werror=format-extra-args] 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:240:5: note: in expansion of macro ‘check_counts’ 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_slicing_fn’: /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:152:5: note: in expansion of macro ‘fail_if_error’ 152 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:153:5: note: in expansion of macro ‘fail_if_error’ 153 | fail_if_error(cork_buffer_set_string(buffer, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:155:5: note: in expansion of macro ‘fail_if_error’ 155 | fail_if_error(managed = cork_buffer_to_managed_buffer | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:159:5: note: in expansion of macro ‘fail_if_error’ 159 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:160:5: note: in expansion of macro ‘fail_if_error’ 160 | fail_if_error(cork_buffer_set_string(buffer, SRC)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:162:5: note: in expansion of macro ‘fail_if_error’ 162 | fail_if_error(cork_buffer_to_slice(buffer, &slice1)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:242:5: note: in expansion of macro ‘check_counts’ 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:164:5: note: in expansion of macro ‘fail_if_error’ 164 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:167:5: note: in expansion of macro ‘fail_if_error’ 167 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, buffer->size)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:170:5: note: in expansion of macro ‘fail_if_error’ 170 | fail_if_error(cork_slice_copy_fast(&slice2, &slice1, 2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:173:5: note: in expansion of macro ‘fail_if_error’ 173 | fail_if_error(cork_slice_copy_offset_fast(&slice2, &slice1, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:176:5: note: in expansion of macro ‘fail_if_error’ 176 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 0)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:177:5: note: in expansion of macro ‘fail_if_error’ 177 | fail_if_error(cork_slice_slice_offset_fast(&slice2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:178:5: note: in expansion of macro ‘fail_if_error’ 178 | fail_if_error(cork_slice_slice_fast(&slice2, 0, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:245:5: note: in expansion of macro ‘check_counts’ 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:179:5: note: in expansion of macro ‘fail_if_error’ 179 | fail_if_error(cork_slice_slice(&slice1, 2, 2)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c:180:53: error: too many arguments for format [-Werror=format-extra-args] 180 | fail_unless(cork_slice_equal(&slice1, &slice2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-buffer.c: In function ‘test_buffer_stream_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:204:5: note: in expansion of macro ‘fail_if_error’ 204 | fail_if_error(consumer = | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:208:5: note: in expansion of macro ‘fail_if_error’ 208 | fail_if_error(cork_stream_consumer_data(consumer, SRC1, SRC1_LEN, true)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:247:5: note: in expansion of macro ‘check_counts’ 247 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:211:5: note: in expansion of macro ‘fail_if_error’ 211 | fail_if_error(cork_stream_consumer_data(consumer, SRC2, SRC2_LEN, false)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:214:5: note: in expansion of macro ‘fail_if_error’ 214 | fail_if_error(cork_stream_consumer_eof(consumer)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-buffer.c:218:5: note: in expansion of macro ‘fail_if_error’ 218 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:249:5: note: in expansion of macro ‘check_counts’ 249 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:252:5: note: in expansion of macro ‘check_counts’ 252 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:255:5: note: in expansion of macro ‘check_counts’ 255 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:257:5: note: in expansion of macro ‘check_counts’ 257 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:259:5: note: in expansion of macro ‘check_counts’ 259 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-mempool.dir/build.make:76: tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ In file included from /build/libcork/src/libcork/tests/test-subprocess.c:16: /build/libcork/src/libcork/tests/test-subprocess.c: In function ‘verify_consumer__eof’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:856: tests/CMakeFiles/embedded-test-mempool.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c:60:17: error: too many arguments for format [-Werror=format-extra-args] 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:262:5: note: in expansion of macro ‘check_counts’ 262 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:523:9: note: in expansion of macro ‘fail_if_error’ 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c: In function ‘test_subprocesses_’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:144:9: note: in expansion of macro ‘fail_if_error’ 144 | fail_if_error(exec = cork_exec_new_with_param_array | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:147:9: note: in expansion of macro ‘fail_if_error’ 147 | fail_if_error(sub = cork_subprocess_new_exec | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:153:5: note: in expansion of macro ‘fail_if_error’ 153 | fail_if_error(cork_subprocess_group_start(group)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:527:21: error: too many arguments for format [-Werror=format-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-subprocess.c:154:5: note: in expansion of macro ‘fail_if_error’ 154 | fail_if_error(cork_subprocess_group_wait(group)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:270:5: note: in expansion of macro ‘check_counts’ 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:534:21: error: too many arguments for format [-Werror=format-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:546:5: note: in expansion of macro ‘IPV6_TESTS’ 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘BAD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-subprocess.c:158:9: note: in expansion of macro ‘fail_unless_equal’ 158 | fail_unless_equal("Exit codes", "%d", | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:272:5: note: in expansion of macro ‘check_counts’ 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘BAD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘BAD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:274:5: note: in expansion of macro ‘check_counts’ 274 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:207:9: note: in expansion of macro ‘fail_unless_equal’ 207 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:209:9: note: in expansion of macro ‘fail_unless_equal’ 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘BAD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:211:9: note: in expansion of macro ‘fail_unless_equal’ 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:213:9: note: in expansion of macro ‘fail_unless_equal’ 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-array.c:277:5: note: in expansion of macro ‘check_counts’ 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:542:14: error: too many arguments for format [-Werror=format-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:540:9: note: in expansion of macro ‘fail_unless_error’ 540 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:547:5: note: in expansion of macro ‘IPV4_TESTS’ 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-files.dir/build.make:76: tests/CMakeFiles/embedded-test-files.dir/test-files.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:560:17: error: too many arguments for format [-Werror=format-extra-args] 560 | "Bad CIDR block %u", | ^~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:563:13: error: too many arguments for format [-Werror=format-extra-args] 563 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:566:13: error: too many arguments for format [-Werror=format-extra-args] 566 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:648: tests/CMakeFiles/embedded-test-files.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c: In function ‘test_ip_address_fn’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:409:5: note: in expansion of macro ‘GOOD’ 409 | good("192.168.1.100", "192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ [ 59%] Linking C executable embedded-test-gc /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:410:5: note: in expansion of macro ‘GOOD’ 410 | good("01.002.0003.00000004", "1.2.3.4"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:411:5: note: in expansion of macro ‘GOOD’ 411 | good("010.0020.00034.00000089", "10.20.34.89"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:412:5: note: in expansion of macro ‘GOOD’ 412 | good("0100.000200.00.000", "100.200.0.0"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:413:5: note: in expansion of macro ‘BAD’ 413 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:414:5: note: in expansion of macro ‘BAD’ 414 | bad(".", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:415:5: note: in expansion of macro ‘BAD’ 415 | bad("192.168.0.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:416:5: note: in expansion of macro ‘BAD’ 416 | bad("192.168.0.1.", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:417:5: note: in expansion of macro ‘BAD’ 417 | bad("192..168.0.1", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:418:5: note: in expansion of macro ‘BAD’ 418 | bad("192.168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:419:5: note: in expansion of macro ‘BAD’ 419 | bad(".168.0.1.2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:420:5: note: in expansion of macro ‘BAD’ 420 | bad("256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:421:5: note: in expansion of macro ‘BAD’ 421 | bad("00256.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:422:5: note: in expansion of macro ‘BAD’ 422 | bad("392.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:423:5: note: in expansion of macro ‘BAD’ 423 | bad("1920.0.0.0", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:424:5: note: in expansion of macro ‘BAD’ 424 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:603:5: note: in expansion of macro ‘IPV4_TESTS’ 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:427:5: note: in expansion of macro ‘GOOD’ 427 | good("::", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:428:5: note: in expansion of macro ‘GOOD’ 428 | good("0:0:0:0:0:0:0:0", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:429:5: note: in expansion of macro ‘GOOD’ 429 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:430:5: note: in expansion of macro ‘GOOD’ 430 | good("fe80::", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:431:5: note: in expansion of macro ‘GOOD’ 431 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:432:5: note: in expansion of macro ‘GOOD’ 432 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:433:5: note: in expansion of macro ‘GOOD’ 433 | good("::1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:434:5: note: in expansion of macro ‘GOOD’ 434 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:435:5: note: in expansion of macro ‘GOOD’ 435 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:436:5: note: in expansion of macro ‘GOOD’ 436 | good("fe80::1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:437:5: note: in expansion of macro ‘GOOD’ 437 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:438:5: note: in expansion of macro ‘GOOD’ 438 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:439:5: note: in expansion of macro ‘GOOD’ 439 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:440:5: note: in expansion of macro ‘GOOD’ 440 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:804: tests/CMakeFiles/embedded-test-managed-buffer.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:442:5: note: in expansion of macro ‘GOOD’ 442 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-dllist.dir/build.make:76: tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:443:5: note: in expansion of macro ‘BAD’ 443 | bad("", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:444:5: note: in expansion of macro ‘BAD’ 444 | bad(":", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:445:5: note: in expansion of macro ‘BAD’ 445 | bad("fe80:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:596: tests/CMakeFiles/embedded-test-dllist.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:446:5: note: in expansion of macro ‘BAD’ 446 | bad("fe80::1::2", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:447:5: note: in expansion of macro ‘BAD’ 447 | bad("1:2:3:4:5:6:7", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:448:5: note: in expansion of macro ‘BAD’ 448 | bad("1:2:3:4:5:6:7:8:9", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:449:5: note: in expansion of macro ‘BAD’ 449 | bad("::1:", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:450:5: note: in expansion of macro ‘BAD’ 450 | bad("fe800::", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:599:14: error: too many arguments for format [-Werror=format-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:597:9: note: in expansion of macro ‘fail_unless_error’ 597 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:451:5: note: in expansion of macro ‘BAD’ 451 | bad("stuv", -1); \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[2]: *** [tests/CMakeFiles/embedded-test-hash-table.dir/build.make:76: tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:453:5: note: in expansion of macro ‘GOOD’ 453 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:752: tests/CMakeFiles/embedded-test-hash-table.dir/all] Error 2 /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:454:5: note: in expansion of macro ‘GOOD’ 454 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:455:5: note: in expansion of macro ‘GOOD’ 455 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:456:5: note: in expansion of macro ‘GOOD’ 456 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:457:5: note: in expansion of macro ‘GOOD’ 457 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:580:9: note: in expansion of macro ‘fail_if_error’ 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:584:21: error: too many arguments for format [-Werror=format-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:591:21: error: too many arguments for format [-Werror=format-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:458:5: note: in expansion of macro ‘GOOD’ 458 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:604:5: note: in expansion of macro ‘IPV6_TESTS’ 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:616:17: error: too many arguments for format [-Werror=format-extra-args] 616 | "Unexpected IP address version (expected 4, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:619:17: error: too many arguments for format [-Werror=format-extra-args] 619 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:624:17: error: too many arguments for format [-Werror=format-extra-args] 624 | "Unexpected IP address version (expected 6, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:627:17: error: too many arguments for format [-Werror=format-extra-args] 627 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_utc_format’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:649:5: note: in expansion of macro ‘fail_if_error’ 649 | fail_if_error(cork_timestamp_format_utc(ts, format, &buf)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:651:17: error: too many arguments for format [-Werror=format-extra-args] 651 | "Unexpected formatted UTC time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_local_format’: /build/libcork/src/libcork/tests/helpers.h:69:18: error: too many arguments for format [-Werror=format-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork/src/libcork/tests/test-core.c:662:5: note: in expansion of macro ‘fail_if_error’ 662 | fail_if_error(cork_timestamp_format_local(ts, format, &buf)); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:664:17: error: too many arguments for format [-Werror=format-extra-args] 664 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_timestamp_fn’: /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:705:5: note: in expansion of macro ‘test’ 705 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:706:5: note: in expansion of macro ‘test’ 706 | test(gsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:707:5: note: in expansion of macro ‘test’ 707 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:708:5: note: in expansion of macro ‘test’ 708 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:709:5: note: in expansion of macro ‘test’ 709 | test(nsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:713:5: note: in expansion of macro ‘test’ 713 | test(sec, TEST_TIME_2); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:714:5: note: in expansion of macro ‘test’ 714 | test(gsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:715:5: note: in expansion of macro ‘test’ 715 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:716:5: note: in expansion of macro ‘test’ 716 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:717:5: note: in expansion of macro ‘test’ 717 | test(nsec, 0); | ^~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:721:5: note: in expansion of macro ‘test’ 721 | test(sec, TEST_TIME_3); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:722:5: note: in expansion of macro ‘test’ 722 | test(gsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:723:5: note: in expansion of macro ‘test’ 723 | test(msec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:724:5: note: in expansion of macro ‘test’ 724 | test(usec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:725:5: note: in expansion of macro ‘test’ 725 | test(nsec, 0); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:729:5: note: in expansion of macro ‘test’ 729 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:730:5: note: in expansion of macro ‘test’ 730 | test(gsec, 1 << 30); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:731:5: note: in expansion of macro ‘test’ 731 | test(msec, 250); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:732:5: note: in expansion of macro ‘test’ 732 | test(usec, 250000); | ^~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:733:5: note: in expansion of macro ‘test’ 733 | test(nsec, 250000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:736:5: note: in expansion of macro ‘test’ 736 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:737:5: note: in expansion of macro ‘test’ 737 | test(gsec, 1 << 31); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:738:5: note: in expansion of macro ‘test’ 738 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:739:5: note: in expansion of macro ‘test’ 739 | test(usec, 500000); | ^~~~ make[2]: *** [tests/CMakeFiles/embedded-test-buffer.dir/build.make:76: tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:740:5: note: in expansion of macro ‘test’ 740 | test(nsec, 500000000); | ^~~~ make[1]: *** [CMakeFiles/Makefile2:492: tests/CMakeFiles/embedded-test-buffer.dir/all] Error 2 make[2]: *** [tests/CMakeFiles/embedded-test-threads.dir/build.make:76: tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:743:5: note: in expansion of macro ‘test’ 743 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:744:5: note: in expansion of macro ‘test’ 744 | test(gsec, 1 << 31); | ^~~~ make[1]: *** [CMakeFiles/Makefile2:1064: tests/CMakeFiles/embedded-test-threads.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:745:5: note: in expansion of macro ‘test’ 745 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:746:5: note: in expansion of macro ‘test’ 746 | test(usec, 500000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:747:5: note: in expansion of macro ‘test’ 747 | test(nsec, 500000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:750:5: note: in expansion of macro ‘test’ 750 | test(sec, TEST_TIME_1); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:751:5: note: in expansion of macro ‘test’ 751 | test(gsec, 1 << 31); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:752:5: note: in expansion of macro ‘test’ 752 | test(msec, 500); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:753:5: note: in expansion of macro ‘test’ 753 | test(usec, 500000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c:695:17: error: too many arguments for format [-Werror=format-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:754:5: note: in expansion of macro ‘test’ 754 | test(nsec, 500000000); | ^~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_decimal’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:792:5: note: in expansion of macro ‘fail_unless_streq’ 792 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_hex’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:800:5: note: in expansion of macro ‘fail_unless_streq’ 800 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_padded_hex’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:808:5: note: in expansion of macro ‘fail_unless_streq’ 808 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_eq’: /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:976:5: note: in expansion of macro ‘test_u128_cmp’ 976 | test_u128_cmp(eq, "==", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:977:5: note: in expansion of macro ‘test_u128_cmp’ 977 | test_u128_cmp(ne, "!=", value1, value2, !expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_lt’: make[2]: *** [tests/CMakeFiles/embedded-test-subprocess.dir/build.make:76: tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o] Error 1 /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:997:5: note: in expansion of macro ‘test_u128_cmp’ 997 | test_u128_cmp(lt, "<", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:998:5: note: in expansion of macro ‘test_u128_cmp’ 998 | test_u128_cmp(ge, ">=", value1, value2, !expected); | ^~~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:1012: tests/CMakeFiles/embedded-test-subprocess.dir/all] Error 2 /build/libcork/src/libcork/tests/test-core.c: In function ‘test_one_u128_gt’: /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:1017:5: note: in expansion of macro ‘test_u128_cmp’ 1017 | test_u128_cmp(gt, ">", value1, value2, expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:962:21: error: too many arguments for format [-Werror=format-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ | ^~~ /build/libcork/src/libcork/tests/test-core.c:1018:5: note: in expansion of macro ‘test_u128_cmp’ 1018 | test_u128_cmp(le, "<=", value1, value2, !expected); | ^~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_statement_expr_fn’: /build/libcork/src/libcork/tests/helpers.h:86:18: error: too many arguments for format [-Werror=format-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1040:5: note: in expansion of macro ‘fail_unless_equal’ 1040 | fail_unless_equal("Statement expression result", "%d", 2, value); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c: In function ‘test_uid_fn’: /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1058:5: note: in expansion of macro ‘fail_unless_streq’ 1058 | fail_unless_streq("UID name", "test_id_01", cork_uid_name(test_id_01)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/helpers.h:92:18: error: too many arguments for format [-Werror=format-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1059:5: note: in expansion of macro ‘fail_unless_streq’ 1059 | fail_unless_streq("UID name", "test_id_02", cork_uid_name(test_id_02)); | ^~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1063:39: error: too many arguments for format [-Werror=format-extra-args] 1063 | fail_if(cork_uid_equal(id1, id2), "Unique IDs aren't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1067:43: error: too many arguments for format [-Werror=format-extra-args] 1067 | fail_unless(cork_uid_equal(id1, id2), "Unique ID isn't equal to itself"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork/src/libcork/tests/test-core.c:1071:39: error: too many arguments for format [-Werror=format-extra-args] 1071 | fail_if(cork_uid_equal(id1, id2), "NULL unique ID isn't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/embedded-test-array.dir/build.make:76: tests/CMakeFiles/embedded-test-array.dir/test-array.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:388: tests/CMakeFiles/embedded-test-array.dir/all] Error 2 cc1: all warnings being treated as errors make[2]: *** [tests/CMakeFiles/embedded-test-core.dir/build.make:76: tests/CMakeFiles/embedded-test-core.dir/test-core.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:544: tests/CMakeFiles/embedded-test-core.dir/all] Error 2 [ 59%] Built target embedded-test-gc [ 59%] Built target libcork-shared make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting...