This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] gnatmake and project manager clean ups (5/n)


General cleanup in the processing of error messages in the project
manager. Errors are now always printed through Errutil, which ensures
proper removal of duplicate messages, proper sorting of error messages,
and consistent error messages across all project-aware tools.
Users must now redirect the output of Prj.Err.Finalize if they want to
display the error message other than on stdout.
Modify all packages in the project manager to always use
Prj.Err.Report_Message so that user's callback is always called

Tested on x86_64-pc-linux-gnu, committed on trunk

2009-07-13  Emmanuel Briot  <briot@adacore.com>

	* prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb,
	prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads,
	prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb,
	errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads
	(Prj.Nmsc.Report_Error): Removed, no longer needed.
	Always use Prj.Err.Report_Message.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]