-
Notifications
You must be signed in to change notification settings - Fork 695
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
Fix windows exception handling in build #1143
Conversation
You can use ExceptionHandling: Sync in gyp to indicate /EHsc |
7e3532b
to
26f65e1
Compare
@saper thanks for the tip, that would be cleaner but it looks like it still results in warnings for node 0.12 builds. You can compare https://ci.appveyor.com/project/TimBranyen/nodegit/build/3029 (using Maybe when we drop node 0.12? |
My mistake. The parameter should be integer, I think the value of one(1) should do it. |
|
26f65e1
to
315208f
Compare
I am getting the same results with So both |
Strange, it should not depend on the node version. I'll check when I get somewhere near Windows. In the meantime go ahead with your changes. I just figured out at node-sass we are also using /EHsc literally. |
315208f
to
e3d5899
Compare
Even though we had the
/EHsc
option in thegyp
file, it was not being applied correctly. With the change, the option does get applied, which also takes care of numerous build warnings like this one: