-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Open
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.icuIssues and PRs related to the ICU dependency.Issues and PRs related to the ICU dependency.
Description
Version
Node.js v22.4.1.
Platform
Linux dev 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
I just change the std=gnu++xxxx
IN cc_flags
to std=gnu++23
. others same as default
then:
$ ./configure
$ make -j12
------------
../deps/icu-small/source/common/unicode/char16ptr.h:222:53: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
222 | ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {}
How often does it reproduce? Is there a required condition?
always.
What is the expected behavior? Why is that the expected behavior?
no warning
What do you see instead?
../deps/icu-small/source/common/unicode/char16ptr.h:222:53: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
222 | ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p_(p) {}
Additional information
No response
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.icuIssues and PRs related to the ICU dependency.Issues and PRs related to the ICU dependency.