Thread: Compiler bug?
View Single Post
pRED*
Join Date: Dec 2006
Old 05-04-2009 , 02:26   Re: Compiler bug?
Reply With Quote #10

Your solution is partially correct Fyren.

Being able to tag individual enum members is quite useful and is at least partially supported by the compiler (though I'm not sure if this was intentional).

There's an amxx tutorial on using these to create pseudo-structs that I've used in the dynamic admin menu among others.

I'm not sure if this is a bug as such without knowing what the compiler was meant to support but you could file a bug report to get the error quietened since the compiler does generate the correct code.

Edit: Sorry the original tutorial doesn't bother with tagging but PM's post about 5 down mentions it.
pRED* is offline