Article View: comp.sys.dec
Article #4517Re: errno.h problems in DEC 'C'
From: J. Daniel Smith
Date: Wed, 02 Aug 1995 23:53
Date: Wed, 02 Aug 1995 23:53
17 lines
1330 bytes
1330 bytes
In <3vo921$n4a@pheidippides.axion.bt.co.uk> thomasgd@boat.bt.com (Greg Thomas) writes:
>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
the compiler is allowed to do this, ANSI 4.1.3.
>I feel that the DEC 'C' errno.h does not have correct behaviour in it. Is the
>DEC 'C' compiler in error (my K&R 2nd Ed does refer to errno as an integer,
>but that's all), or am I not allowed to do this?
you'll hardly ever find ANSI C problems with the DEC C compiler, if
it complains chances are excellent your code is at fault.
Dan
--
--------------------- message is author's opinion only --------------------
J. Daniel Smith <dan@bristol.com> http://www.bristol.com/~dan
Bristol Technology Inc. +1 203 438 6969, 438-5013 (FAX)
Ridgefield, Connecticut (USA) {info,jobs}@bristol.com
Technical Details
Message-ID:
<dan.807407600@handel>Path:
arc1-ca.pugleaf.net!bristol.com!handel!danReferences:
<3vo921$n4a@pheidippides.axion.bt.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec,comp.lang.c Path: arc1-ca.pugleaf.net!bristol.com!handel!dan From: dan@bristol.com (J. Daniel Smith) Subject: Re: errno.h problems in DEC 'C' Sender: usenet@bristol.com (USENET News System) Organization: Bristol Technology Inc. References: <3vo921$n4a@pheidippides.axion.bt.co.uk> Message-ID: <dan.807407600@handel> Date: Wed, 2 Aug 1995 23:53:20 GMT