[Webkit-unassigned] [Bug 162718] New: Clang 3.9 reports a compilation warning about ENABLE_EXCEPTION_SCOPE_VERIFICATION

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 23:24:23 PDT 2016


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

            Bug ID: 162718
           Summary: Clang 3.9 reports a compilation warning about
                    ENABLE_EXCEPTION_SCOPE_VERIFICATION
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

Clang 3.9 have introduced a new compilation warning.

  https://reviews.llvm.org/D15866
  http://llvm.org/viewvc/llvm-project?view=revision&revision=258128

> ../../Source/JavaScriptCore/runtime/VM.h:656:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
> #if ENABLE(EXCEPTION_SCOPE_VERIFICATION)
>     ^
> ../../Source/WTF/wtf/Platform.h:56:63: note: expanded from macro 'ENABLE'
> #define ENABLE(WTF_FEATURE) (defined ENABLE_##WTF_FEATURE  && ENABLE_##WTF_FEATURE)
>                                                               ^
> <scratch space>:26:1: note: expanded from here
> ENABLE_EXCEPTION_SCOPE_VERIFICATION
> ^
> ../../Source/WTF/wtf/Platform.h:899:47: note: expanded from macro 'ENABLE_EXCEPTION_SCOPE_VERIFICATION'
> #define ENABLE_EXCEPTION_SCOPE_VERIFICATION (!defined(NDEBUG))
>                                               ^
> In file included from ../../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
> In file included from ../../Source/JavaScriptCore/bytecode/ArrayProfile.h:29:
> In file included from ../../Source/JavaScriptCore/runtime/JSArray.h:24:
> In file included from ../../Source/JavaScriptCore/runtime/ButterflyInlines.h:28:
> In file included from ../../Source/JavaScriptCore/runtime/ArrayStorage.h:33:
> In file included from ../../Source/JavaScriptCore/runtime/Structure.h:28:
> In file included from ../../Source/JavaScriptCore/runtime/ClassInfo.h:25:
> In file included from ../../Source/JavaScriptCore/interpreter/CallFrame.h:29:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160929/274aec66/attachment.html>


More information about the webkit-unassigned mailing list