HPlogo HP-UX/HP C Compiler: HP C/HP-UX Reference Manual > Chapter 7 Preprocessing Directives

Pragma Directive (#pragma)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

You can provide instructions to the compiler through inclusion of pragmas.

Syntax

pragma-directive ::=
#pragma replacement-list

Description

The #pragma preprocessing directive provides implementation-dependent information to the compiler. See Chapter 9 “Compiling and Running HP C Programs” for descriptions of pragmas recognized by HP C/HP-UX. Any pragma that is not recognized by the compiler is ignored.

Example

  #pragma replacement-list:  #pragma intrinsic func
© Hewlett-Packard Development Company, L.P.