AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Solved GCC 5.4 manual hooks don't work (https://forums.alliedmods.net/showthread.php?t=323819)

kadet.89 04-29-2020 13:45

GCC 5.4 manual hooks don't work
 
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?

Fyren 05-01-2020 08:55

Re: GCC 5.4 manual hooks don't work
 
I don't have an older gcc to test, but I tried 9.2.0 and it worked.

kadet.89 05-11-2020 14:24

Re: GCC 5.4 manual hooks don't work
 
The problem gone after updating to gcc 5.5


All times are GMT -4. The time now is 09:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.