{
  "targets": [
    {
      "target_name": "Nodehun",
      "sources": [ "src/index.cc" ],
      "include_dirs": ["<!@(node -p \"require('node-addon-api').include\")"],
      "dependencies": [
        "<!(node -p \"require('node-addon-api').gyp\")",
        "./hunspell/binding.gyp:hunspell"
      ],
      "defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
      # set standard to C++ 17
      "cflags_cc": [
        "-std=c++17"
      ],
      # and on MAC
      "xcode_settings": {
        "OTHER_CFLAGS": [
          "-std=c++17"
        ]
      },
      "msvs_settings": {
        "VCCLCompilerTool": {
          "AdditionalOptions": [ "-std:c++17", ],
        },
      },
    }
  ]
}

@@ -409,33 +409,33 @@
       %22-std=c++1
-7
+z
 %22%0A      %5D,%0A     
@@ -520,17 +520,17 @@
 std=c++1
-7
+z
 %22%0A      
@@ -640,17 +640,17 @@
 std:c++1
-7
+z
 %22, %5D,%0A  

switch from c++17 to c++1z