www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/27/22:52:35

From: jgould AT walnut DOT holli DOT com (Jim Gould)
Subject: 'enum' problem (kind of) solved
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Fri, 27 Jan 1995 20:58:08 -0500 (EST)

If my earlier message got out (I don't know.. my provider's been kind of flaky 
lately), you'll recall that I was having problems with an enum data type, as 
such:

enum boolean {false, true};

and GCC reported a parse error before false.

I used the GCC from gcc263rm.zip and this compiled just fine.  I'm still not 
sure why, or why I didn't think of it before, but I just wanted to update you 
all.

-- 
Jim Gould
jgould AT walnut DOT holli DOT com
"... his lame-brained antics and his jumping in the air." - Tull

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019