Project

General

Profile

Actions

Emulator Issues #13241

closed

Build failure on OpenBSD

Added by brad about 1 year ago. Updated about 1 year ago.

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

0%

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

Description

Trying to build the latest on OpenBSD I noticed after this commit (https://github.com/dolphin-emu/dolphin/commit/86c1f6e1e7e2abcc3f42e1182134e632b218b6d3#diff-2412d2b4c890831b9bf32569d0b9affc0688138008fc6264f2533703d15de40c) that it's not possible to build.

Source/Core/Common/Thread.cpp:203:43: error: member reference type 'stack_t' (aka 'sigaltstack') is not a pointer; did you mean to use '.'?
  stack_addr = reinterpret_cast<u8*>(stack->ss_sp) - stack->ss_size;
                                     ~~~~~^~
                                          .
Source/Core/Common/Thread.cpp:203:59: error: member reference type 'stack_t' (aka 'sigaltstack') is not a pointer; did you mean to use '.'?
  stack_addr = reinterpret_cast<u8*>(stack->ss_sp) - stack->ss_size;
                                                     ~~~~~^~
                                                          .
Source/Core/Common/Thread.cpp:204:21: error: member reference type 'stack_t' (aka 'sigaltstack') is not a pointer; did you mean to use '.'?
  stack_size = stack->ss_size;
               ~~~~~^~
                    .
3 errors generated.
Actions

Also available in: Atom PDF