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,c3c4ae45442f569e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news4.google.com!news2.google.com!proxad.net!infeed-2.proxad.net!news5-e.free.fr!not-for-mail Date: Sat, 30 Apr 2005 09:21:08 +0200 From: Lionel Draghi User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2 X-Accept-Language: fr-fr, en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types) 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> <1114812712.786763.161730@g14g2000cwa.googlegroups.com> In-Reply-To: <1114812712.786763.161730@g14g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <427331e3$0$15341$636a15ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 30 Apr 2005 09:21:07 MEST NNTP-Posting-Host: 82.236.216.140 X-Trace: 1114845667 news5-e.free.fr 15341 82.236.216.140:51916 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:10847 Date: 2005-04-30T09:21:07+02:00 List-Id: fabio de francesco a �crit : ... > 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? But non portable programs follows the standard, that's my point. (Fortunatly, in the Ada world, not following the standard is not an option). That's why you may write code that perfectly run with GNAT, unaware that it won't run that fine with another one. -- Lionel