• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ item.cpp problem after add new commit

Jpstafe

Well-Known Member
Joined
Aug 8, 2011
Messages
507
Reaction score
67
after add this commit into nekiro 9.0 server i receive this error. I'm stuck please help
Lua:
>C:\Users\jpstafe\Documents\GitHub\Nekiro-2.0\src\item.cpp(1330,28): error C2039: "setfill": no es un miembro de "std"
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\bitset(22): message : vea la declaración de 'std'
1>C:\Users\jpstafe\Documents\GitHub\Nekiro-2.0\src\item.cpp(1330,35): error C3861: 'setfill': no se encontró el identificador
1>C:\Users\jpstafe\Documents\GitHub\Nekiro-2.0\src\item.cpp(1330,49): error C2039: "setw": no es un miembro de "std"
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\bitset(22): message : vea la declaración de 'std'
1>C:\Users\jpstafe\Documents\GitHub\Nekiro-2.0\src\item.cpp(1330,53): error C3861: 'setw': no se encontró el identificador
this is my item.cpp
 
std::setfill is being used on line 1130 on your code, it is defined on <iomani>. It is included on your code but it is commented on line 45.

By the way, what is nekiro 9.0 server?

Hint:
You can go to diff view on github, it is easier to view the error. Check the image below for an example:

1677589603214.png
This way you gonna see what you inserted and look for it. It is useful when a single commit brokes the code (thats why adding small and similar context context commits are important)
 
Back
Top