[previous] 3116 [next] Unrecognized #pragma arguments '%s' This #pragma directive has been ignored.
Preprocessing REFERENCE - ISO:C90-6.8.6 Pragma Directive

An unrecognized #pragma directive has been used.

#pragma directives are intrinsically implementation-defined. QA·C recognises a number which are used in assisting the analysis process, for example:

Other #pragmas can be declared to QA·C with the -spragma option.

If QA·C encounters any other #pragma, message 3116 will be generated.

For example:


/*PRQA S 2017,3211,3408 ++*/
/**********************************
 * OPTIONS: -spragma SPECIAL_PRAGMA
 **********************************/

#pragma PRQA_NO_SIDE_EFFECTS "myfunction"       /* OK - internal #pragma */

#pragma UNKNOWN                                 /* Message 3116 */

#pragma SPECIAL_PRAGMA                          /* OK - declared in -spragma option */

int x;

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents