Closed mhdawson closed 1 month ago
@vmoroz will take a look.
@mhdawson , the code uses std::allocator
methods construct
and destroy
. They were deprecated in in C++17 and removed in C++20. See https://en.cppreference.com/w/cpp/memory/allocator/construct, https://en.cppreference.com/w/cpp/memory/allocator/destroy.
I will send a PR that fixes it.
Is this fixed by #1492?
We took a look at the CI runs in the meeting today and its fixed. Many thanks @vmoroz
I was just adding 23 to the matrix and noticed we should have added testing with VS2022 a while ago.
Seems like there are some failures - https://ci.nodejs.org/job/node-test-node-addon-api-new/nodes=win-vs2022/8773/