I use emitsoundany.inc include in my plugin.
If I build it with 1.10, there are no problems.
If I build it with 1.11, when I run the plugin I get an error in line 150:
HTML Code:
Exception reported: Tracker stack is out of bounds
I see that the array size is set to a variable, the value of which is probably not known at compile time. So if I replace this line with this:
PHP Code:
int clients[MAXPLAYERS+1];
There is no error when I run the plugin.
As this is allowed to use variables, can I know at compile time when an array size initialised with a variable will be giving this error?