sourcepawn
sourcepawn copied to clipboard
Terrible error message when using an enum as a function parameter before the enum is declared.
Something like this:
void foo(MyEnum e) { }
enum MyEnum { }
Will produce an error message like this:
error 181: function argument named 'e' differs from prototype
On version 1.13.0.7244 this doesn't produce an error, and instead gives a proper warning warning 203: symbol is never used: "e"