NickNaso / ghostscript4js

Ghostscript4JS binds the Ghostscript C API to the Node.JS world.
http://www.nacios.it
Apache License 2.0
66 stars 19 forks source link

Warning on Microsoft compiler #18

Closed NickNaso closed 7 years ago

NickNaso commented 7 years ago

Microsoft compiler give a warning: ..\src\ghostscript4js.cc(166): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\nicknaso\Desktop\prova\node_modules\ghostscript4js\bui ld\ghostscript4js.vcxproj] Need to investigate and fix the warning.

NickNaso commented 7 years ago

To solve the problem it is necessary to add this compiler options for windows on binding.gyp

"msvs_settings": {
        "VCCLCompilerTool": {
          "ExceptionHandling": 1
        }
      }