Evgeniy Turishev <[email protected]> writes: > On 27.05.2015 20:27, Stephen Leake wrote: >> Evgeniy Turishev <[email protected]> writes: >> >>> There is patch for using gnatfind. >> More precisely, using gnatfind without a GNAT project file. > Yes, I did not know that gnatfind work with gpr_file option in adp. > >> Why do you need to do that? > Broken backward compatibility is not good.
In general, yes, but there is a _lot_ that is broken between Ada mode 4.x and 5.x; that was a deliberate decision, to allow 5.x to be cleaner, and therefore easier to maintain going forward. > Especially in the documentation > (http://stephe-leake.org/emacs/ada-mode/ada-mode.html) > indicated nothing about the fact that obj_dir is now ignoring > and gnatfind without gpr_file now is not working. Ok; there should be an "upgrading from 4.0" section. I'll add that. Are you aware of anything else that should be mentioned in that section? >> Why are you not using a GNAT project file? >> > I use Ada Web Server (AWS) library in my projects, AWS is complex project. > Also AWS and my project both are compiled using gprbuild, > but ada-gnat-xref-xxx (without my patch) work only > if gpr_file AND src_dir (with right paths to AWS-src) both present in > adp. This is a bug somewhere; the gpr file should include the AWS sources, so the src_dir in .prj should not be needed. The point of using .gpr files in the .prj file is that you've already told the compiler everything; no need to repeat it to emacs. Post the .gpr and .prj files; I'll look at it. > I use ada-mode about 7 years, thank you for you work! You're welcome! -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
