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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.98.82.72 with SMTP id g69mr24594611pfb.14.1469617063223; Wed, 27 Jul 2016 03:57:43 -0700 (PDT) X-Received: by 10.157.5.98 with SMTP id 89mr1592058otw.9.1469617063184; Wed, 27 Jul 2016 03:57:43 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no5096334ith.0!news-out.google.com!d130ni15962ith.0!nntp.google.com!f6no5096328ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Jul 2016 03:57:42 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:c68c:9d90:81a5:c636:3331:6407; posting-account=Pm0FhgoAAAAiPscNT3etSZ15tHNZGXm_ NNTP-Posting-Host: 2a02:1205:c68c:9d90:81a5:c636:3331:6407 References: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> <66240de6-d3a8-458d-9eb9-1214f790831c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 From: ahlan.marriott@gmail.com Injection-Date: Wed, 27 Jul 2016 10:57:43 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31184 Date: 2016-07-27T03:57:42-07:00 List-Id: On Wednesday, 27 July 2016 09:35:29 UTC+2, Simon Wright wrote: > jrmarino writes: > > > On Monday, July 25, 2016 at 1:48:12 PM UTC-5, ahlan.m...@gmail.com wrote: > >> package Binder is > >> for Default_Switches ("ada") use ("-E"); > >> end Binder; > > > > Are you reading the replies in your own thread? It's been said that > > -E in package Binder will not work. You have to pass -bargs when you > > invoke gprbuild on the command line. From what I can tell, there's > > nothing wrong TDM-GCC compiler, you're just not invoking gprbuild > > correctly. > > I just tried this, and -E in package Binder works on TDM-GCC, just like > it does on macOS. I haven't tried explicitly on Linux. Dear Simon, I have only tried this out on Windows. I downloaded and ran TDM-GCC-5.1.0-3.exe and then download and unpacked gcc-5.1.0-tdm-1-ada.zip I obtained the Gprbuild etc as Gprtools from GetAdaNow. If I build your example test program and execute it I get the constraint exception but not the traceback. The very fact that you can get a traceback at least indicates that it is possible. All we now have to do is figure out is what I am doing differently to you. The same program and same gpr files gives me a traceback when I use AdaCore's GPL. Do you use SJLJ executions or DW2? MfG Ahlan