-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
In
Lines 633 to 640 in 756acd0
| #if NODE_USE_V8_WASM_TRAP_HANDLER | |
| #if defined(_WIN32) | |
| { | |
| constexpr ULONG first = TRUE; | |
| per_process::old_vectored_exception_handler = | |
| AddVectoredExceptionHandler(first, TrapWebAssemblyOrContinue); | |
| } | |
| #else |
The problem is that this code is inside a
#ifdef __POSIX__ section:Line 553 in 756acd0
| #ifdef __POSIX__ |
This seems to be unexpected dead code for Windows.
I found this from a compiler warning: src\node.cc(428,13): warning : unused function 'TrapWebAssemblyOrContinue' [-Wunused-function] [D:\Git\nodejs\node\libnode.vcxproj]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.