Title: Use of deprecated C++ API in src · Issue #62506 · nodejs/node · GitHub
Open Graph Title: Use of deprecated C++ API in src · Issue #62506 · nodejs/node
X Title: Use of deprecated C++ API in src · Issue #62506 · nodejs/node
Description: In file included from ../../test/cctest/test_util.cc:1: In file included from ../../src/debug_utils-inl.h:6: In file included from ../../src/debug_utils.h:6: In file included from ../../src/async_wrap.h:27: In file included from ../../sr...
Open Graph Description: In file included from ../../test/cctest/test_util.cc:1: In file included from ../../src/debug_utils-inl.h:6: In file included from ../../src/debug_utils.h:6: In file included from ../../src/async_w...
X Description: In file included from ../../test/cctest/test_util.cc:1: In file included from ../../src/debug_utils-inl.h:6: In file included from ../../src/debug_utils.h:6: In file included from ../../src/async_w...
Opengraph URL: https://github.com/nodejs/node/issues/62506
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use of deprecated C++ API in src","articleBody":"```\nIn file included from ../../test/cctest/test_util.cc:1:\nIn file included from ../../src/debug_utils-inl.h:6:\nIn file included from ../../src/debug_utils.h:6:\nIn file included from ../../src/async_wrap.h:27:\nIn file included from ../../src/base_object.h:29:\nIn file included from ../../src/memory_tracker.h:5:\nIn file included from ../../deps/v8/include/v8-profiler.h:10:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:950:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/inout_ptr.h:16:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:22:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/ostream.h:13:\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string.h:45:41: warning: 'char_traits\u003cunsigned char\u003e' is deprecated: char_traits\u003cT\u003e for T not equ\nal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in a future release, so please migrate off of it. [-Wdeprecated-declarations]\n 45 | template \u003cclass _CharT, class _Traits = char_traits\u003c_CharT\u003e, class _Allocator = allocator\u003c_CharT\u003e \u003e\n | ^\n../../src/util.h:506:15: note: in instantiation of default argument for 'basic_string\u003cunsigned char\u003e' required here\n 506 | inline std::basic_string\u003cT\u003e ToString() const { return {out(), length()}; }\n | ^~~~~~~~~~~~~~~\n../../test/cctest/test_util.cc:229:37: note: in instantiation of template class 'node::MaybeStackBuffer\u003cunsigned char\u003e' requested here\n 229 | MaybeStackBuffer\u003cunsigned char\u003e buf(100);\n | ^\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string.h:24:8: note: 'char_traits\u003cunsigned char\u003e' has been explicitly marked deprecated here\n 24 | struct _LIBCPP_DEPRECATED_(\n | ^\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:555:53: note: expanded from macro '_LIBCPP_DEPRECATED_'\n 555 | # define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))\n | ^\nIn file included from ../../test/cctest/test_util.cc:1:\nIn file included from ../../src/debug_utils-inl.h:6:\nIn file included from ../../src/debug_utils.h:6:\nIn file included from ../../src/async_wrap.h:27:\nIn file included from ../../src/base_object.h:29:\nIn file included from ../../src/memory_tracker.h:5:\nIn file included from ../../deps/v8/include/v8-profiler.h:11:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_set:1846:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:601:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:363:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/locale:197:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:28:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:654:\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:221:\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits\u003cunsigned char\u003e' is deprecated: char_traits\u003cT\u003e for T no\nt equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in a future release, so please migrate off of it. [-Wdeprecated-declarations]\n 22 | template \u003cclass _CharT, class _Traits = char_traits\u003c_CharT\u003e \u003e\n | ^\n../../src/util.h:507:15: note: in instantiation of default argument for 'basic_string_view\u003cunsigned char\u003e' required here\n 507 | inline std::basic_string_view\u003cT\u003e ToStringView() const {\n | ^~~~~~~~~~~~~~~~~~~~\n../../test/cctest/test_util.cc:229:37: note: in instantiation of template class 'node::MaybeStackBuffer\u003cunsigned char\u003e' requested here\n 229 | MaybeStackBuffer\u003cunsigned char\u003e buf(100);\n | ^\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string.h:24:8: note: 'char_traits\u003cunsigned char\u003e' has been explicitly marked deprecated here\n 24 | struct _LIBCPP_DEPRECATED_(\n | ^\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:555:53: note: expanded from macro '_LIBCPP_DEPRECATED_'\n 555 | # define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))\n |\n```","author":{"url":"https://github.com/targos","@type":"Person","name":"targos"},"datePublished":"2026-03-30T12:15:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/62506/node/issues/62506"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:749e21b2-3cfa-fb24-8ad6-431e48382d3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97D8:20AD09:13C94C5:1B8A0B8:6A4CADA4 |
| html-safe-nonce | 2d92dcd33a1488bfba2e7a84712cf4264890c9d2013e9ebe3178b62204b1594d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0Q4OjIwQUQwOToxM0M5NEM1OjFCOEEwQjg6NkE0Q0FEQTQiLCJ2aXNpdG9yX2lkIjoiNTg1NzAwMjk4NzI5ODAwODQ4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 169eb307c6f45a3da2d04d9fc0cd0a0e043079ed4aca1010f5668c5c7f26ebcb |
| hovercard-subject-tag | issue:4170254250 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62506/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e83d062569cebda93c373acb38c85eb975c053ffbe56f3723b93a8c297e549ef/nodejs/node/issues/62506 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e83d062569cebda93c373acb38c85eb975c053ffbe56f3723b93a8c297e549ef/nodejs/node/issues/62506 |
| og:image:alt | In file included from ../../test/cctest/test_util.cc:1: In file included from ../../src/debug_utils-inl.h:6: In file included from ../../src/debug_utils.h:6: In file included from ../../src/async_w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | targos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width