From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5627b980414da76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-20 11:48:30 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!alpha1.csv.ica.uni-stuttgart.de!ucaa2385 From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) Newsgroups: comp.lang.ada Subject: Re: Higher precision and generics Date: 20 Mar 1995 16:33:17 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <3kkaod$lvg@info4.rus.uni-stuttgart.de> References: <3jsnbf$ido@nef.ens.fr> <795197606snz@linkmsd.com> <3k6ljm$bhp@nef.ens.fr> <3kbhv0$jcl@maple.enet.net> <3kbvpt$ltk@info4.rus.uni-stuttgart.de> <3kg124$elp@gnat.cs.nyu.edu> NNTP-Posting-Host: alpha1.csv.ica.uni-stuttgart.de X-Newsreader: TIN [version 1.2 PL2] Date: 1995-03-20T16:33:17+00:00 List-Id: 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)