TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
TIOBE - C Coding Standard

SR:  12.8#1Checked automatically with code checker

Synopsis:The #pragma directive shall not be used without sign-off according to local quality procedures.
Severity Level:4


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.