Enum scoping
Hello,
At the moment I'm getting this fairly strange issue with enum scoping, I'm wondering whether anyone can point out where I'm going wrong? I'm currently playing around with methodmaps a lot, OOP is often said to be over-rated but it works really well for some things. Namely, I have an "invisibility" skill I'm developing: PHP Code:
PHP Code:
Code:
error 017: undefined symbol "RENDER_NONE" PHP Code:
Code:
error 181: function argument named 'render' differs from prototype Code:
warning 213: tag mismatch |
Re: Enum scoping
Your problem is somewhere else in your code. If you create two files with only the two snippets you gave (except defining that and level so it compiles), there's no error.
|
Re: Enum scoping
Thanks for the response Fyren:
PHP Code:
|
Re: Enum scoping
Turns out I had a file called "helpers" in my include directory which was messing around with things.
|
Re: Enum scoping
Quote:
|
Re: Enum scoping
Quote:
|
All times are GMT -4. The time now is 21:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.