Simon Wright <[email protected]> writes:

> On 12 Feb 2016, at 22:35, Piotr Trojanek <[email protected]> wrote:
>> 
>> For me, with GNAT GPL 2015, "make all" fails with this error:
>> 
>> gcc -c -gnat2012 -gnatc -gnatyN3 -I- -gnatA
>> /home/ptroja/ports/org.emacs.ada-mode/test/ada_mode-generic_instantiation.ads
>> ada_mode-nominal.ads:44:14: simultaneous visibility of limited and
>> unlimited views not allowed
>> ada_mode-nominal.ads:44:14: unlimited view visible through context
>> clause at line 37
>> ada_mode-nominal.ads:45:03: simultaneous visibility of limited and
>> unlimited views not allowed
>> ada_mode-nominal.ads:45:03: unlimited view visible through context
>> clause at line 39
>> gnatmake:
>> "/home/ptroja/ports/org.emacs.ada-mode/test/ada_mode-generic_instantiation.ads"
>> compilation error
>> make: *** [ada_mode-generic_instantiation.ali] Error 4
>
> This patch should fix that. OK on GNAT GPL 2015, FSF GCC 5.2.0.

Thanks

> Also, I've commented out the "test : test-ada-gpr_query.stamp" in
> build/wisi/Makefile; I can't see why it doesn't work, because doing by
> hand what the EMACSCMD lines are doing seems to work OK.

The main reason this would fail is if you have not compiled gpr_query
and installed it in the path used by the separate Emacs.

Note the way the separate Emacs is started; it loads
run-indent-test-wisi-gpr_query.el instead of run-indent-test-wisi.el.
The former does (setq ada-xref-tool 'gpr_query).

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to