Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

patch libssh2 to work with vs2015#1125

Merged
maxkorp merged 1 commit intomasternodegit/nodegit:masterfrom
patch-libssh2-vs2015nodegit/nodegit:patch-libssh2-vs2015Copy head branch name to clipboard
Sep 14, 2016
Merged

patch libssh2 to work with vs2015#1125
maxkorp merged 1 commit intomasternodegit/nodegit:masterfrom
patch-libssh2-vs2015nodegit/nodegit:patch-libssh2-vs2015Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.