Re: How to print pointer to function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-12-17 21:17:20 +0800, Liu Hao wrote:
> POSIX requires casting between `void*` and pointer-to-function to
> preserve values in the specification of `dlsym()`. C++ says it is
> conditionally supported. I don't see portability issues. Non-POSIX
> systems (other than Windows) died decades ago.

If this were the case, why hasn't this changed in the C standard?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux