![]() |
![]() |
1002 | ![]() |
||||
![]() | |||||||
| Language extensions | REFERENCE - ISO:C90-6.1.2 Identifiers | ||||||
The $ character is not a member of the basic source character set and cannot be used in an identifier in ISO C. However the $ character is supported in VMS compilers. QAC will permit the character to be used in an identifier if the language extension option "-ex dollar" is enabled. For example:
/*PRQA S 289,2017,3211,3408 ++*/
/**********************************
* OPTIONS -ex dollar or -ex all
*********************************/
int recover$; /* Message 1002 */
MISRA C:2012 Rules applicable to message 1002:
| Rule-1.2 (Advisory) | Language extensions should not be used |
![]() | ||
| 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 |