SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
51 stars 15 forks source link

build-cpp-msvc (Debug, latest) fails at the main branch #950

Closed lenaploetzke closed 4 months ago

lenaploetzke commented 4 months ago

Bug description

CI has been failing for two days because of a new version of msvc. The warning should be suppressed.

Version

Github (CI, Actions, etc.)

To reproduce

Run CI

Relevant log output

D:\a\memilio\memilio\cpp\build-win\_deps\spdlog-src\include\spdlog/fmt/bundled/format.h(490): error C2220: the following warning is treated as an error
D:\a\memilio\memilio\cpp\build-win\_deps\spdlog-src\include\spdlog/fmt/bundled/format.h(490): warning C4996: 'stdext::checked_array_iterator<T*>': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist