Next: , Previous: Pragma Compiler_Unit, Up: Implementation Defined Pragmas


2.30 Pragma Compiler_Unit_Warning

Syntax:

    pragma Compiler_Unit_Warning;

This pragma is intended only for internal use in the GNAT run-time library. It indicates that the unit is used as part of the compiler build. The effect is to generate warnings for the use of constructs (for example, conditional expressions) that would cause trouble when bootstrapping using an older version of GNAT. For the exact list of restrictions, see the compiler sources and references to Check_Compiler_Unit.