Mail Archives: djgpp/1996/10/14/04:30:37
  On 11 Oct 1996, Ferdinand Trauttmansdorff wrote:-
> ERROR: c:/djgpp2/include/dos.h:197: parse error before `;'
> 195:  struct _DOSERROR {
> 196:    int exterror;
> 197:    char class;       <---- Isn't "class" a reserved word??
> 198:    char action;
> 199:    char locus;
> 200:  };
  Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> replied:-
> Make it say so, and live happily ever after:
  Indeed why can't the compiler `make it so'? :-
ERROR: c:/djgpp2/include/dos.h:197: reserved word `class' misused       or
ERROR: c:/djgpp2/include/dos.h:197: reserved word `class' instead of name
and be much clearer.
Likewise, e.g. why can't the common sort of mistype `for(i=0;i<n,i++)' produce
a clearer error message such as "too few/many `;' in for() statement"???
- Raw text -