Commit f8bbfee
committed
Fix missing compiler macros in cppcheck analysis
Added a function to determine the compiler type (GCC or Clang)
and extract the standard version. This ensures that predefined
macros are correctly passed to cppcheck, preventing false positives
caused by incorrect environment detection in macro evaluations.
Change-Id: I0c8cd7507f081a03f1c1ffec648aed544a0e64661 parent 1cdb288 commit f8bbfee
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
71 | 90 | | |
| 91 | + | |
72 | 92 | | |
73 | 93 | | |
74 | 94 | | |
| |||
0 commit comments