I changed the compiller from clang 3.8 to gcc 5.4 and faced a problem. All manual hooks don't work, however all the other functionality is fine. If I switch back to clang, the hooks work again. I made some investigation and the code to get offsets, reconfigure and place hooks still executed correctly. But weapon switch, player spawn and other callbacks are never executed.
Are manual hooks not compatible with gcc 5.4 ? Shall I use an older version?