[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issue with gnat-4.9 and gprbuild on Jessie



On Sun, 2014-08-17 at 19:36 +0200, Nicolas Boulenguez wrote: 
> On Sun, Aug 17, 2014 at 03:09:42PM +0200, Eugen Wintersberger wrote:
> 
> >   I have a problem with gprbuild on Jessie. When using gprbuild with
> > gnat-4.9 installed I get the following warning message 
> > warning: no compiler specified for language "Ada", ignoring all its sources
> > Is this a bug in the gnat-4.9 or the gprbuild package?
> 
> Which version of gprbuild and gnat-4.9 are you using?
> 
> Gprbuild-2011-4 (testing, jessie) only searches for gnat-4.6,
> while gprbuild-2014-1 (unstable, sid) only searches for gnat-4.9
> (the intent is to ensure that the same version of GCC compiles Ada and
> C files inside a given project).

In my case this would be gprbuild-2011-4 (on Jessie). Ok - now I got the
strategy behind this. The reason why I want to use gnat-4.9 is that
gnat-4.6 has some issues with container iteration. 
According to 

http://en.wikibooks.org/wiki/Ada_Programming/Installing

gnat-4.6 should provide full support for Ada 2012. However, things like 

for e in vector loop
  e := ....;
end loop;

does not work with gnat-4.6 on Jessie. Is this a bug or is this
functionality deliberately missing in 4.6?


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: