A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1644 ====================================================================== Reported By: bastien Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1644 Category: System Interfaces Type: Enhancement Request Severity: Comment Priority: normal Status: New Name: Bastien Roucaries Organization: debian User Reference: Section: dlsym - get the address of a symbol from a symbol table handle Page Number: Application usage Line Number: all Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2023-03-22 09:52 UTC Last Modified: 2023-03-23 14:02 UTC ====================================================================== Summary: void * to function pointer is described in annex J of C standard (informative). ======================================================================
---------------------------------------------------------------------- (0006233) geoffclare (manager) - 2023-03-23 14:02 https://austingroupbugs.net/view.php?id=1644#c6233 ---------------------------------------------------------------------- > a diagnostic is not required if the target type is a pointer to an object type Of course you're right. In my mind I was replying in the context of the named symbol being a function, but I neglected to state that condition. > I suspect the real reason it says "cast" is because a lot of people refer to any conversion as a "cast" and a cast as an "explicit cast". If that were the reason, I would expect the related text in RETURN VALUE to say "cast" as well. Issue History Date Modified Username Field Change ====================================================================== 2023-03-22 09:52 bastien New Issue 2023-03-22 09:52 bastien Name => Bastien Roucaries 2023-03-22 09:52 bastien Organization => debian 2023-03-22 09:52 bastien Section => dlsym - get the address of a symbol from a symbol table handle 2023-03-22 09:52 bastien Page Number => Application usage 2023-03-22 09:52 bastien Line Number => all 2023-03-22 13:24 wlerch Note Added: 0006220 2023-03-22 15:15 bastien Note Added: 0006222 2023-03-22 15:43 wlerch Note Added: 0006223 2023-03-22 16:10 bastien Note Added: 0006224 2023-03-22 18:43 wlerch Note Added: 0006225 2023-03-23 09:39 geoffclare Note Added: 0006229 2023-03-23 13:47 wlerch Note Added: 0006232 2023-03-23 13:52 wlerch Note Edited: 0006232 2023-03-23 14:02 geoffclare Note Added: 0006233 ======================================================================