[previous] 0342 [next] Using the glue operator '##'.
K+R compatibility REFERENCE - ISO:C90-6.8.3.3 The ## Operator

The '##' preprocessing operator (sometimes referred to as the glue operator) has been used in the definition of a macro. This was not supported in early versions of the C language.

Be aware that message 0342 is only generated when the "-k+r g" option is enabled.

For example:


/*PRQA S 553,2017,3429 ++*/
/*****************************
 * OPTIONS: -k+r g
 ****************************/

#define GLUE(a, b) a ## b               /* Message 0342 */

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