You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::format("hello {}", "world") is not available before 13.3, and we support 11. Is there any reason not to update minimum macOS version in the next major?
macOS 11 release date -> 2020
macOS 13 release date -> 2022
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:73:32: error: 'to_chars' is unavailable: introduced in macOS 13.3
to_chars_result __r = _VSTD::to_chars(__first, __last, __value, __fmt, __precision);
../../src/node_file.cc:2159:25: note: in instantiation of function template specialization 'std::format<char *>' requested here
auto message = std::format("src and dest cannot be the same %s", src.out());
For me as a non-macOS user, is this about the macOS system version or about the compiler/toolchain version? And if it's the system version, is it only about the build environment or about the target environment?
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
Activity
tniessen commentedon Jun 23, 2024
For me as a non-macOS user, is this about the macOS system version or about the compiler/toolchain version? And if it's the system version, is it only about the build environment or about the target environment?
richardlau commentedon Jun 23, 2024
Semi-related Build WG issue tracking macOS CI resources: nodejs/build#3686
anonrig commentedon Jun 29, 2024
I feel like it is a build environment requirement. How can I verify? @tniessen
targos commentedon Jun 30, 2024
Try to change:
node/common.gypi
Line 623 in dcebac8
github-actions commentedon May 8, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.