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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a01fa820bd4ed021 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!colt.net!feeder.news-service.com!proxad.net!cleanfeed2-a.proxad.net!nnrp4-2.free.fr!not-for-mail Return-Path: X-Greylist: delayed 1117 seconds by postgrey-1.24 at green; Fri, 27 Oct 2006 22:58:39 CEST X-Mailer: Novell GroupWise Internet Agent 6.5.6 Date: Fri, 27 Oct 2006 15:39:28 -0500 From: "Anh Vo" To: Subject: Re: GNAT bug? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-OriginalArrivalTime: 27 Oct 2006 20:32:53.0665 (UTC) FILETIME=[142A0110:01C6FA07] X-Virus-Scanned: amavisd-new at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 27 Oct 2006 23:00:02 MEST NNTP-Posting-Host: 88.191.14.223 X-Trace: 1161982802 news-4.free.fr 979 88.191.14.223:39022 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:7239 Date: 2006-10-27T23:00:02+02:00 << >>> "(see below)" 10/27/2006 11:30 AM >>> On 27/10/06 18:25, in article 15502511.igE44K045W@linux1.krischik.com, "Martin Krischik" wrote: > Stephen Leake wrote: > >> Maciej Sobczak writes: >> >>> GNAT GPL 2005 (20050729) >> >> Try GNAT GPL 2006 > > Won't help. The problem has been there ever since I use GNAT and in every > version I know of (I am an -Wall,-W4,-Wwhatever junky - I know). On MacOS X 10.4.8: $gnatmake -gnatv -gnatwd protected_test gcc -c -gnatv -gnatwd protected_test.adb GNAT GPL 2006 (20060522-34) Copyright 1992-2006, Free Software Foundation, Inc. Compiling: protected_test.adb (source file time stamp: 2006-10-27 18:23:48) 18 lines: No errors gnatbind -x protected_test.ali gnatlink protected_test.ali $ ls protected_test protected_test.o Protected_Test.adb protected_test.ali $ ./protected_test $ >> On my PC running Win 2k, it works fine also. See the output below. E:\Ada\Ada_Discussion\Is_It_A_Bug>gnatmake -gnatv -gnatwd protected_test gcc -c -gnatv -gnatwd protected_test.adb GNAT GPL 2006 (20060522-34) Copyright 1992-2006, Free Software Foundation, Inc. Compiling: protected_test.adb (source file time stamp: 2006-10-27 20:31:28) 19 lines: No errors gnatbind -x protected_test.ali gnatlink protected_test.ali E:\Ada\Ada_Discussion\Is_It_A_Bug>protected_test.exe E:\Ada\Ada_Discussion\Is_It_A_Bug>