comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Q: GNAT GPL 2014, configuration pragma, unneeded recompilation
Date: Fri, 15 Aug 2014 04:22:12 -0700 (PDT)
Date: 2014-08-15T04:22:12-07:00	[thread overview]
Message-ID: <9610f0cf-4918-40ce-885a-a44ec72ac3e0@googlegroups.com> (raw)
In-Reply-To: <6760d270-94c1-499d-aaf2-92e6e8ce85a9@googlegroups.com>

Could make a reproducer:

new file: p.adb: procedure P is begin null; end;
new file: d.pra: pragma Initialize_Scalars;
new directory: ./obj
cd obj
gnatmake -gnatec../d.pra ../p.adb
gnatmake -gnatec../d.pra ../p.adb

Variant with a project file p.gpr:
project P is
   for Main use ("p.adb");
   for Object_Dir use "obj";
   package Compiler is
      for Default_Switches ("ada") use ("-gnatec../d.pra");
   end Compiler;
end P;

gnatmake -P p
gnatmake -P p

From the .ali file it appears that configuration pragma files are now being tracked for changes (a good thing) but obviously not properly...

G.


  reply	other threads:[~2014-08-15 11:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  8:33 Q: GNAT GPL 2014, configuration pragma, unneeded recompilation gautier_niouzes
2014-08-15 11:22 ` gautier_niouzes [this message]
2014-09-23  9:30   ` gautier_niouzes
replies disabled

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