X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.31.152.208 with SMTP id a199mr18922418vke.4.1455582894007; Mon, 15 Feb 2016 16:34:54 -0800 (PST) X-Received: by 10.182.134.132 with SMTP id pk4mr163204obb.6.1455582893904; Mon, 15 Feb 2016 16:34:53 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Mon, 15 Feb 2016 16:34:53 -0800 (PST) In-Reply-To: <56C09DCD.9000408@iki.fi> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO NNTP-Posting-Host: 65.13.115.246 References: <201601312013 DOT u0VKDC4O017569 AT delorie DOT com> <56AF7CFB DOT 8010507 AT iki DOT fi> <56B1854C DOT 30800 AT iki DOT fi> <5297e3a3-037a-4b71-a1de-6fabccc69f11 AT googlegroups DOT com> <56C09DCD DOT 9000408 AT iki DOT fi> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1b1bcc39-c2f7-48a1-981c-8bdb07136df1@googlegroups.com> Subject: Re: ANNOUNCE: Update of DJGPP port of gcc-5.3.0 From: "rugxulo AT gmail DOT com [via djgpp AT delorie DOT com]" Injection-Date: Tue, 16 Feb 2016 00:34:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 3363 Lines: 47 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, Andris, On Sunday, February 14, 2016 at 9:31:41 AM UTC-6, Juan Manuel Guerrero (juan DOT guerrero AT spam DOT no) [via djgpp AT spam DOT no] wrote: > > One can use gnatmake directly: > > gnatmake -gnatk8 -I. -I../lib_src -I../lib_src/dos -I../lib_src/3DModels > -I../lib_src/Misc -I../lib_src/UzA_Src Demos.adb > > At least all built OK for me with gcc-5.3.0 this way. Tried also > gcc-6.0.0 2016203 and got compiler errors (like reserved word 'some' > used as identifier) Neither 4.9.3 nor 5.3.0 will correctly build it, as is, due to the (now default) -gnat2012 dialect, which enables "some" keyword. So I don't see how it works for you with 5.3.0 but not 6.0.0-pre. My old kludge was to use -gnat05 , but you're apparently not doing that here. I have not emailed Gautier (yet?), mostly because I'm not sure he's still interested. So these are my own suggestions (besides boring "just use -gnat05" advice): 1). sed -i -e "s/\/someof/g" ..\lib_src\uza_src\unzideco.ad? 2). apply the following diff (roughly gleaned from Gautier's newer unzip-ada.sf.net): diff -U0 old/unzideco.ads new/unzideco.ads --- old/unzideco.ads 2009-02-19 19:34:00 +0000 +++ new/unzideco.ads 2016-02-15 17:48:56 +0000 @@ -45 +45 @@ - type Trace_type is (none, some, full); + type Trace_type is (none, some_t, full); @@ -51 +51 @@ - some_trace: constant Boolean:= trace>=some; + some_trace: constant Boolean:= trace >= some_t; diff -U0 old/unzideco.adb new/unzideco.adb --- old/unzideco.adb 2009-02-09 20:22:00 +0000 +++ new/unzideco.adb 2016-02-15 17:48:32 +0000 @@ -818 +818 @@ - list_followers: constant Boolean:= trace >= some; + list_followers: constant Boolean:= some_trace; So those fixes work for me, and everything builds okay (not using -P*.gpr). So there's not much else to be done (IMHO) outside of building gprbuild or emailing Gautier and seeing what he thinks. What do you recommend?