Using the GNU Compiler Collection (GCC): Pragmas

Next: Unnamed Fields, Previous: Target Format Checks, Up: C Extensions [Contents][Index]

### 6.62 Pragmas Accepted by GCC

GCC supports several types of pragmas, primarily in order to compile code originally written for other compilers. Note that in general we do not recommend the use of pragmas; See Function Attributes, for further explanation.

The GNU C preprocessor recognizes several pragmas in addition to the compiler pragmas documented here. Refer to the CPP manual for more information.