<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197911</bug_id>
          
          <creation_ts>2019-05-15 03:14:03 -0700</creation_ts>
          <short_desc>compilation failure with clang 9</short_desc>
          <delta_ts>2019-05-15 14:41:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Víctor M. Jáquez L.">vjaquez</reporter>
          <assigned_to name="Víctor M. Jáquez L.">vjaquez</assigned_to>
          <cc>achristensen</cc>
    
    <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>keith_miller</cc>
    
    <cc>kenwong20052006</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ross.kirsling</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1536395</commentid>
    <comment_count>0</comment_count>
    <who name="Víctor M. Jáquez L.">vjaquez</who>
    <bug_when>2019-05-15 03:14:03 -0700</bug_when>
    <thetext>While compiling webkit&apos;s master with clang, either 6 or 9 I got this error

[3/864] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/MetaAllocator.cpp.o
FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/MetaAllocator.cpp.o 
/usr/bin/clang++-9  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -I/opt/webkit/WebKit/Source/bmalloc -I. -IDerivedSources -I/opt/webkit/WebKit/Source/ThirdParty -IDerivedSources/WTF -I/opt/webkit/WebKit/Source/WTF -I/opt/webkit/WebKit/Source/WTF/wtf -I/opt/webkit/WebKit/Source/WTF/wtf/dtoa -I/opt/webkit/WebKit/Source/WTF/wtf/persistence -I/opt/webkit/WebKit/Source/WTF/wtf/text -I/opt/webkit/WebKit/Source/WTF/wtf/text/icu -I/opt/webkit/WebKit/Source/WTF/wtf/threads -I/opt/webkit/WebKit/Source/WTF/wtf/unicode -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/uuid -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wno-parentheses-equality -Wno-noexcept-type -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -ggdb -std=c++17 -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -gsplit-dwarf -g -fPIC -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/MetaAllocator.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/MetaAllocator.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/MetaAllocator.cpp.o -c /opt/webkit/WebKit/Source/WTF/wtf/MetaAllocator.cpp
In file included from /opt/webkit/WebKit/Source/WTF/wtf/MetaAllocator.cpp:30:
In file included from /opt/webkit/WebKit/Source/WTF/wtf/MetaAllocator.h:34:
In file included from /opt/webkit/WebKit/Source/WTF/wtf/MetaAllocatorHandle.h:32:
In file included from /opt/webkit/WebKit/Source/WTF/wtf/MetaAllocatorPtr.h:29:
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:431:23: error: use of undeclared identifier &apos;nullptr_t&apos;; did you mean &apos;nullptr&apos;?
inline T* tagArrayPtr(nullptr_t, size_t size)
                      ^~~~~~~~~
                      nullptr
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:431:34: error: unexpected type name &apos;size_t&apos;: expected expression
inline T* tagArrayPtr(nullptr_t, size_t size)
                                 ^
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:431:46: error: expected &apos;;&apos; at end of declaration
inline T* tagArrayPtr(nullptr_t, size_t size)
                                             ^
                                             ;
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:432:1: error: expected unqualified-id
{
^
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:438:11: error: redefinition of &apos;tagArrayPtr&apos; as different kind of symbol
inline T* tagArrayPtr(T* ptr, size_t)
          ^
/opt/webkit/WebKit/Source/WTF/wtf/PtrTag.h:431:11: note: previous definition is here
inline T* tagArrayPtr(nullptr_t, size_t size)
          ^
5 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536396</commentid>
    <comment_count>1</comment_count>
      <attachid>369943</attachid>
    <who name="Víctor M. Jáquez L.">vjaquez</who>
    <bug_when>2019-05-15 03:21:10 -0700</bug_when>
    <thetext>Created attachment 369943
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536426</commentid>
    <comment_count>2</comment_count>
      <attachid>369943</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-05-15 08:13:08 -0700</bug_when>
    <thetext>Comment on attachment 369943
Patch

Clearing flags on attachment: 369943

Committed r245325: &lt;https://trac.webkit.org/changeset/245325&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536427</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-05-15 08:13:09 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536428</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-05-15 08:14:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/50810987&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536604</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-05-15 14:41:16 -0700</bug_when>
    <thetext>*** Bug 197907 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>369943</attachid>
            <date>2019-05-15 03:21:10 -0700</date>
            <delta_ts>2019-05-15 08:13:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-197911-20190515122120.patch</filename>
            <type>text/plain</type>
            <size>1537</size>
            <attacher name="Víctor M. Jáquez L.">vjaquez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ1MzIwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV1RGL0NoYW5n
ZUxvZyBiL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCmluZGV4IDZiYzYwYWE3ZTRiZjc0YWEyNzU0NjFj
NGFjMTg1Y2FhNGQ5ODI2MDEuLjQ3ODU4NTc0MWE5MDYzMzY2MDU2ZGRjYTFjZGQyYmQ3NzZhYTQz
NTUgMTAwNjQ0Ci0tLSBhL1NvdXJjZ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