No effect of -fshort-enums..is it a bug
Daniel Jacobowitz
drow@false.org
Thu Sep 22 16:15:00 GMT 2005
On Thu, Sep 22, 2005 at 10:34:19AM -0500, John Love-Jensen wrote:
> Hi Gaurav,
>
> >Please confirm which of the two outputs is correct and why is there a
> difference in the output of two versions of compiler?
>
> Both outputs are "correct".
>
> (Neither output is compliant to the standard, of course, as -fshort-enums is
> a deviation from the standard.)
That's incorrect, please read my response again. The current output is
C99-conformant.
(It is surprising, though, on many non-embedded targets. For instance
there are considerable difficulties using this option on GNU/Linux.)
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gcc
mailing list