From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!pBWEO6hi52oGFheO/GY5ag.user.gioia.aioe.org.POSTED!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GPS/Gnat Studio: Code completion with other projects Date: Tue, 02 Feb 2021 15:27:51 -0800 Organization: Aioe.org NNTP Server Message-ID: <86zh0m124o.fsf@stephe-leake.org> References: <64d6a85b-3197-42a3-b8a5-c442c0fca2fbn@googlegroups.com> NNTP-Posting-Host: pBWEO6hi52oGFheO/GY5ag.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cancel-Lock: sha1:dX2X6Hw492i0ivbTvaVVfMfHJ1o= X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:61266 List-Id: John Perry writes: > On Monday, February 1, 2021 at 1:52:02 AM UTC-6, Dmitry A. Kazakov wrote: >> It is a bug introduced in the latest version. Cross-referencing (it >> seems more than just auto-completion affected) across packages worked >> fine in earlier GPS versions. > > Thank you very much. One place it fails for me is indeed the most > recent Gnat Studio. However, I can't get it to work in a previous > version, either, perhaps because I'm using the wrong method to include > it. (GPS 2019, last one on Mac) > > One thing I tried was > > with "path/to/package/A.gpr"; > project B is > -- etc. What error message did this give? You probably have to put the package directory in the environment variable GPR_PROJECT_FILES. > Another thing I tried was > > project B is > for Source_Dir use ("src","path/to/package/src"); > -- etc. What error message did this give? -- -- Stephe