Replies: 3 comments
-
|
What is the exact error message? |
Beta Was this translation helpful? Give feedback.
-
|
Severity Code Description Project File Line Suppression State json.hpp [20597] |
Beta Was this translation helpful? Give feedback.
-
|
I compiled the project in VS2022 to test it, and it doesn't fail. The problem is either the compiler or the Boost version. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In this simple example, which uses Boost to manage logging, if I add <nlohmann\json.hpp> as shown in the example, it triggers a C1001 compilation error.
Just by changing the json.hpp include line to the first one, the error goes away, but I can't figure out why. However, switching to that first line isn't a valid solution for me, since this is just a simplified example from a larger project where I was modifying the logging system.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions