NO

Author Topic: Forward declaration of enumerations  (Read 2269 times)

Prazz

  • Guest
Forward declaration of enumerations
« 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! :)

CommonTater

  • Guest
Re: Forward declaration of enumerations
« Reply #1 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.
 
« Last Edit: October 05, 2012, 01:40:05 pm by CommonTater »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1857
Re: Forward declaration of enumerations
« Reply #2 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 ???
May the source be with you