Mail Archives: djgpp/1998/05/26/23:16:17
Victor Viudez Gonzalez wrote:
> Why doesn't work something like this?
>
> typedef enum BOOL{false,true}bool;
>
> It says Error before 'typedef', but before 'typedef' there are
> nothing!
Are you compiling in C++, and are there any typedefs following this
line? In C++, bool, true, and false are reserved keywords, and so this
typedef is illegal.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm:+37.20.07/-121.53.38
\
"Since when can wounded eyes see / If we weren't who we were"
/ Joi
- Raw text -