[Webkit-unassigned] [Bug 255504] New: [Clang][Win][JSC] dfg/DFGJITCode.h(163, 18): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 16 22:36:58 PDT 2023


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

            Bug ID: 255504
           Summary: [Clang][Win][JSC] dfg/DFGJITCode.h(163,18): warning:
                    unqualified friend declaration referring to type
                    outside of the nearest enclosing namespace is a
                    Microsoft extension
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[Clang][Win][JSC] dfg/DFGJITCode.h(163,18): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension

clang-cl reports the following 2 warnings.

[1235/6540] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\__\__\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-11.cpp.obj
In file included from C:\home\webkit\gc\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-11.cpp:2:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\bytecode/Repatch.cpp:34:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\dfg\DFGSpeculativeJIT.h:31:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\dfg/DFGAbstractInterpreter.h:31:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\dfg/DFGGraph.h:37:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\dfg/DFGPlan.h:35:
C:\home\webkit\gc\Source\JavaScriptCore\dfg/DFGJITCode.h(163,18): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier [-Wmicrosoft-unqualified-friend]
    friend class LLIntOffsetsExtractor;
                 ^
                 ::JSC::
In file included from C:\home\webkit\gc\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-11.cpp:2:
In file included from C:\home\webkit\gc\Source\JavaScriptCore\bytecode/Repatch.cpp:34:
C:\home\webkit\gc\Source\JavaScriptCore\dfg\DFGSpeculativeJIT.h(1032,5): warning: non-void function does not return a value [-Wreturn-type]
    }
    ^
2 warnings generated.

-- 
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/20230417/206360b9/attachment.htm>


More information about the webkit-unassigned mailing list