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-Thread: 103376,243dc2fb696a49cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada Popularity: Comparison of Ada/Charles with C++ STL (and Perl) Date: 23 Sep 2004 20:31:10 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <1ec946d1.0409222224.6d86e038@posting.google.com> <1ec946d1.0409231030.326ba997@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1095968231 22327 62.49.19.209 (23 Sep 2004 19:37:11 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 23 Sep 2004 19:37:11 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: g2news1.google.com comp.lang.ada:4043 Date: 2004-09-23T20:31:10+01:00 List-Id: mheaney@on2.com (Matthew Heaney) writes: > "Jeff C r e e.m" wrote in message news:... > > > > I took a quick look. What possible reason is there to procedeed > > all of those nested subprogram bodies by the specifications > > > Of course it is early in the morning so perhaps I am missing something > > obvious. > > > They add nothing. I was using the -gnatg option, and -gnatg requires > forward declarations of all subprograms. > > That was a mistake. I only need to use -gnatg to compile the ada.* > units, not wordcount.adb. I find that GNAT's style checking helps me a lot; and it's much easier to say -gnaty than -gnaty3abcefhiklmprt, which is the standard set less -gnats (check separate specs). A shame that you can't say -gnatyS to turn the feature off, as in -gnatw ... -- Simon Wright 100% Ada, no bugs.