Re: help: about enum

2005-09-01 Thread James E Wilson
Gaurav Gautam, Noida wrote: > I want to know, how enums are handled in gcc. How do we map an enum value to > the corresponding integer size. Look at start_enum and finish_enum in c-decl.c. > What does the option -fshort-enums does. Plz explain me in detail. Look at the code in start_num and fin

Re: help: about enum

2005-08-29 Thread Mike Stump
On Aug 27, 2005, at 1:54 AM, Gaurav Gautam, Noida wrote: I WANT TO KNOW Please, stop screaming. We can hear you. This is the wrong list for such questions. Please go try gcc-help.

RE: help: about enum

2005-08-27 Thread Gaurav Gautam, Noida
aurav Gautam, Noida Sent: Saturday, August 27, 2005 1:56 PM To: 'gcc@gcc.gnu.org' Subject: help: about enum Hi, Plz help me I want to know, how enums are handled in gcc. How do we map an enum value to the corresponding integer size. What does the option -fshort-enums does. Plz explain me

help: about enum

2005-08-27 Thread Gaurav Gautam, Noida
Hi, Plz help me I want to know, how enums are handled in gcc. How do we map an enum value to the corresponding integer size. What does the option -fshort-enums does. Plz explain me in detail. I could see the difference in the size of enums when I toggle the option. If the option is not given,