The actual types of pthread_func_t and interpos_func_t are not used.
Declare them as the generic void (*)(void) which suppresses warnings.
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type
Differential D45830
libthr: avoid gcc -Wcast-function-type rlibby on Jul 1 2024, 4:49 PM. Authored by Tags None Referenced Files
Subscribers
Details
The actual types of pthread_func_t and interpos_func_t are not used. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type
Diff Detail
|