[EXT_EP-9149] Checking for MISRA rule 20.1 causes macro redefinition to be ignored Created: 26/Nov/18 Updated: 19/Feb/20 Resolved: 26/Nov/18 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-5563 |
Forum URL: | https://e2e.ti.com/support/tools/ccs/f/81/t/750005 |
Found In Release: | C2000_20.2.0.beta C6000_8.2.0 C2000_18.1.0.LTS C6000_8.3.0 ARM_18.12.0.LTS PRU_2.3.0 ARM_18.1.0.LTS MSP430_18.1.0.LTS PRU_2.4.0* MSP430_18.12.0.LTS ARM_20.2.0.beta C2000_18.12.0.LTS MSP430_20.2.0.beta |
Fix In Release: | C2000_20.2.0.beta C2000_18.1.7.LTS ARM_18.12.3.LTS ARM_18.1.7.LTS MSP430_18.12.3.LTS C2000_18.12.3.LTS PRU_2.3.3 PRU_2.4.0* MSP430_18.1.7.LTS C6000_8.3.5 C6000_8.2.8 ARM_20.2.0.beta MSP430_20.2.0.beta |
Workaround: | None. To detect redefined macros that aren't predefined, --check_misra=20.1 must not be in the compilation options. |
Release Notes: | The --check_misra=20.1 option, which looks for redefined reserved identifiers such as predefined macros, will accidentally suppress warnings about redefinitions of macros that *aren't* predefined. Since those aren't included in the group that 20.1 tests for, no warning will be issued at all. |
Description |
Checking for MISRA rule 20.1 causes macro redefinition to be ignored |