restrict.ads
14.7 KB
-
restrict.ads, [...] (Restriction_Active): Now returns False if only a… · de397a3d
restrict.ads, [...] (Restriction_Active): Now returns False if only a restriction warning is active for the given restriction. 2006-10-31 Arnaud Charlet <charlet@adacore.com> Robert Dewar <dewar@adacore.com> * restrict.ads, restrict.adb (Restriction_Active): Now returns False if only a restriction warning is active for the given restriction. This is desirable because we do not want to modify code in the case where only a warning is set. (Set_Profile_Restrictions): Make sure that a Profile_Warnings never causes overriding of real restrictions. Take advantage of new No_Restrictions constant. * raise.h: (__gnat_set_globals): Change profile. From-SVN: r118295
Arnaud Charlet committed