Raised This Month: $ Target: $400
 0% 

Recursive function warning on AMXX183 compiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 09-29-2014 , 05:49   Recursive function warning on AMXX183 compiler
Reply With Quote #1

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.
__________________
The functional way is the right way

Last edited by GordonFreeman (RU); 09-29-2014 at 09:31.
GordonFreeman (RU) is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-29-2014 , 06:41   Re: Recurise function warning on AMXX183 compiler
Reply With Quote #2

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).
__________________

Last edited by Arkshine; 09-29-2014 at 06:44.
Arkshine is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 09-29-2014 , 07:28   Re: Recurise function warning on AMXX183 compiler
Reply With Quote #3

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.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-29-2014 , 14:56   Re: Recursive function warning on AMXX183 compiler
Reply With Quote #4

This has been removed in latest build.
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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