[Webkit-unassigned] [Bug 262713] REGRESSION(268913 at main) clang requires std namespace for nullptr_t

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 5 11:57:31 PDT 2023


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

--- Comment #1 from Lauro Moura <lmoura at igalia.com> ---
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 'nullptr_t'; did you mean 'std::nullptr_t'?
                    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: 'std::nullptr_t' 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 'nullptr_t'; did you mean 'std::nullptr_t'?
                    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: 'std::nullptr_t' declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
2 errors 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/20231005/2b0fc6ab/attachment.htm>


More information about the webkit-unassigned mailing list