From: robin@lsl.co.uk (Robin Fairbairns)
Subject: Re: Porting to Alpha VMS
Date: 18 Jun 92 09:23:21 GMT [thread overview]
Message-ID: <1992Jun18.102322.2054@lsl.co.uk> (raw)
In-Reply-To: BpzK5r.6v2@world.std.com
In article <BpzK5r.6v2@world.std.com>, cmr@world.std.com (Charles M Richmond) writes:
> [quotes from me deleted]
>
> One of the gotchas that I ran into in a major port from Vax/Ultrix to
> Risc/Ultrix (more than 750,000 lines), was that the coders had used
> the availability of address "0" to skip checks for null pointers. The
> other problem was that structures were cast as byte streams and vice
> versa, which enforced the coders idea of how the structures were packed.
Quoting from my (non-final) copy of the C standard, para 3.2.2.3: "An
integral constant expression with the value 0, or such an expression
cast to type void *, is called a _null pointer constant_. .... Such a
pointer, called a _null pointer_, is guaranteed to compare unequal to
any object or function."
Since DEC C for the Alpha is supposed to be going to be ANSI-compliant,
I would assume that your problem would not arise in the port to Alpha.
--
Robin Fairbairns, Senior Consultant, postmaster and general dogsbody
Laser-Scan Ltd., Science Park, Milton Rd., Cambridge CB4 4FY, UK
Email: robin@lsl.co.uk --or-- rf@cl.cam.ac.uk
next prev parent reply other threads:[~1992-06-18 9:23 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-05-23 3:04 DECs commitment to UNIX ? Mark Hittinger
1992-05-23 3:21 ` Marcus J. "will do TCP/IP for food" Ranum
1992-05-24 17:53 ` Reha Elci
1992-05-26 9:46 ` Michel Fingerhut
1992-05-28 7:53 ` Alex Martelli
1992-05-26 16:10 ` CP/M lives!
1992-05-26 18:22 ` Greg Vesper - RMS
1992-05-26 21:18 ` Tom B. O'Toole
1992-05-26 21:22 ` Steve Thompson
1992-05-27 22:04 ` William Pietri
1992-05-28 3:06 ` Jack Churchill
1992-05-28 17:07 ` Tom B. O'Toole
1992-05-29 13:50 ` Thaddeus P. Floryan
1992-05-28 6:45 ` Douglas Miller
1992-05-24 2:12 ` Bob Condon; x6303
1992-06-08 18:27 ` Mark Bartelt
1992-06-10 22:04 ` Hans Jespersen
1992-05-27 23:58 ` Harry Flowers
1992-05-28 3:20 ` VMS vs UNIX (was Re: DECs commitment to UNIX ?) Marcus J. "will do TCP/IP for food" Ranum
1992-06-02 3:06 ` Carl J. Appellof
1992-05-28 16:34 ` DECs commitment to UNIX ? CP/M lives!
1992-05-29 13:40 ` Thaddeus P. Floryan
[not found] ` <1992May27.220446.21908@terminator.c <6801@public.BTR.COM>
1992-05-31 16:14 ` Open VMS Douglas Miller
1992-06-02 14:02 ` Thaddeus P. Floryan
1992-06-02 21:43 ` Charles M Richmond
1992-06-03 10:54 ` Thaddeus P. Floryan
1992-06-03 20:51 ` <None> arthur
1992-06-04 15:05 ` <None> Jim Reiss
1992-06-11 8:40 ` Porting to Alpha VMS (was Re: <None>) Robin Fairbairns
1992-06-11 15:06 ` Porting to Alpha VMS Jim Reiss
1992-06-12 12:13 ` Dave Marra
1992-06-15 14:50 ` Jim Reiss
1992-06-15 17:17 ` hourahaner
1992-06-16 13:13 ` Dave Marra
1992-06-17 9:13 ` Robin Fairbairns
1992-06-17 10:37 ` Charles M Richmond
1992-06-18 9:23 ` Robin Fairbairns [this message]
1992-06-18 13:06 ` Steve McKinty - Sun ICNC
1992-06-18 20:23 ` Matthew B. Kirk
1992-06-19 2:27 ` Charles M Richmond
1992-06-17 15:25 ` system
1992-06-17 14:45 ` Jim Reiss
1992-06-17 18:44 ` Steve McKinty - Sun ICNC
1992-06-18 12:17 ` Greg Pavlov
1992-06-19 20:22 ` gezelter
1992-06-20 21:44 ` CP/M lives!
1992-06-22 0:33 ` Bob Supnik
1992-06-26 16:23 ` CP/M lives!
1992-06-26 17:33 ` Dileep Bhandarkar
1992-06-26 20:26 ` CP/M lives!
1992-06-11 17:43 ` Porting to Alpha VMS (was Re: <None>) Kurt Reisler
1992-06-12 10:49 ` pawlak
1992-06-11 10:26 ` <None> Burkhard Neidecker-Lutz
1992-06-05 17:10 ` Open VMS Stick in the mud....
1992-06-02 3:02 ` DECs commitment to UNIX ? Carl J. Appellof
[not found] ` <1992May27.220446.21908@terminator.c <6857@public.BTR.COM>
1992-06-07 18:52 ` Open VMS Douglas Miller
1992-05-27 12:58 ` DECs commitment to UNIX ? Michael Schuster 8726004 (Prak1 Gerhard)
1992-05-27 15:17 ` Greg Pavlov
1992-05-27 21:47 ` William Pietri
1992-05-28 3:44 ` Mark Hittinger
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