delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/13/02:46:56

Date: Sun, 13 Oct 1996 08:27:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ferdinand Trauttmansdorff <ao984 AT FreeNet DOT Carleton DOT CA>
Cc: djgpp AT delorie DOT com
Subject: Re: Help - old dos.h bug?
In-Reply-To: <53mdif$bs1@freenet-news.carleton.ca>
Message-Id: <Pine.SUN.3.91.961013082455.15117G-100000@is>
Mime-Version: 1.0

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:  };

Make it say so, and live happily ever after:

	struct _DOSERROR {
	  int  exterror;
	  #ifdef __cplusplus
	  char errclass;
	  #else
	  char class;
	  #endif
	  char action;
	  char locus;
	};

- Raw text -


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