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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d13bf824aeeb7e2b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.129.105 with SMTP id nv9mr1595126pbb.3.1330473864579; Tue, 28 Feb 2012 16:04:24 -0800 (PST) Path: h9ni20777pbe.0!nntp.google.com!news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 28 Feb 2012 18:04:22 -0600 Date: Tue, 28 Feb 2012 19:04:21 -0500 From: "Peter C. Chapin" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question about GNAT project files. References: In-Reply-To: Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-nalNZOxFEuN3qrTPN2MzQwkZtkNetAtZCbM642QpdoTnSm26o2fMuW0dfmqkI41gfhKLiypEvpJchOL!f3uJSTq0Iii89E8cSZxuufnS10CWJ4qKZwKZYOypDk0JauONfMqLnMziYuyHyJc= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1883 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-02-28T19:04:21-05:00 List-Id: On 2012-02-28 01:56, Phil Thornley wrote: > Try adding: > > package Ide is > for Default_Switches ("examiner") > use ("-index_file=lib.idx"); > end Ide; > > to main.gpr. This should override the index file defined in lib.gpr. That doesn't seem to work. Although the new switches are used for files in the main project, when I try to examine a file in the subproject it still uses the switches as defined by that subproject's *.gpr file (which contain incorrect paths relative to the main project's root). Peter