Project

General

Profile

Actions

Emulator Issues #11047

closed

Compilation problems in Fedora 28 / GCC 8 / C++17

Added by lucag_73 almost 6 years ago. Updated about 5 years ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Hello,
I have found some compilation issues on Fedora 28

  1. the function _xgetbv(u32 index) is now defined in a system header file; I had to disable the inclusion of such file with a
    #define _XSAVEINTRIN_H_INCLUDED
    in Source/Core/Common/x64CPUDetect.cpp
  2. there is some incompatibility between the way c++17 is implemented by gcc 8 and what is in Source/Core/DiscIO/VolumeGC.cpp
    I had to force -std=c++14 in order to complete compilation

With these two changes I managed to get a runnable version of dolphin (6e62d1ab9f70bffef612d1c6c6bcfbc2958af2a6), however I understand that the code should get somehow fixed.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #11021: Dolphin does not compile with gcc-8Duplicate

Actions
Actions

Also available in: Atom PDF