| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
You can use ExceptionHandling: Sync in gyp to indicate /EHsc |
Sorry, something went wrong.
|
@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 "ExceptionHandling": "Sync") and https://ci.appveyor.com/project/TimBranyen/nodegit/build/3031 (using "AdditionalOptions": [ "/EHsc" ]). Maybe when we drop node 0.12? |
Sorry, something went wrong.
|
My mistake. The parameter should be integer, I think the value of one(1) should do it. |
Sorry, something went wrong.
|
/FORCE:MULTIPLE also has its gyp equivalent, ForceFileOutput. |
Sorry, something went wrong.
|
I am getting the same results with "ExceptionHandling": 1 as with "ExceptionHandling": "Sync" - the /EHsc warnings disappear for node 4, 5, and 6, but remain for 0.12. This is the build output for "ExceptionHandling": 1: https://ci.appveyor.com/project/TimBranyen/nodegit/build/3032 So both 1 and Sync have an effect for node >0.12 but not 0.12. See in contrast the build output for an unrelated PR, where the /EHsc warnings appear for all versions of node: https://ci.appveyor.com/project/TimBranyen/nodegit/build/3030 |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Even though we had the /EHsc option in the gyp 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: