10157 sgs/libld: cast between incompatible function types
Review Request #1328 — Created Dec. 23, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10157 | |
fa3a4b1... | |
Reviewers | |
general | |
../common/support.c: In function 'ld64_sup_loadso': ../common/support.c:94:15: error: cast between incompatible function types from 'void (*)()' to 'uint_t (*)()' {aka 'unsigned int (*)()'} [-Werror=cast-function-type] version = ((uint_t(*)())fptr)(LD_SUP_VCURRENT); ^ cc1: all warnings being treated as errors