http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50559
--- Comment #1 from dnetserrspam at gmail dot com 2011-09-28 17:24:18 UTC ---
When g++ compiles the attached code it complains (correctly) that the value for
GREEN overflows. Then it reports that it is confused by earlier errors and
bails out.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50559
Bug #: 50559
Summary: g++ bails out after seeing overflow in an enumeration
value
Classification: Unclassified
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED