www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/22/20:51:17

Date: Tue, 22 Jun 1999 20:51:07 -0400
Message-Id: <199906230051.UAA06264@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
Subject: [house AT usq DOT edu DOT au: DJGPP's search.h]
Reply-To: djgpp-workers AT delorie DOT com

Comments?

------- Start of forwarded message -------
Sender: house AT usq DOT edu DOT au
Date: Wed, 23 Jun 1999 00:17:31 +0000
From: Ron House <house AT usq DOT edu DOT au>
To: dj AT delorie DOT com
Subject: DJGPP's search.h
Content-Type: text/plain; charset=us-ascii

To DJ Delorie

Hi, thank you for putting out such an excellent system as DJGPP.

I have found one bug. The file search.h says:

struct qelem {
  struct qelem *q_forw;
  struct qelem *q_back;
  char q_data[0];
} qelem;

This produces linkage errors because it creates an actual variable
called qelem in every file it is included in. I believe the line should
read:

typedef struct qelem {
  struct qelem *q_forw;
  struct qelem *q_back;
  char q_data[0];
} qelem;

I have altered my copy and it works fine.

Thanks again,
- -- 
Ron House            house AT usq DOT edu DOT au

The evils of each age always seem self-evidently right at the time.
------- End of forwarded message -------

- Raw text -


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