<?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>262713</bug_id>
          
          <creation_ts>2023-10-05 11:56:33 -0700</creation_ts>
          <short_desc>REGRESSION(268913@main) clang requires std namespace for nullptr_t</short_desc>
          <delta_ts>2023-10-05 17:26:22 -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 Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262678</see_also>
          <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="Lauro Moura">lmoura</reporter>
          <assigned_to name="Lauro Moura">lmoura</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1982912</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2023-10-05 11:56:33 -0700</bug_when>
    <thetext>SSIA

Example: https://godbolt.org/z/dz75q7h6T

Patch incoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982914</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2023-10-05 11:57:31 -0700</bug_when>
    <thetext>Sample error message in WPE build (for reference)

In file included from /app/webkit/Source/WTF/wtf/NativePromise.cpp:27:
/app/webkit/Source/WTF/wtf/NativePromise.h:892:78: error: use of undeclared identifier &apos;nullptr_t&apos;; did you mean &apos;std::nullptr_t&apos;?
                    return invokeWithVoidOrWithArg(WTFMove(resolveFunction), nullptr_t());
                                                                             ^
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:302:29: note: &apos;std::nullptr_t&apos; declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
In file included from /app/webkit/Source/WTF/wtf/NativePromise.cpp:27:
/app/webkit/Source/WTF/wtf/NativePromise.h:913:82: error: use of undeclared identifier &apos;nullptr_t&apos;; did you mean &apos;std::nullptr_t&apos;?
                    return invokeWithVoidOrWithArg(thisVal.get(), resolveMethod, nullptr_t());
                                                                                 ^
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:302:29: note: &apos;std::nullptr_t&apos; declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
2 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982917</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2023-10-05 12:03:11 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18708</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983041</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-05 17:25:50 -0700</bug_when>
    <thetext>Committed 268954@main (e8659754092e): &lt;https://commits.webkit.org/268954@main&gt;

Reviewed commits have been landed. Closing PR #18708 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983042</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-05 17:26:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/116551780&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>