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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Build language with weak typing, then add scaffolding later to strengthen it? Date: Sat, 23 May 2015 05:42:59 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <127b004d-2163-477b-9209-49d30d2da5e1@googlegroups.com> <59a4ee45-23fb-4b0e-905c-cc16ce46b5f6@googlegroups.com> <46b2dce1-2a1c-455d-b041-3a9d217e2c3f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 23 May 2015 12:41:53 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="a3855fbfe1a666be9aefba0563039ed5"; logging-data="6560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d3+BJlduSWqUy90pyOxuzOM1Dtb1DsXs=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Cancel-Lock: sha1:YFt5i/aUTBc7gx3jS1y+IaMv43g= Xref: news.eternal-september.org comp.lang.ada:25976 Date: 2015-05-23T05:42:59-07:00 List-Id: On 05/23/2015 04:14 AM, Peter Chapin wrote: > On Fri, 22 May 2015, Jeffrey R. Carter wrote: > >> GNAT, for example, by default is not an Ada compiler. > > Is this still true? The latest GNAT has overflow checking on by default... or > are there other issues? GNAT has generally required -gnata to activate assertion checks, -gnatn to activate cross-pkg inlining, -gnato to activate overflow checks, -fstack-check to give Storage_Error rather than a segfault, and -gnatE to use the ARM dynamic elaboration checks. Even if overflow checking is now on by default, I suspect GNAT is still not an Ada compiler by default. -- Jeff Carter "C++ is like giving an AK-47 to a monk, shooting him full of crack and letting him loose in a mall and expecting him to balance your checking account 'when he has the time.'" Drew Olbrich 52