NO

Author Topic: Forward declaration of enumerations  (Read 3730 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: 2091
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