![]() |
![]() |
1810 | ![]() |
||||
![]() | |||||||
| Arithmetic type - Balancing | |||||||
This message is issued whenever two expressions of essentially character type are added together. For example:
/*PRQA S 1-9999 ++*/
/*PRQA S 1810 --*/
int f1810 (char a, char b)
{
return a + b; /* 1810 */
}
MISRA C:2012 Rules applicable to message 1810:
| Rule-10.2 (Required) | Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations |
![]() | ||
| 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 |