Next: Pragma Source_File_Name, Previous: Pragma Pure_Function, Up: Implementation Defined Pragmas
pragma Restriction_Warnings (restriction_IDENTIFIER {, restriction_IDENTIFIER});
This pragma allows a series of restriction identifiers to be
specified (the list of allowed identifiers is the same as for
pragma Restrictions
). For each of these identifiers
the compiler checks for violations of the restriction, but
generates a warning message rather than an error message
if the restriction is violated.