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)