AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Recursive function warning on AMXX183 compiler (https://forums.alliedmods.net/showthread.php?t=249037)

GordonFreeman (RU) 09-29-2014 05:49

Recursive function warning on AMXX183 compiler
 
How to get rid of Warning: Recursive function "my_elite_function" on line 1337 AMXX183 compiler messages?

There is no such messages with AMXX182 compiler.

Arkshine 09-29-2014 06:41

Re: Recurise function warning on AMXX183 compiler
 
Yes, it's because of some update around estimated memory calculation ; recursion function detection has been improved but it would seem that's not enough, there is still a lot of legit context. I'm going to disable estimated memory usage or enabling it through a compiler option but it will be disabled by default in next build. Also, this is not that useful, it could help only if you have big plugin and you want to know how much more memory you need to add (#pragma dynamic).

tonykaram1993 09-29-2014 07:28

Re: Recurise function warning on AMXX183 compiler
 
I can confirm this, yesterday I had an excess of 30 warnings of this sort. It was truly using recursive functions but it would never loop infinately.

Arkshine 09-29-2014 14:56

Re: Recursive function warning on AMXX183 compiler
 
This has been removed in latest build.


All times are GMT -4. The time now is 17:43.

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