LIU Hao wrote: > > Casting between function pointers requires an intermediate cast to > > `intptr_t` or `void*`, otherwise compilers will warn about it.
I agree here; I prefer using [u]intptr_t for intermediate casts. gcc and clang warn about conversion between function and data pointers with -pedantic. IIRC we use -Werror with CI, so such warnings are better avoided. - Kirill Makurin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
