Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency versions, fix build issue and type mismatch errors #120

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

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