Skip to content

Conversation

@chef-wally
Copy link

Build issue due to security patch (https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2/)

TODO - Resolve Warnings:

C:\memoryjs\lib\functions.h(65,26): warning C4311: 'type cast': pointer truncation from 'LPVOID' to 'int' [C:\memoryjs\build\memoryjs.vcxproj]
  (compiling source file '../lib/memoryjs.cc')
  C:\memoryjs\lib\functions.h(65,26):
  the template instantiation context (the oldest one first) is
        C:\memoryjs\lib\memoryjs.cc(949,26):
        see reference to function template instantiation 'Call functions::call<int>(HANDLE,std::vector<functions::Arg,std::allocator<functions::Arg>>,functions::Type,DWORD64,const char **)' being compiled

C:\memoryjs\lib\functions.h(65,26): warning C4302: 'type cast': truncation from 'LPVOID' to 'int' [C:\memoryjs\build\memoryjs.vcxproj]
  (compiling source file '../lib/memoryjs.cc')

C:\memoryjs\lib\functions.h(116,24): warning C4311: 'type cast': pointer truncation from 'LPVOID' to 'DWORD' [C:\memoryjs\build\memoryjs.vcxproj]
  (compiling source file '../lib/memoryjs.cc')

C:\memoryjs\lib\functions.h(116,24): warning C4302: 'type cast': truncation from 'LPVOID' to 'DWORD' [C:\memoryjs\build\memoryjs.vcxproj]
  (compiling source file '../lib/memoryjs.cc')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant