Search code examples
c++visual-studiospdlogfmt

4 same unhelpful errors for every error I receive in c++


I am using spdlog, opengl, glad, and glfw in my project. No matter what error I am receiving, it is ALWAYS preceded by the 4 same errors. For example, let's say I have the following code:

std::cout << "sup";

then it will run perfectly. Okay now, let's say I have a typo and I do this:

std:cout<< "sup";

I get the following errors:

enter image description here

Here are the first 2 errors.. they redirect to FMT core.h file

enter image description here

and then the last two redirect to FMT format.h

enter image description here

Does anyone know why this could be happening? it is not made or break, whenever I have an error and I fix it these go away but it's just annoying and I would like to understand why.


Solution

  • It looks as though this PR will fix your issue? https://github.com/fmtlib/fmt/pull/1279 Maybe just update fmt to the latest version?