You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very strange, considering that dlfunc is meant to be cast:
The dlfunc() function implements all of the behavior of dlsym(), but has
a return type which can be cast to a function pointer without triggering
compiler diagnostics. (The dlsym() function returns a data pointer; in
the C standard, conversions between data and function pointer types are
undefined. Some compilers and lint(1) utilities warn about such casts.)
The precise return type of dlfunc() is unspecified; applications must
cast it to an appropriate function pointer type.
I guess the fix would involve "#pragma GCC diagnostic push/ignore/pop".
Affects at least FreeBSD 11.3-RELEASE, 12.1-RELEASE, 13.0-RELEASE.
The text was updated successfully, but these errors were encountered: