comp.lang.ada
 help / color / mirror / Atom feed
* [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH
@ 2013-08-25  7:02 gautier_niouzes
  2013-08-26  1:22 ` Stephen Leake
  0 siblings, 1 reply; 7+ messages in thread
From: gautier_niouzes @ 2013-08-25  7:02 UTC (permalink / raw)


The title says most, except it is through a GNAT project (.gpr).

More precisely, all compiled files land into the directory specified in
  for Object_Dir use ...;
That's OK.
But the compiler options specified in

  package Compiler is
    for Default_Switches ("ada") use (...);
  end Compiler;

are applied only to the sources found in
  for Source_Dirs use (...);
and not to sources found in ADA_INCLUDE_PATH.
Bug ? Feature ?
Any way to have the compiler options applied to all sources ?
_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-27 12:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-25  7:02 [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH gautier_niouzes
2013-08-26  1:22 ` Stephen Leake
2013-08-26  6:42   ` gautier_niouzes
2013-08-26  7:37     ` Simon Wright
2013-08-26 11:21       ` gautier_niouzes
2013-08-26 19:21         ` briot.emmanuel
2013-08-27 12:42     ` Stephen Leake

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