ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnu Emacs Ada mode 7.0.1 released.


From: Stephen Leake
Subject: Re: Gnu Emacs Ada mode 7.0.1 released.
Date: Mon, 03 Feb 2020 03:25:55 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)

Simon Wright <address@hidden> writes:

> If the current buffer holds startup.adb, C-c C-v (for check) executes
>
> -*- mode: compilation; default-directory: 
> "~/cortex-gnat-rts/microbit/adainclude/" -*-
> Compilation started at Sat Feb  1 15:55:20
>
> gprbuild -p -Pbuild_runtime.gpr -c -u -f 
> /Users/simon/cortex-gnat-rts/microbit/adainclude/startup.adb
> Compile
>    [Ada]          startup.adb
>
> but if the current buffer holds a-reatim.adb it executes
>
> -*- mode: compilation; default-directory: "~/cortex-gnat-rts/common/" -*-
> Compilation started at Sat Feb  1 15:56:33
>
> gprbuild -p  -c -u -f /Users/simon/cortex-gnat-rts/common/a-reatim.adb
> using project file common.gpr
> gprbuild: "/users/simon/cortex-gnat-rts/common/a-reatim.adb" was not found in 
> the sources of any project
>
> ==========
>
> Similar behaviour for C-c C-c (for make).

In the second case, there is no gprfile given in the gprbuild command
line; I'm guessing that is the cause of the reported error. 

When in the two Ada buffers, what does "Ada | Project files | Show
project" show? 

What do you have in project-find-functions? You probably need to set
that manually to wisi-prj-current-cached or wisi-prj-current-parse; see
the wisi info section "Selecting projects" and ada-mode info section "Use
multiple GNAT project files".

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]