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,7001494ace46eea7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 13:02:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Overriding discriminants perplexes GNAT 3.14p References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52.ops.asp.att.net 1032465778 12.234.13.56 (Thu, 19 Sep 2002 20:02:58 GMT) NNTP-Posting-Date: Thu, 19 Sep 2002 20:02:58 GMT Organization: AT&T Broadband Date: Thu, 19 Sep 2002 20:02:58 GMT Xref: archiver1.google.com comp.lang.ada:29193 Date: 2002-09-19T20:02:58+00:00 List-Id: > Why do you need more than one compiler? Perhaps the answer lies in another c.l.a. thread "Subject: Re: SofTech Ada 86 Compiler": >>I'm looking for a copy of the SofTech Ada 86 compiler, that is, their >>compiler for the Intel 80x86 platform. Yes, I know that the compiler is no >>longer support, and that any code developed with this compiler should be >>moved to a more current platform. But we need to do some maintenance work on >>a program developed with this compiler, and do it quickly. Any help you Running code through more than one compiler is helpful in finding non-portabilities, and sometimes one compiler will issue warnings about your use of some construct, where another compiler is silent. Programs supplied in source form must be able to compile on the compiler the user has. Claw, for instance, does not insist on anybody's specific compiler, but compiles under the normal public versions of Apex, Gnat, Janus, and ObjectAda. There are a few things unspecified by Ada where we have to supply different packages for the different compilers, and sometimes one compiler will have a bug that needs a special workaround. Since Claw targets the compilers users have, and not specially patched versions some users can get, bug workarounds have to stay, typically for a year or so, until the next corrected public release of a compiler. Given these circumstances, I think there is remarkably little special pieces of code catering to specific compilers.