commit | f54d28a838ca7d4efbbd0155c4f61c287ae2b9cb | [log] [tgz] |
---|---|---|
author | Harry Mallon <hjmallon@gmail.com> | Fri Nov 23 15:36:24 2018 +0000 |
committer | Brad King <brad.king@kitware.com> | Mon Nov 26 13:42:50 2018 -0500 |
tree | 74d9bbc1fa19c0d9c2ce4ea54e867ecf5bd622be | |
parent | 05a2ca7f87b9ae73f373e9967fde1ee5210e33af [diff] |
VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0 Move the filter added by commit v3.13.0-rc1~72^2~2 (VS: Do not select a Windows SDK too high for current VS version, 2017-08-07, committed 2018-09-17) to before our check that the remaining list is empty. Otherwise we crash when dereferencing the first entry of an empty vector. Also add a comment explaining where 10.0.14393.0 came from. Fixes: #18633