Skip to content

Conversation

cosmosgenius
Copy link
Contributor

The declaration of the m variable not on top causes the build to fail on VS2010(C89), Window 7 x64.
Providing solution based on stackoverflow answer.

@TooTallNate
Copy link
Contributor

/cc @piscisaureus

@piscisaureus
Copy link
Contributor

lgtm, ship it

piscisaureus pushed a commit to nodejs/node that referenced this pull request May 19, 2015
This fixes building compiled addons with Visual Studio 2010.

PR-URL: nodejs/node-gyp#616
Reviewed-By: Bert Belder <[email protected]>
piscisaureus pushed a commit to nodejs/node that referenced this pull request May 19, 2015
This fixes building compiled addons with Visual Studio 2010.

PR-URL: nodejs/node-gyp#616
Reviewed-By: Bert Belder <[email protected]>
TooTallNate added a commit that referenced this pull request May 19, 2015
@TooTallNate TooTallNate merged commit 7ea00c9 into nodejs:master May 19, 2015
@kkoopa
Copy link

kkoopa commented May 19, 2015

Do note that io.js 2.0 will not build with VS 2010 at all due to V8 4.2.

iarna pushed a commit to npm/node that referenced this pull request May 22, 2015
This fixes building compiled addons with Visual Studio 2010.

PR-URL: nodejs/node-gyp#616
Reviewed-By: Bert Belder <[email protected]>
andrewdeandrade pushed a commit to andrewdeandrade/node that referenced this pull request Jun 3, 2015
This fixes building compiled addons with Visual Studio 2010.

PR-URL: nodejs/node-gyp#616
Reviewed-By: Bert Belder <[email protected]>
@cosmosgenius cosmosgenius deleted the win-c89-compile-fix branch January 4, 2021 01:59
Koroffin pushed a commit to Koroffin/node-gyp that referenced this pull request Sep 8, 2025
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.

4 participants