Article View: net.lang.c
Article #9720Re: absolute pointer
From: Kathy Harris
Date: Mon, 03 Nov 1986 16:27
Date: Mon, 03 Nov 1986 16:27
16 lines
948 bytes
948 bytes
>rap.c, line 310: warning: absolute pointer used
>Lines 310 & 369 are the exact same and look like this:
> if ( shmaddr EQ (char *) -1 ) {
The HP9000 Series 500 C compiler issues this warning whenever an
integer constant other than 0 is used as a pointer. Its intent
is to flag statements that are machine dependent in code ported
from other systems.
Kathy Harris
Hewlett Packard, Systems Software Operation
{hplabs, ihnp4}!hpfcla!kah
Technical Details
Message-ID:
<880002@hpfclq.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!hpcea!hpfcdc!hpfclq!kahReferences:
<5009@brl-smoke.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!hpcea!hpfcdc!hpfclq!kah From: kah@hpfclq.HP.COM (Kathy Harris) Newsgroups: net.lang.c Subject: Re: absolute pointer Message-ID: <880002@hpfclq.HP.COM> Date: Mon, 3-Nov-86 11:27:26 EST Article-I.D.: hpfclq.880002 Posted: Mon Nov 3 11:27:26 1986 Date-Received: Wed, 5-Nov-86 21:57:04 EST References: <5009@brl-smoke.ARPA> Organization: Hewlett-Packard Lines: 16