Pelles C forum

Pelles C => Feature requests => Topic started by: Prazz on October 05, 2012, 11:01:21 am

Title: Forward declaration of enumerations
Post by: 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! :)
Title: Re: Forward declaration of enumerations
Post by: CommonTater on October 05, 2012, 01:34:20 pm
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.
 
Title: Re: Forward declaration of enumerations
Post by: TimoVJL on October 05, 2012, 02:46:59 pm
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 ???