Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dqua@earthlink.net (Derick J.R. Qua-Gonzalez)
Subject: Re: errno.h problems in DEC 'C'
Date: 1995/08/03	[thread overview]
Message-ID: <dqua.807423832@nntp.earthlink.net> (raw)
In-Reply-To: 3vo921$n4a@pheidippides.axion.bt.co.uk

thomasgd@boat.bt.com (Greg Thomas) writes: I'm trying to porting some
>code to Alpha/DEC 'C' from VAX/VAX 'C'. We have, however, hit a
>problem with the <errno.h> include file. It #defines it to be
>(*cma$tis_errno_get_addr()). The trouble is, we have number of
>structures that have an errno as an element. Of course, this gets
>expanded to the above function, and so it won't compile. ie ...

The problem is because ISO does not allow "$" in identifiers, but _some_
compilers do in order to access system-defined identifiers with "$" in
them---VAX VMS is notably one that has a few (do I remember SMG$ cor-
rectly?). Just a guess, but are you including the correct headers for
your _current_ compiler?

Best regards,
Derick.
--
+-----------------------------------------------------------------------------+
| Derick R. Qua-Gonzalez                                           | ________ |
| Department of High Energy Physics, California State University   | \      / |
| dqua@EarthLink.Net                                               |  \    /  |
|        ``It is better to be hated for what one is,               |   \  /   |
|          than loved for what one is not.'' (A. Gide)             | G  \/ USA|
+------------------------------------------------------------------+----------+
| mQBNAy/qJJMAAAECANBCB543eTUkdG8Mqx6K2cm3WxCVtKY8ZbB9WY6A2Ne4dQi8 | PGP2.6.2 |
| xh7OxjHXP/eXp5BSbmVAihEGd7r+5g/yknko56kABRG0MERKUiBRdWEtR29uemFs |  Public  |
| ZXogPGRxdWFAUHJvbWV0aGV1cy5FYXJ0aGxpbmsuTmV0Pg==                 | KeyBlock |
| =70DW                                                            | 06.20.95 |
+------------------------------------------------------------------+----------+



  parent reply	other threads:[~1995-08-03  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-02  4:00 errno.h problems in DEC 'C' Greg Thomas
1995-08-02  4:00 ` J. Daniel Smith
1995-08-02  4:00 ` Dan Pop
1995-08-03  4:00   ` halasz
1995-08-04  4:00     ` David Claude Brown
1995-08-04  4:00     ` Dan Pop
1995-08-02  4:00 ` Lawrence Kirby
1995-08-03  4:00 ` Derick J.R. Qua-Gonzalez [this message]
1995-08-03  4:00 ` David Claude Brown
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