-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MSVC][/std:c++latest] Ppsspp failed to build with msvc due to error C2679, error C2665 on Windows #16324
Comments
Seems like another one where it's building with a too old C++ standard, for some reason? |
Well, I guess maybe std:c++latest would use c++20? This seems to be a tinyformat issue (dependency of armips), so two layers of indirection from ppsspp itself. -[Unknown] |
@Kingcom just fyi |
Or maybe only an old version of MSVC is installed, so latest isn't actually that new? |
Well, the build log says Visual Studio 2019. It also says -[Unknown] |
All of the errors seem to be about |
Ah, this only happens if Either way, C++20 is not the most backwards compatible of standards, is there any reason for not sticking to what ppsspp defines? |
Game or games this happens in
None
What area of the game / PPSSPP
Hi all,
PPsspp fails to build on MSVC due to error C2665, error C2679. Could you help look?
we use commit is b42f6d7.
Repro steps
error info
F:\gitP\hrydgard\ppsspp\ext\armips\ext\tinyformat\tinyformat.h(342,9): error C2679: binary '<<': no operator found which takes a right-hand operand of type 'const T' (or there is no acceptable conversion) [F:\gitP\hrydgard\ppsspp\ext\libarmips.vcxproj]
F:\gitP\hrydgard\ppsspp\ext\armips\Core\Common.cpp(53,9): error C2665: 'std::basic_string<char,std::char_traits,std::allocator>::basic_string': no overloaded function could convert all the argument types [F:\gitP\hrydgard\ppsspp\ext\libarmips.vcxproj]
What should happen
Build successfully
Logs
build.log
Platform
Windows
Mobile phone model or graphics card
None
PPSSPP version affected
None
Last working version
None
Graphics backend (3D API)
Other
Checklist
The text was updated successfully, but these errors were encountered: