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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c3c4ae45442f569e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "fabio de francesco" Newsgroups: comp.lang.ada Subject: Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types) Date: 29 Apr 2005 15:11:52 -0700 Organization: http://groups.google.com Message-ID: <1114812712.786763.161730@g14g2000cwa.googlegroups.com> References: <1114747457.868019.93210@f14g2000cwb.googlegroups.com> <42720DCD.6030304@mailinator.com> <4272260d$0$30463$ba620e4c@news.skynet.be> <4272a5ce$0$15359$636a15ce@news.free.fr> NNTP-Posting-Host: 80.181.52.213 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1114812717 26430 127.0.0.1 (29 Apr 2005 22:11:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 29 Apr 2005 22:11:57 +0000 (UTC) In-Reply-To: <4272a5ce$0$15359$636a15ce@news.free.fr> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=80.181.52.213; posting-account=Lp02jQ0AAABMd3TAghNf0TM2YBZqD_JE Xref: g2news1.google.com comp.lang.ada:10840 Date: 2005-04-29T15:11:52-07:00 List-Id: Lionel Draghi wrote: > > ... > > I fully agree with you, Randy, but it's quite difficult to ensure that > no compiler dependant behavior is used in the code, because no compiler > I am aware of is kind enough to put a warning on all compiler/platform > dependencies. > > ... > Isn't there in GCC/GNAT any options like "-pedantic" and "-ansi" in order to reject all programs that do not strictly follow the standard? fabio