From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.13.136 with SMTP id c8mr8439958qaa.0.1377414139516; Sun, 25 Aug 2013 00:02:19 -0700 (PDT) X-Received: by 10.49.99.65 with SMTP id eo1mr319857qeb.3.1377414139455; Sun, 25 Aug 2013 00:02:19 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!q10no766353qai.0!news-out.google.com!he10ni3465qab.0!nntp.google.com!fx3no4675220qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Aug 2013 00:02:19 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.193.12.180; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 178.193.12.180 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <167c4830-c8f9-48d3-9850-b1772c2aa452@googlegroups.com> Subject: [GNAT] compiler options ignored for sources from ADA_INCLUDE_PATH From: gautier_niouzes@hotmail.com Injection-Date: Sun, 25 Aug 2013 07:02:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:16952 Date: 2013-08-25T00:02:19-07:00 List-Id: 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