Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
ArnaudNRoses opened this issue Jun 2, 2024 · 3 comments
Labels
kind: bug platform: visual studio related to MSVC state: needs more info the author of the issue needs to provide more details

Comments

@ArnaudNRoses
Copy link

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
Copy link
Author

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

@ArnaudNRoses
Copy link
Author

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

@chund chund mentioned this issue Jan 10, 2025
2 tasks
@gregmarr
Copy link
Contributor

@ArnaudNRoses If this is still happening, please provide the full compiler output and the code resulting in the error. Since this is a template error, the entry from the error list isn't sufficient to diagnose the error, and it probably has to do with the types being passed to the function.

@nlohmann nlohmann added platform: visual studio related to MSVC state: needs more info the author of the issue needs to provide more details labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug platform: visual studio related to MSVC state: needs more info the author of the issue needs to provide more details
Projects
None yet
Development

No branches or pull requests

3 participants