nlohmann / json

JSON for Modern C++
https://json.nlohmann.me
MIT License
41.25k stars 6.57k forks source link

VS 2022 latest version on win 10 latest version don't compile any recent version of JSON... #4386

Open ArnaudNRoses opened 1 month ago

ArnaudNRoses commented 1 month ago

Description

VS 2022 latest version on win 10 latest version don't compile any recent version of JSON ( I'm a recent user of this classes ) Sans titre

Reproduction steps

Don't compile...

Expected vs. actual results

Don't compile... error number on image sent

Minimal code example

Don't compile...

Error messages

look image sent...

Compiler and operating system

VS 2022 latest version win 10 latest version

Library version

3.11.x

Validation

ArnaudNRoses commented 1 month ago

It's Compile if I comment the line in question.... I can use this librairy so.... (I don't use serialisation/deserialiation)

ArnaudNRoses commented 4 weeks ago

It's because of the option /sdl of MSVC I think....