[previous] 3107 [next] [S] A #pragma '%s' has been found without a matching #pragma block start directive.
Syntax errors

In QA·C, it is possible to specify a pair of #pragma statements which can be used to enclose a block of statements to be ignored in the parsing process (-skippragma option, Analyser personality). This message is generated when the closing #pragma of a block is encountered without first encountering the opening #pragma. For example:


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

int x = 0;

#pragma BBBB                              /* Message 3107 */

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