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] Better PCS consistency check


This change adds a missing consistency check between exp_dist (the
package responsible for expansion of distributed systems annex constructs)
and the PCS (the distribution runtime library). This prevents code generation
when the version of exp_dist is incompatible with the PCS in use. It also
provides a more explicit error message when such an inconsistency occurs.
Prior to this change, consistency was checked only when generating code
for remote call interface package stubs, not for remote objects.

No test (sanity check triggered only in inconsistent installations).

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

2008-07-30  Thomas Quinot  <quinot@adacore.com>

	* rtsfind.adb (Check_RPC): Check version consistency even when not
	generating RCI stubs.
	Provide more detailed error message in case of mismatch.

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]