Can anyone please tell me the use of pragma statements
问题 Can anyone please tell me the use of pragma in C and Ada, with some examples if possible. 回答1: There are three standard pragmas in C99: #pragma STDC FP_CONTRACT on-off-switch #pragma STDC FENV_ACCESS on-off-switch #pragma STDC CX_LIMITED_RANGE on-off-switch Where 'on-off-switch' is one of ON, OFF, DEFAULT. These can be used at compile time to modify the behaviour of the compiler in arcane ways (these ones are related to the C99 floating point behaviour). The standard reserves STDC for