16 Sep
2024
16 Sep
'24
11:30 a.m.
On Mon Sep 16 11:02:46 2024 +0000, Rémi Bernon wrote:
Several of the DECLSPEC definitions also have additional conditions like _MSC_VER >= x, how would we handle these? Something like: ``` # if __has_declspec_attribute(noreturn) && (!defined(_MSC_VER) || (_MSC_VER >= 1200)) && !defined(MIDL_PASS) ``` Only looks worse. In this case, using `__attribute__((noreturn))` should be just fine, so I don't think we need to change that at all.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6502#note_82275