Forward declaration of enumerations

Started by Prazz, October 05, 2012, 11:01:21 AM

Previous topic - Next topic

Prazz

Pelles C Compiler is a great C compiler, it could be closer to perfection if it support the forward declaration of enumerations! :)

CommonTater

#1
Put them in a header file... #include the header at the top of your page(s).

If you're working on a single page just move the declaration to the top of the page.

TimoVJL

Quote from: Prazz on October 05, 2012, 11:01:21 AM
Pelles C Compiler is a great C compiler, it could be closer to perfection if it support the forward declaration of enumerations! :)
Is that even legal in C ???
May the source be with you