Skip to content

Commit 105816d

Browse files
950 build cpp msvc debug latest fails at the main branch (#951)
Co-authored-by: reneSchm <[email protected]>
1 parent 058b3cc commit 105816d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cpp/memilio/utils/logging.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
#endif
2828

2929
#include "memilio/utils/compiler_diagnostics.h"
30+
31+
// C4996: Some stdext functions used in spdlog 1.11 are marked as deprecated in version 19.38.33135.0 of MSVC. Maybe a future version of spdlog will fix this.
32+
MSVC_WARNING_DISABLE_PUSH(4996)
3033
#include <spdlog/spdlog.h>
34+
MSVC_WARNING_POP()
3135

3236
namespace mio
3337
{

0 commit comments

Comments
 (0)