comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH
Date: Sun, 25 Aug 2013 00:02:19 -0700 (PDT)
Date: 2013-08-25T00:02:19-07:00	[thread overview]
Message-ID: <167c4830-c8f9-48d3-9850-b1772c2aa452@googlegroups.com> (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

             reply	other threads:[~2013-08-25  7:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-25  7:02 gautier_niouzes [this message]
2013-08-26  1:22 ` [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH 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
replies disabled

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