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.182.111.170 with SMTP id ij10mr4351009obb.42.1458805899350; Thu, 24 Mar 2016 00:51:39 -0700 (PDT) X-Received: by 10.157.0.69 with SMTP id 63mr73203ota.13.1458805899276; Thu, 24 Mar 2016 00:51:39 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!av4no1789304igc.0!news-out.google.com!u9ni4698igk.0!nntp.google.com!nt3no4041872igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 24 Mar 2016 00:51:39 -0700 (PDT) In-Reply-To: <5aab7fc9-b76b-404e-a0d6-d842aed0c8a0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.27.144.141; posting-account=dpcLegoAAAA1ZB_Jk4LOLxTBYizRbyGd NNTP-Posting-Host: 2.27.144.141 References: <4aa9b315-0482-4bfa-b2d9-7b4cb27b92ec@googlegroups.com> <5aab7fc9-b76b-404e-a0d6-d842aed0c8a0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2376c09b-ea71-4d66-b8f6-4957d5c830e5@googlegroups.com> Subject: Re: Too big From: Cotswold Mike Injection-Date: Thu, 24 Mar 2016 07:51:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29873 Date: 2016-03-24T00:51:39-07:00 List-Id: On Wednesday, 23 March 2016 23:04:26 UTC, Anh Vo wrote: > On Wednesday, March 23, 2016 at 3:23:03 PM UTC-7, Cotswold Mike wrote: > > On Wednesday, 23 March 2016 22:18:51 UTC, Cotswold Mike wrote: > > > "gnatmake -ws -c -u -PC:\Users\Mike\Desktop\Ada\Sudoku_solver\solver.gpr solver-solve.adb > > > gcc -c -I- -gnatA C:\Users\Mike\Desktop\Ada\Sudoku_solver\solver-solve.adb > > > cannot generate code for file solver-solve.adb (subunit) > > > gnatmake: "C:\Users\Mike\Desktop\Ada\Sudoku_solver\solver-solve.adb" compilation error > > > [2016-03-23 21:55:41] process exited with status 4 (elapsed time: 03.37s)" > > > > > > What is the most likely reason? For example, the offending subunit contains a large number of "separate" procedures. Would it help to wrap them up in a package? > > > > > > For information, it's a SUDOKU solver program that attempts to use algorithmic rather than heuristic methods > > > > > > All sensible suggestions welcom > > This is just a guess. There is at least one grandchild package solver-solve-grandchild*.adb failed to compile correctly. > > Anh Vo Many thanks for that suggestion. The trouble started when I began working on a new grandchild procedure (solver-solve-remote_pair_chain). Comment out the call and all goes back to normal. For the moment I'll concentrate on that line of enquiry. Mike