A pragma is an implementation-defined instruction to the compiler. It has the general form:
.--------------------. V | >>-#--pragma----character_sequence-+---------------------------><
where character_sequence is a series of characters giving a specific compiler instruction and arguments, if any.
Unless specifically noted otherwise, character sequences in pragma directives are not case sensitive. For example, the following two pragma directives are functionally equivalent:
#pragma convert(37) #pragma CoNvErT(37)
The character_sequence on a pragma is subject to macro substitutions. For example,
#define XX_ISO_DATA isolated_call(LG_ISO_DATA) // ... #pragma XX_ISO_DATA
More than one pragma construct can be specified on a single pragma directive. The compiler ignores unrecognized pragmas.
ILE C/C++ pragmas are described in Chapter 3, ILE C/C++ Pragmas.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.