wiki:NewPragmas

Version 1 (modified by john@…, 8 years ago) (diff)

--

possible new pragmas

While implementations are never under any obligation to follow pragmas, it is good to have standardized meanings for common pragmas so that when implementations do use them they can do so in a way that is compatable with others.

  • LINE - hopefully with optional character position as well as line number so that intraline error reporting can work properly.
  • SRCLOC_ANNOTATE - generalized Assertions? which can be used to annotate any function with its use site.
  • DEPRECATED - mark routines which have been deprecated
  • LANGUAGE - a pragma for specifying language options with a common compiler-independent namespace.