Mail Archives: djgpp/1998/10/01/15:26:33
Richard wrote:
>
> This code is valid C++, but the problem is that gcc complains about it.
>
> Does anyone know what's wrong?
It's not totally obvious why gcc is complaining about this to me, but
changing the declaration
typedef struct { byte a; byte b; byte c; } Abc;
to the more reasonable
struct Abc { byte a; byte b; byte c; };
eliminates the errors.
--
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
\
/ The work will teach you how to do it.
/ (an Estonian proverb)
- Raw text -