comp.lang.ada
 help / color / mirror / Atom feed
From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann)
Subject: Re: Higher precision and generics
Date: 20 Mar 1995 16:33:17 GMT
Date: 1995-03-20T16:33:17+00:00	[thread overview]
Message-ID: <3kkaod$lvg@info4.rus.uni-stuttgart.de> (raw)
In-Reply-To: 3kg124$elp@gnat.cs.nyu.edu

Robert Dewar (dewar@cs.nyu.edu) wrote:
: Peter Hermann says:

: "1. "with system;" makes the program non-portable"

: This is *quite* wrong. Sure the definitions in System are target
: dependent, but in many cases they are there PRECISELY to allow you
: to write portable target-independent code that uses target dependent
: features.

: There are many situations in which the ONLY way to make a program portable
: is to use the values in System. For example, a program that assumes
: the addressabloe unit is 8-bits is much less portable than a program
: that uses System
: .Storage_Unit for this purpose.

This is more precise, of course.
I should have written "... makes the program potentially non-portable"
My compiler issues a "non-portable construct"-warning, which 
I basically appreciate, because this is *quite*  :-)  reasonable.

--
Peter Hermann  Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de
Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen
Team Ada: "C'mon people let the world begin" (Paul McCartney)



  reply	other threads:[~1995-03-20 16:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-11 17:41 Higher precision and generics Duncan Sands
1995-03-14 16:13 ` David Arno
1995-03-15 12:12   ` Duncan Sands
1995-03-17  8:36     ` Dan Kurfis
1995-03-17 12:37       ` Peter Hermann
1995-03-19  1:23         ` Robert Dewar
1995-03-20 16:33           ` Peter Hermann [this message]
1995-03-21 21:14             ` Robert Dewar
1995-03-18  1:45       ` Keith Thompson
1995-03-20  9:05       ` dkurfis
1995-03-15 15:36 ` Mats Weber
1995-03-15 16:35   ` Peter Hermann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox