[Webkit-unassigned] [Bug 188996] Add IGNORE_WARNING_.* macros

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 28 09:25:21 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188996

Alex Christensen <achristensen at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |achristensen at apple.com

--- Comment #9 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 348296
  --> https://bugs.webkit.org/attachment.cgi?id=348296
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=348296&action=review

I like this.

> Source/WTF/wtf/Compiler.h:454
> +#define IGNORE_WARNING_GCC_OR_CLANG(warning) do { IGNORE_WARNING_IMPL(GCC, warning) } while (false)
> +#define IGNORE_WARNING_GCC_OR_CLANG_END(warning) do { IGNORE_WARNING_END_IMPL(GCC, warning) } while (false)
> +#define IGNORE_WARNING_GCC_OR_CLANG_TOP_LEVEL(warning) IGNORE_WARNING_IMPL(GCC, warning)
> +#define IGNORE_WARNING_GCC_OR_CLANG_TOP_LEVEL_END(warning) IGNORE_WARNING_END_IMPL(GCC, warning)

I think it would be much nicer if we just had two macros:
IGNORE_WARNING_BEGIN
IGNORE_WARNING_END

-- 
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/20180828/89c1fd8f/attachment.html>


More information about the webkit-unassigned mailing list