8000 patch libssh2 to work with vs2015 by maxkorp · Pull Request #1125 · nodegit/nodegit · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@maxkorp
Copy link
Collaborator
@maxkorp maxkorp commented Sep 14, 2016

When building with the windows SDK for vs2015, the build would die due to some duplicate defines.

Found a variation of this patch on github.com/libssh2/libssh2 for libssh2 1.7, which we still need to update to, but for now this works.

@maxkorp maxkorp force-pushed the patch-libssh2-vs2015 branch from 5fe111a to f0b22df Compare September 14, 2016 21:13
@maxkorp maxkorp merged commit 5aeae9f into master Sep 14, 2016
@maxkorp maxkorp deleted the patch-libssh2-vs2015 branch September 14, 2016 22:53
@saper
Copy link
Collaborator
saper commented Sep 21, 2016

One important thing is that the C++ code should not be built with platformtoolset v140 (default vs2015 mode) until node itself switches over, when using vs2015 one should use platformtoolset v120, which is vs2013 compatibility. The vs2015 module may appear to work at first but it might start to fail in some obscure and non-obvious situations requiring runtime C++ support! like exception stack unwinding or thread local storage,

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.

2 participants

0