[previous] 2217 [next] Line length exceeds %s characters.
Bracing and Indentation

The length of this physical line of code exceeds the limit defined by the configuration option -maxlinelength.

Be aware that a logical source line can encompass more than one physical line of code by using a backslash character ("\") to splice lines together. However, line splicing is only really necessary for long preprocessor directives. Ordinary lines of code can be folded onto more than one physical line with no semantic repercussions so long as each token remains intact.

For example:


/*PRQA S 2017,3211,3408,3602,3625 ++*/
/***********************************
 * OPTIONS: -mll 90
 ***********************************/

const char *pc1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";                          /* No message */
const char *pc2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";                          /* No message  */
const char *pc3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";                          /* Message 2217 */
const char *pc4 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";                          /* Message 2217  */



No MISRA C:2012 Rules applicable to message 2217


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents