Bug 000022

When Created: 09/11/1995 06:19:49
Against DJGPP version: 2.00.beta3
By whom:
Abstract: _DOSERROR struct in dos.h has a member called "class", C++ hates this
The _DOSERROR struct in the "dos.h" header file:

struct _DOSERROR {
  int  exterror;
  char class;
  char action;
  char locus;

The second member "char class" uses the C++ keyword "class" and
causes an error when compiling with gpp.

Solution added: 09/11/1995 06:21:45
By whom:
Redefine the _DOSERROR struct using a name other than "class",
e.g. errorclass, errclass, category, etc.

Workaround added: 09/11/1995 06:22:48
By whom:
Edit dos.h and rename the offending member.

Fixed in version 2.00.beta4 on 10/08/1995 20:26:37
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010