Article View: net.lang.c
Article #9673absolute pointer
From: FSAC
Date: Wed, 29 Oct 1986 19:20
Date: Wed, 29 Oct 1986 19:20
22 lines
1235 bytes
1235 bytes
We are running HP-UP UNIX on a Hewlett-Packard System 9050. THe
HP-UP is SYSV look alike with shared memory operations. I am trying to
compile a program that allows users to talk with each other. This
program is similiar to talk except that is uses shared memory. It
compiles and works under a AT&T SYS5 release 2. However when I compile
it under hp-UNIX I get the following error messages:
rap.c, line 310: warning: absolute pointer used
rap.c, line 369: warning: absolute pointer used
Lines 310 & 369 are the exact same and look like this:
if ( shmaddr EQ (char *) -1 ) {
Can anyone shed some light on what is meant by an absolute
pointer. I am assuming it doesn't like the cast but I am not sure.
Incidently the "EQ" is defined as "==".
Dennis
Technical Details
Message-ID:
<5009@brl-smoke.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!brl-adm!brl-smoke!smoke!drears@ardec.ARPAShow 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!columbia!rutgers!brl-adm!brl-smoke!smoke!drears@ardec.ARPA From: drears@ardec.ARPA (FSAC) Newsgroups: net.lang.c Subject: absolute pointer Message-ID: <5009@brl-smoke.ARPA> Date: Wed, 29-Oct-86 14:20:34 EST Article-I.D.: brl-smok.5009 Posted: Wed Oct 29 14:20:34 1986 Date-Received: Wed, 29-Oct-86 22:41:56 EST Sender: news@brl-smoke.ARPA Lines: 22