comp.lang.ada
 help / color / mirror / Atom feed
From: Cotswold Mike <mike-h@ada-augusta.demon.co.uk>
Subject: Re: Too big
Date: Thu, 24 Mar 2016 00:51:39 -0700 (PDT)
Date: 2016-03-24T00:51:39-07:00	[thread overview]
Message-ID: <2376c09b-ea71-4d66-b8f6-4957d5c830e5@googlegroups.com> (raw)
In-Reply-To: <5aab7fc9-b76b-404e-a0d6-d842aed0c8a0@googlegroups.com>

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 


  reply	other threads:[~2016-03-24  7:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 22:18 Too big mike-h
2016-03-23 22:23 ` Cotswold Mike
2016-03-23 23:04   ` Anh Vo
2016-03-24  7:51     ` Cotswold Mike [this message]
2016-03-23 23:05 ` Robert A Duff
2016-03-23 23:25 ` rieachus
2016-03-24  5:50 ` Niklas Holsti
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox