Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] Extended applicability for pragma Obsolescent

Thursday May 18, 2006

Any entity, including record components and enumeration literals, can now be marked as obsolescent using this pragma, and any reference to an entity marked with this pragma will generate a warning. The new syntax for the pragma has a parameter Entity=>name which gives the name of the entity to be marked. For compatibility, the old syntax omitting this name is still accepted (in which case the name is implied by the pragma location).

 

Posted by Posted in Development Log, GNAT Compilation System