[previous] 0801 [next] [C] The '##' operator may not be the first token in a macro replacement list.
Constraint violations REFERENCE - ISO:C90-6.8.3.3 The ## Operator - Constraints

This is a constraint error

The glue operator, '##', has appeared as the first token in the replacement list of a macro. This makes no sense because the function of ## is to join the tokens on either side of it when the macro is expanded.

For example:


/*PRQA S 553,2017,3429 ++*/

#define GLUE(b) ## b           /* Message 0801 */

See also:

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