../common/external.c: In function 'rt_thr_init':
../common/external.c:481:6: error: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Werror=cast-function-type]
(void (*)())lml->lm_lcs[CI_THRINIT].lc_un.lc_func) != NULL) {
^
../common/tls.c: In function 'tls_modaddrem':
../common/tls.c:126:10: error: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Werror=cast-function-type]
fptr = (void (*)())lml->lm_lcs[CI_TLS_MODADD].lc_un.lc_func;
^
../common/tls.c:128:10: error: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Werror=cast-function-type]
fptr = (void (*)())lml->lm_lcs[CI_TLS_MODREM].lc_un.lc_func;
^
../common/tls.c: In function 'tls_statmod':
../common/tls.c:263:9: error: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Werror=cast-function-type]
fptr = (void (*)())lml->lm_lcs[CI_TLS_STATMOD].lc_un.lc_func;
^
cc1: all warnings being treated as errors