Commit 5a29ced
committed
COMP: Suppress Eigen3 IPA-CP / MSVC warnings via CTestCustom
Add two CTestCustom warning-exception patterns alongside the existing
".*Modules/ThirdParty/Eigen3/.*warning:.*" line so the dashboard
ignores the noise from vendored Eigen on all toolchains:
* MSVC "warning C####:" form (e.g. C4750 from Eigenvalues/
Tridiagonalization.h, 'function with _alloca() inlined into a
loop') -- the existing 'warning:' regex requires a literal colon
directly after 'warning', which MSVC's 'warning C4750:' format
does not satisfy.
* GCC continuation 'note:' lines from Eigen paths. GCC IPA-CP
cloning at -O3 + C++20 + ubuntu-24.04 / GCC 13/14 (the toolchain
introduced by this PR's CI consolidation) produces -Wmaybe-
uninitialized false positives in Core/products/SelfadjointMatrixVector.h;
each warning is followed by a multi-line 'note: by argument N of
type ... declared here' continuation that some reporters count
separately.
Suppressing in CTestCustom rather than patching vendored Eigen
follows the project pattern set by be77e85 (the MSVC C4750 fix on the
eigen-5.0.1-update branch); patches to the third-party tree get
overwritten on every Eigen vendor sync, while CTestCustom belongs to
ITK and survives those syncs cleanly.1 parent 20cffb2 commit 5a29ced
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
135 | 159 | | |
136 | 160 | | |
137 | 161 | | |
| |||
0 commit comments