[GEM-dev] MinGW and ISO C++ forbids casting between pointer-to-function and pointer-to-object