Re: How to print pointer to function?

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

 



On Tue, Dec 17, 2019 at 09:17:20PM +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.

Not all systems are hosted at all.  Other than that I agree for anything
practical (and almost all embedded systems will have POSIX behaviour for
many basic things like this).


Segher



[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