Lopaskurwa
Active Member
- Joined
- Oct 6, 2017
- Messages
- 873
- Solutions
- 2
- Reaction score
- 49
Installing this comit
Error C2653 'fmt': is not a class or namespace name
Error C3861 'format': identifier not found
As far as i know this error happens because of this code line
reportErrorFunc(fmt::format("Not enough parameters: {:d}.", parameters));
tried replacing it with
reportErrorFunc(L, fmt::format("Not enough parameters: {:d}.", parameters));
but it didnt worked so basically this error happens because i dont have #include <fmt/format.h> but i have no access for it so i cant use it, so how could i rewrite the code so it would do the same function?
Fix crash when calling addEvent (#3361) · otland/forgottenserver@2b8bc10
* Small optimization: parameters is now a vector, simple because there was no reason to use std::list here + we call reserve now When addEvent is called, check if there is enough parameters(2), if...
github.com
Error C2653 'fmt': is not a class or namespace name
Error C3861 'format': identifier not found
As far as i know this error happens because of this code line
reportErrorFunc(fmt::format("Not enough parameters: {:d}.", parameters));
tried replacing it with
reportErrorFunc(L, fmt::format("Not enough parameters: {:d}.", parameters));
but it didnt worked so basically this error happens because i dont have #include <fmt/format.h> but i have no access for it so i cant use it, so how could i rewrite the code so it would do the same function?