Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nw-gyp auto add _HAS_ITERATOR_DEBUGGING=0 to compiler defines for debug #150

@WJsjtu

Description

@WJsjtu

nw-gyp auto add _HAS_ITERATOR_DEBUGGING=0 to compiler defines.

image

This prevents me from linking many external static libs with such error.
image

Is this macro really needed? This is really hard for me. I may add _HAS_ITERATOR_DEBUGGING=0 to my own lib but for external libs or lib depends on external libs I cannot do anything but compiling them fron source.

I've also tried node-gyp and found no such problem.

More info: Env Win10 x64 with VS2017 build for nw target v0.49.2
Min reproduct project here: gyp_test.zip (Just run run-gyp.bat)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions