[Bug 51919] New: New sal.h macros break libstdc++ includes in wineg++
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Oct 23 13:09:41 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51919
Bug ID: 51919
Summary: New sal.h macros break libstdc++ includes in wineg++
Product: Wine
Version: 6.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winelib
Assignee: wine-bugs at winehq.org
Reporter: mail at robbertvanderhelm.nl
Distribution: ---
https://github.com/wine-mirror/wine/commit/dfdf56fbe47f8ff50ebe533e6d73f2de6546f008
added a bunch of new (empty) macros. These macros include definitions for __in
and __out. These names are used often for function arguments in libstdc++,
whose
headers now no longer compile under Wine 6.20's wineg++ after including
windows.h. A minimal example of the problem is this:
#include <windows.h>
#include <algorithm>
int main(int argc, char *argv[]) { return 0; }
Compiling the above with `wineg++ --std=c++20 <filename>.cpp` with GCC 11.1 now
results in 977 lines of compiler errors.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list