Movatterモバイル変換


[0]ホーム

URL:


Next:, Previous:, Up:Extensions to the C Language Family   [Contents][Index]


6.5 Pragmas Accepted by GCC

GCC supports several types of pragmas, primarily in order to compilecode originally written for other compilers. Note that in generalwe do not recommend the use of pragmas; SeeDeclaring Attributes of Functions,for further explanation.

The GNU C preprocessor recognizes several pragmas in addition to thecompiler pragmas documented here. Refer to the CPP manual for moreinformation.

GCC additionally recognizes OpenMP pragmas when the-fopenmpoption is specified, and OpenACC pragmas when the-fopenaccoption is specified. SeeOpenMP, andOpenACC.


[8]ページ先頭

©2009-2026 Movatter.jp