[Webkit-unassigned] [Bug 240358] New: -Wattributes warnings from AtomString.cpp and WTFString.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 13:23:10 PDT 2022


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

            Bug ID: 240358
           Summary: -Wattributes warnings from AtomString.cpp and
                    WTFString.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org

https://github.com/WebKit/WebKit/pull/474 introduced some new build warnings:

[109/2539] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/AtomString.cpp.o
/home/mcatanzaro/Projects/WebKit/Source/WTF/wtf/text/AtomString.cpp:35:43: warning: ‘visibility’ attribute ignored [-Wattributes]
   35 | WTF_EXPORT_PRIVATE const StaticAtomString nullAtomData { nullptr };
      |                                           ^~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/WTF/wtf/text/AtomString.cpp:36:43: warning: ‘visibility’ attribute ignored [-Wattributes]
   36 | WTF_EXPORT_PRIVATE const StaticAtomString emptyAtomData { &StringImpl::s_emptyAtomString };
      |                                           ^~~~~~~~~~~~~
[144/2539] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/WTFString.cpp.o
/home/mcatanzaro/Projects/WebKit/Source/WTF/wtf/text/WTFString.cpp:638:39: warning: ‘visibility’ attribute ignored [-Wattributes]
  638 | WTF_EXPORT_PRIVATE const StaticString nullStringData { nullptr };
      |                                       ^~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/WTF/wtf/text/WTFString.cpp:639:39: warning: ‘visibility’ attribute ignored [-Wattributes]
  639 | WTF_EXPORT_PRIVATE const StaticString emptyStringData { &StringImpl::s_emptyAtomString };
      |                                       ^~~~~~~~~~~~~~~

-- 
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/20220512/ae043745/attachment.htm>


More information about the webkit-unassigned mailing list