02-07-2024, 03:09 PM
The MISRA C Glossary defines Code as:
"Code consists of everything within a translation unit that is not excluded by conditional compilation"
As such, reporting violations in active code is the requirement.
Reporting violations in inactive code is not always appropriate, as that code may not compile-able due to other considerations.
"Code consists of everything within a translation unit that is not excluded by conditional compilation"
As such, reporting violations in active code is the requirement.
Reporting violations in inactive code is not always appropriate, as that code may not compile-able due to other considerations.
Posted by and on behalf of the MISRA C Working Group