[previous] 0343 [next] Using string literal concatenation.
K+R compatibility REFERENCE - ISO:C90-5.1.1.2 Translation Phases

Adjacent string literals are being concatenated. This language feature was not supported in early versions of the C language.

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

For example:


/*PRQA S 553,2017,3122,3211,3408,3625,3674 ++*/
/*****************************
 * OPTIONS: -k+r c
 ****************************/

char         c[] = "ABC""DEF";               /* Message 0343 */

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