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 finish_enum that uses flag_short_enum.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to