Skip to content

"forcing MSVC stacktrace to show which T we're talking about." error #980

Description

@dmozek

Hello, I am a beginner at c++ and get this error message, when I try to run my code:

Error C2338 forcing MSVC stacktrace to show which T we're talking about. ConsoleRPG c:...\nlohmann\json.hpp 1207
Error C2065 "force_msvc_stacktrace": undeclared identifier ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2039 "force_msvc_stacktrace": is not a member of "Item" ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2338 could not find from_json() method in T's namespace ConsoleRPG c:...\nlohmann\json.hpp 1202

I already read this thread: #929

I could still not locate the error.

The only thing I assign to json values is like this:
nlohmann::json itemJ = json::parse("string")
or having them as parameters in functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions