Now building & installing fine (while recovering from partial installs, I had to stop and restart emacs - more than once, I _think_ - to end up with a consistent mode).
There used to be a command in gpr-mode, C-c C-p, which set the current file as the current GPR. I miss this!
There's a line
(define-key map "\C-c\C-P" 'gpr-set-as-project)
in gpr-mode.el but no such function. (why P and not p?)
When in ada-mode, there's the "Wisi Prj Select" menu which could have a better name ("Ada Projects"?)
Was pleased to see that, if there's more than one project open, compiling an Ada source does so in the context of the correct GPR.
I find that Ada source isn't fontified when opened (GPR source is): I toggled font-lock-mode to get fontification.
Season's greetings! & many thanks for the work.
Simon Wright <address@hidden> writes:
Building with GCC 9.1.0, I gotOk.
sal-gen_bounded_definite_stacks.ads:101:06: visibility of aspect for "Stack" changes after freeze point
sal-gen_bounded_definite_stacks.ads:101:27: Meaning of "Top" differs because of declaration at line 96
Changing that line to
end record with
Dynamic_Predicate => Stack.Top in 0 .. Stack.Size;
compiled all OK,
but then install.sh saidArg. Just delete the gpr_query.gpr line in install.sh; there is now onlyone .gpr file.Apparently my testing was not thorough enough.-- -- Stephe
gprinstall: project file "gpr_query.gpr" not found in .:
ada_mode_wisi_parse.gpr:19:06: unknown project file: "wisi"
ada_mode_wisi_parse.gpr:20:06: unknown project file: "standard_common"
ada_mode_wisi_parse.gpr:45:04: warning: no when others for this case construction
ada_mode_wisi_parse.gpr:45:09: unknown package or project "Standard_Common"
ada_mode_wisi_parse.gpr:59:07: warning: no when others for this case construction
ada_mode_wisi_parse.gpr:59:12: unknown package or project "Standard_Common"
ada_mode_wisi_parse.gpr:62:12: unknown projects "Standard_Common.Compiler" or "Standard_Common"
Should I try with GNAT CE 2019 (after installing gnatcoll_sqlite)?