https://bugs.winehq.org/show_bug.cgi?id=54138
Bug ID: 54138 Summary: wine/debug.h does not compile in Visual Studio with native headers due to undefined __has_attribute Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com Distribution: ---
wine/debug.h does not compile in Visual Studio with native headers due to undefined __has_attribute.
Other headers in Wine that use __has_attribute have below code. Probably this or something similar needed in debug.h as well.
#ifndef __has_attribute #define __has_attribute(x) 0 #endif
https://bugs.winehq.org/show_bug.cgi?id=54138
Dmitry Kislyuk dimaki@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |x86 OS|Linux |Windows Regression SHA1| |849e521dbaf04ffc55b4df17d56 | |b6e09dfa23252
https://bugs.winehq.org/show_bug.cgi?id=54138
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Do those changes make it work? Are you going to create a MR for that?