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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.237.33.182 with SMTP id l51mr2699153qtc.24.1498174518710; Thu, 22 Jun 2017 16:35:18 -0700 (PDT) X-Received: by 10.157.66.43 with SMTP id q43mr92602ote.16.1498174518660; Thu, 22 Jun 2017 16:35:18 -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!2.eu.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!y44no552075qth.1!news-out.google.com!s132ni2232itb.0!nntp.google.com!185no1006983itv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 22 Jun 2017 16:35:18 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.218.37.33; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.218.37.33 References: <11b656c0-3dc8-48cc-9515-70e4386ca24b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4d14e5a3-a25f-40e8-a5b9-4ecffe76f2aa@googlegroups.com> Subject: Re: GNAT GPL 2017 gnatcoll.xref disappeared? From: Stephen Leake Injection-Date: Thu, 22 Jun 2017 23:35:18 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:47063 Date: 2017-06-22T16:35:18-07:00 List-Id: On Thursday, June 22, 2017 at 3:01:39 PM UTC-5, Simon Wright wrote: > Simon Wright writes: > > > Assuming you're working on ada-mode .. these patches should do the > > trick! > > Sorry, they don't. They would if you had a full installation of gnatcoll > (as I have, with FSF GCC 7.1.0 for macOS). Right. I fixed it by installing gnatcoll from source, overwriting the binary install. gnatcoll.xref now requires iconv (2016 did not), so I had to install that in mingw32, and convince gnat to use it. took a while. It would be interesting to go back and see if the binary install now installs gnatcoll.xref, since iconv is now available. But I'm not going to spend time on that. Then I reinvented the patches you show above. Plus I deleted a use of "Prj"; I don't remember where that came from, but it doesn't seem important. To be compatible with both 2016 and 2107, I split out process_refresh into a separate subunit, and added gnatprep #if to select the proper syntax. Got to verify that ada-mode gnatprep indent works :). (I also posted this on stackoverflow; answered here first :).