Project

General

Profile

Actions

Emulator Issues #12086

closed

Dolphin fails to build on MSVC 14.26

Added by filoppi almost 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
Yes
Regression start:
Fixed in:
5.0-12462

Description

Dolphin fails to build on Visual Studio 2019 16.6.0 with it's default MSVC version. Still, it's possible to download and force building with MSVC 14.25, which works.
The problem seems to mainly be the removal of std::result_of and std::result_of_t, which is used by Dolphin itself and Qt 5.14.1 (already fixed in 5.14.2). I didn't check all the errors as there were hundreds, but it seemed like that was the only one.

The MSVC team already opened a bug on this (https://bugs.dolphin-emu.org/issues/11970), but they only had problems with fmt; I really don't understand how they did not have problems with all the other cases of std::result_of around the project. I've tried to add the preprocessor definitions they specified but it still didn't build.

Actions

Also available in: Atom PDF