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
/EHscoption in thegypfile, 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: