[Webkit-unassigned] [Bug 182479] [Win] Fix MSVC's treating __attribute__((warn_unused_result))

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 5 19:07:38 PST 2018


--- Comment #4 from Yousuke Kimoto <Yousuke.Kimoto at sony.com> ---
(In reply to Alex Christensen from comment #3)
> We usually try to put the positive first, so this would be #if COMPILER(MSVC)
> But you can't use COMPILER here because this header is part of the API. 
> Elsewhere in the API we've done #if defined(WIN32) || defined(_WIN32), but
> maybe we should check _MSC_VER instead for people using clang on windows.

Thank you for your advice. I'll fix it with the condition you suggested.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180206/2c72f768/attachment.html>

More information about the webkit-unassigned mailing list