C H A P T E R  22

image

Pragmas and Other Key Compiler Directives

Pragmas

Pragma clauses are compiler directives, which have the general form shown below:

%  pragma pragma_category  identifierOPT  pragma_argument_clauseOPT  ;

Pragma categories may be either language-defined or implementation defined. An identifier following the category indicator is typically an identifier from the packetC program, such as a variable or a user-defined type name. Legal arguments for a given category may be either language or implementation defined. The language-defined categories are:

  • control category pragmas govern the relationships with the control plane
  • data ...

Get packetC Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.