nw-gyp updated to support clang

Skip to first unread message

Roger Wang

Sep 27, 2019, 4:26:37 AM9/27/19
to nw.js

nw-gyp is updated to 3.6.5 to include clang compiler on windows. Clang will be used as the default compiler and linker when native modules are built on windows platform. It can be turned off and switch back to MSVC with '--clang=false' or '--no-clang'.

NW has been built with clang on windows since 0.39 following upstream. So does the Node.js component inside NW. The change to nw-gyp is needed in most cases, or you'll hit errors like those reported in https://github.com/nwjs/nw.js/issues/7104

Any questions please let me know.
Thanks and best regards,
Roger Wang
Reply all
Reply to author
0 new messages