I am a C programmer (on linux), but now I have a project on C++, and have a question.
Here is sample code
g_action.sa_sigaction = (void(*)(int,siginfo_t*,void*))&FlashWork::Disconnect_action;
When I try to compile this on x86, it works fine, but on arm I get the following error
error: converting from
void (FlashWork::*)(int, siginfo_t*, void*)
tovoid (*)(int, siginfo_t*, void*)
What am I doing wrong?