Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: vandenheuvel@eps.enet.dec.com (Hein RMS van den Heuvel)
Subject: Re: Problem with RMS structures in DEC C?
Date: 1995/07/05	[thread overview]
Message-ID: <3telfi$kv3@nntpd.lkg.dec.com> (raw)
In-Reply-To: DB55Fn.5Du@bath.ac.uk


In article <DB55Fn.5Du@bath.ac.uk>, bsspak@bath.ac.uk (P A Keller) writes...
> 
>Many thanks to everyone who responded to my origial query. It seems that
>the problem stems from the fact that the header files have a long history,
>and haven't been updated properly. I wonder if anyone at DEC has actually
>tried compiling the example in the DEC C documentation under DEC C?

Haven't tried the examples from the DEC C but did make sure to try 
the Freeware source I submitted. One of those was an example from
the RMS doc (show_roots) and there I used (void *). Unfortunatly 
the RMS doc was already printed by then and they never got fixed.

IMHO RAB$L_RBF, UBF, and KBF should have all been declared void *
as they are just that... pointers to something undefined, not char.

For FAB$L_XAB and RAB$L_XAB and XAB$L_NXT I kinda like Jerry's idea
of an empty XAB type to point to. That's rather readable.

Personally, I go with Pat Rankin though and cast to (void *).

Some day I'll check with buddy KC whether we can get this fixed properly
in the C text Libraries (without breaking existing code).

Hope this helps,		+--------------------------------------+
Hein van den Heuvel, Digital.	| All opinions expressed are mine, and |
  "Makers of VMS and other	| may not reflect those of my employer |
   fine Operating Systems."	+--------------------------------------+



  reply	other threads:[~1995-07-05  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-29  4:00 Problem with RMS structures in DEC C? P A Keller
1995-06-29  4:00 ` Bruce Milton
1995-06-29  4:00 ` Carl J Lydick
1995-06-30  4:00 ` David Claude Brown
1995-06-30  4:00   ` Carl J Lydick
1995-07-03  4:00 ` P A Keller
1995-07-05  4:00   ` Hein RMS van den Heuvel [this message]
1995-07-06  4:00   ` Ken Cowan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox