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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd3300f3a56e7f45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-19 05:25:18 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!ngpeer.news.aol.com!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Portable types Date: 19 Mar 2004 08:23:46 -0500 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1079702637 22204 212.85.156.195 (19 Mar 2004 13:23:57 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 19 Mar 2004 13:23:57 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:6444 Date: 2004-03-19T08:23:46-05:00 "Riccardo" writes: > Thanks ! > > My problem was of course not to define new types but to use the same type > (with the same source files!) on both the consoles (a Sun Spark and an Alpha > Digital ). > > So in defining new types I have to be sure that I don't have to manage > different source codes. > > I'm looking for a sort of pragma that should help me to share the needs of > the two implementations (as the "conditional compilation" in C). > > I saw that the pragma System is a deprecated one. > > Is there something useful that allows the operation? I'm not clear what you are asking. Apparently you want to write some source code that is portable between a Sun Spark (running what OS?) and Compaq Alpha (Digital was bought by Compaq; I don't think they make Alphas anymore) (running what OS?). Ada is very good for writing portable code. But to give you specific help, I need to see the source that you want to be portable. -- -- Stephe