DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build --target all --
Change Dir: 'TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build'

Run Build Command(s): ninja -v -j 70 all
[1/37] TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot -DDEFLATE_CODEC -DLZMA_CODEC -Davro_shared_EXPORTS -ITOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -pipe -Wno-error=incompatible-pointer-types -fPIC   -W -Wall -MD -MT src/CMakeFiles/avro-shared.dir/st.c.o -MF src/CMakeFiles/avro-shared.dir/st.c.o.d -o src/CMakeFiles/avro-shared.dir/st.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c
FAILED: src/CMakeFiles/avro-shared.dir/st.c.o 
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot -DDEFLATE_CODEC -DLZMA_CODEC -Davro_shared_EXPORTS -ITOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -pipe -Wno-error=incompatible-pointer-types -fPIC   -W -Wall -MD -MT src/CMakeFiles/avro-shared.dir/st.c.o -MF src/CMakeFiles/avro-shared.dir/st.c.o.d -o src/CMakeFiles/avro-shared.dir/st.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:42:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(long int,  long int)' [-Wincompatible-pointer-types]
   42 |         HASH_FUNCTION_CAST numcmp,
      |                            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:42:28: note: (near initialization for 'type_numhash.compare')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:39:12: note: 'numcmp' declared here
   39 | static int numcmp(long, long);
      |            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:43:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(long int)' [-Wincompatible-pointer-types]
   43 |         HASH_FUNCTION_CAST numhash
      |                            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:43:28: note: (near initialization for 'type_numhash.hash')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:40:12: note: 'numhash' declared here
   40 | static int numhash(long);
      |            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:51:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(const char *, const char *)' [-Wincompatible-pointer-types]
   51 |         HASH_FUNCTION_CAST strcmp,
      |                            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:51:28: note: (near initialization for 'type_strhash.compare')
In file included from TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:14:
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot/usr/include/string.h:156:12: note: 'strcmp' declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:52:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(const char *)' [-Wincompatible-pointer-types]
   52 |         HASH_FUNCTION_CAST strhash
      |                            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:52:28: note: (near initialization for 'type_strhash.hash')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:49:12: note: 'strhash' declared here
   49 | static int strhash(const char *);
      |            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_lookup':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:240:20: note: in expansion of macro 'do_hash'
  240 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
In file included from TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:16:
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:226:9: note: in expansion of macro 'PTR_NOT_EQUAL'
  226 |     if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
      |         ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:241:9: note: in expansion of macro 'FIND_ENTRY'
  241 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:228:16: note: in expansion of macro 'PTR_NOT_EQUAL'
  228 |         while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
      |                ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:241:9: note: in expansion of macro 'FIND_ENTRY'
  241 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_insert':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:275:20: note: in expansion of macro 'do_hash'
  275 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:226:9: note: in expansion of macro 'PTR_NOT_EQUAL'
  226 |     if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
      |         ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:276:9: note: in expansion of macro 'FIND_ENTRY'
  276 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:228:16: note: in expansion of macro 'PTR_NOT_EQUAL'
  228 |         while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
      |                ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:276:9: note: in expansion of macro 'FIND_ENTRY'
  276 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_add_direct':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:291:20: note: in expansion of macro 'do_hash'
  291 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_delete':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:70:33: note: in expansion of macro 'do_hash'
   70 | #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
      |                                 ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:366:20: note: in expansion of macro 'do_hash_bin'
  366 |         hash_val = do_hash_bin(*key, table);
      |                    ^~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:375:13: note: in expansion of macro 'EQUAL'
  375 |         if (EQUAL(table, *key, ptr->key)) {
      |             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:386:21: note: in expansion of macro 'EQUAL'
  386 |                 if (EQUAL(table, ptr->next->key, *key)) {
      |                     ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_delete_safe':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:70:33: note: in expansion of macro 'do_hash'
   70 | #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
      |                                 ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:406:20: note: in expansion of macro 'do_hash_bin'
  406 |         hash_val = do_hash_bin(*key, table);
      |                    ^~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:416:44: note: in expansion of macro 'EQUAL'
  416 |                 if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) {
      |                                            ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_cleanup_safe':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:442:46: warning: passing argument 2 of 'st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
  442 |         st_foreach(table, HASH_FUNCTION_CAST delete_never, never);
      |                                              ^~~~~~~~~~~~
      |                                              |
      |                                              int (*)(st_data_t,  st_data_t,  st_data_t) {aka int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:70:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(st_data_t,  st_data_t,  st_data_t)' {aka 'int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
   70 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
      |                               ^~~~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:57:18: note: in definition of macro '_'
   57 | # define _(args) args
      |                  ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:429:12: note: 'delete_never' declared here
  429 | static int delete_never(st_data_t key, st_data_t value, st_data_t never)
      |            ^~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_foreach':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:455:52: error: too many arguments to function 'func'; expected 0, have 3
  455 |                         retval = (enum st_retval) (*func) (ptr->key, ptr->record, arg);
      |                                                   ~^~~~~~  ~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:467:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
  467 |                                 if (!tmp) {
      |                                    ^
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:476:25: note: here
  476 |                         case ST_CONTINUE:
      |                         ^~~~
[2/37] TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot -DDEFLATE_CODEC -DLZMA_CODEC -ITOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -pipe -Wno-error=incompatible-pointer-types   -W -Wall -MD -MT src/CMakeFiles/avro-static.dir/st.c.o -MF src/CMakeFiles/avro-static.dir/st.c.o.d -o src/CMakeFiles/avro-static.dir/st.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c
FAILED: src/CMakeFiles/avro-static.dir/st.c.o 
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot -DDEFLATE_CODEC -DLZMA_CODEC -ITOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c=/usr/src/debug/avro-c/1.11.3  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build=/usr/src/debug/avro-c/1.11.3  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot-native=  -pipe -Wno-error=incompatible-pointer-types   -W -Wall -MD -MT src/CMakeFiles/avro-static.dir/st.c.o -MF src/CMakeFiles/avro-static.dir/st.c.o.d -o src/CMakeFiles/avro-static.dir/st.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:42:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(long int,  long int)' [-Wincompatible-pointer-types]
   42 |         HASH_FUNCTION_CAST numcmp,
      |                            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:42:28: note: (near initialization for 'type_numhash.compare')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:39:12: note: 'numcmp' declared here
   39 | static int numcmp(long, long);
      |            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:43:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(long int)' [-Wincompatible-pointer-types]
   43 |         HASH_FUNCTION_CAST numhash
      |                            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:43:28: note: (near initialization for 'type_numhash.hash')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:40:12: note: 'numhash' declared here
   40 | static int numhash(long);
      |            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:51:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(const char *, const char *)' [-Wincompatible-pointer-types]
   51 |         HASH_FUNCTION_CAST strcmp,
      |                            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:51:28: note: (near initialization for 'type_strhash.compare')
In file included from TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:14:
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/recipe-sysroot/usr/include/string.h:156:12: note: 'strcmp' declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:52:28: warning: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(const char *)' [-Wincompatible-pointer-types]
   52 |         HASH_FUNCTION_CAST strhash
      |                            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:52:28: note: (near initialization for 'type_strhash.hash')
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:49:12: note: 'strhash' declared here
   49 | static int strhash(const char *);
      |            ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_lookup':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:240:20: note: in expansion of macro 'do_hash'
  240 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
In file included from TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:16:
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:226:9: note: in expansion of macro 'PTR_NOT_EQUAL'
  226 |     if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
      |         ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:241:9: note: in expansion of macro 'FIND_ENTRY'
  241 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:228:16: note: in expansion of macro 'PTR_NOT_EQUAL'
  228 |         while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
      |                ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:241:9: note: in expansion of macro 'FIND_ENTRY'
  241 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_insert':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:275:20: note: in expansion of macro 'do_hash'
  275 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:226:9: note: in expansion of macro 'PTR_NOT_EQUAL'
  226 |     if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
      |         ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:276:9: note: in expansion of macro 'FIND_ENTRY'
  276 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:215:45: note: in expansion of macro 'EQUAL'
  215 | ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
      |                                             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:228:16: note: in expansion of macro 'PTR_NOT_EQUAL'
  228 |         while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
      |                ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:276:9: note: in expansion of macro 'FIND_ENTRY'
  276 |         FIND_ENTRY(table, ptr, hash_val, bin_pos);
      |         ^~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_add_direct':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:291:20: note: in expansion of macro 'do_hash'
  291 |         hash_val = do_hash(key, table);
      |                    ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_delete':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:70:33: note: in expansion of macro 'do_hash'
   70 | #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
      |                                 ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:366:20: note: in expansion of macro 'do_hash_bin'
  366 |         hash_val = do_hash_bin(*key, table);
      |                    ^~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:375:13: note: in expansion of macro 'EQUAL'
  375 |         if (EQUAL(table, *key, ptr->key)) {
      |             ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:386:21: note: in expansion of macro 'EQUAL'
  386 |                 if (EQUAL(table, ptr->next->key, *key)) {
      |                     ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_delete_safe':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:69:43: error: too many arguments to function 'table->type->hash'; expected 0, have 1
   69 | #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
      |                                          ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:70:33: note: in expansion of macro 'do_hash'
   70 | #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)
      |                                 ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:406:20: note: in expansion of macro 'do_hash_bin'
  406 |         hash_val = do_hash_bin(*key, table);
      |                    ^~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:42:9: note: declared here
   42 |   int (*hash) (ANYARGS);
      |         ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:67:40: error: too many arguments to function 'table->type->compare'; expected 0, have 2
   67 | #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0)
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:416:44: note: in expansion of macro 'EQUAL'
  416 |                 if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) {
      |                                            ^~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:41:9: note: declared here
   41 |   int (*compare) (ANYARGS);
      |         ^~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_cleanup_safe':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:442:46: warning: passing argument 2 of 'st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
  442 |         st_foreach(table, HASH_FUNCTION_CAST delete_never, never);
      |                                              ^~~~~~~~~~~~
      |                                              |
      |                                              int (*)(st_data_t,  st_data_t,  st_data_t) {aka int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:70:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(st_data_t,  st_data_t,  st_data_t)' {aka 'int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
   70 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
      |                               ^~~~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.h:57:18: note: in definition of macro '_'
   57 | # define _(args) args
      |                  ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:429:12: note: 'delete_never' declared here
  429 | static int delete_never(st_data_t key, st_data_t value, st_data_t never)
      |            ^~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c: In function 'st_foreach':
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:455:52: error: too many arguments to function 'func'; expected 0, have 3
  455 |                         retval = (enum st_retval) (*func) (ptr->key, ptr->record, arg);
      |                                                   ~^~~~~~  ~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:467:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
  467 |                                 if (!tmp) {
      |                                    ^
TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:476:25: note: here
  476 |                         case ST_CONTINUE:
      |                         ^~~~
ninja: build stopped: subcommand failed.

WARNING: TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/temp/run.do_compile.1916822:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/temp/run.do_compile.1916822, line 153
	#2: cmake_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/temp/run.do_compile.1916822, line 147
	#3: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/temp/run.do_compile.1916822, line 142
	#4: main, TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/temp/run.do_compile.1916822, line 166

Error details

Submitted on:
25/03/25 07:28
Error type:
Recipe
Task:
do_compile
Recipe:
avro-c
Recipe version:
1.11.3-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
701601461e64b7012e83bd08df437e08e659b62a
Build:
#202780
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug