[previous] 1026 [next] [E] The indicated @word construct has been ignored.
Language extensions

Whenever QA·C encounters the @ symbol followed by '_ignore_at', the two tokens are ignored and message 1026 is generated.

This mechanism is useful because the @ character is sometimes used as a prefix to non-standard keywords which are language extensions. By redefining the appropriate keyword as '_ignore_at' (usually by configuring a macro with the -d option), QA·C can be configured to ignore this syntax.

For example:


/*PRQA S 289,292,2017,3211,3408 ++*/
/********************************
 * OPTIONS: -d tiny=_ignore_at
 *******************************/


int @_ignore_at x ;              /* Message 1026 */

@tiny int y;                     /* Message 1026 */

#define RUBBISH _ignore_at

@RUBBISH short @RUBBISH z;       /* Message 1026 and 1026 */

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