Commit e900270
committed
Replace #error with VLA-based test for MSVC failure
Remove the #error directive (wrong compilation unit for Windows).
Add test_wolfSSH_ServiceRequestValidation using a variable-length
array which GCC/Clang accept but MSVC rejects, ensuring the Windows
Jenkins job fails while Linux jobs pass.1 parent c86b633 commit e900270
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | 1105 | | |
1109 | 1106 | | |
1110 | 1107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1962 | 1962 | | |
1963 | 1963 | | |
1964 | 1964 | | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1965 | 1974 | | |
1966 | 1975 | | |
1967 | 1976 | | |
| |||
2004 | 2013 | | |
2005 | 2014 | | |
2006 | 2015 | | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
2007 | 2019 | | |
2008 | 2020 | | |
2009 | 2021 | | |
| |||
0 commit comments