Synopsis: | The #pragma directive shall not be used without sign-off according to local quality procedures. |
Language: | C |
Severity Level: | 4 |
Category: | PREPROCESSING |
Description: |
The behaviour of #pragma is entirely implementation defined and non-portable. Such directives are usually provided by compiler writers who have either provided lots of extensions or lots of command-line options and feel that users want to be able to switch these options on and off throughout the source. Taking advantage of this 'generosity' will produce wildly non-portable code. |