zeux/volk

cast between incompatible function types

LeptusHe opened this issue · 0 comments

when I use MinGW gcc 8.2.0 to compile the library, there was a error.
error: cast between incompatible function types from 'FARPROC' {aka 'long long int ()()'} to 'void ( (*)(struct VkInstance_T *, const char *))(void)' [-Werror=cast-function-type]
vkGetInstanceProcAddr = (PFN_vkGetInstanceProcAddr)GetProcAddress(module, "vkGetInstanceProcAddr");