-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Hi,
compiling ICU-full for windows requires adding /utf-8
to the msvc compiler switches - as discussed here:
refack/GYP3#60
I don't know whether this is the case for icu-small that ships with nodejs. However, the setting can be added to standalone.gypi
like this:
'msvs_settings': {
'VCCLCompilerTool': {
'MinimalRebuild': 'false',
'BufferSecurityCheck': 'true',
'EnableFunctionLevelLinking': 'true',
'RuntimeTypeInfo': 'false',
'WarningLevel': '3',
'WarnAsError': 'true',
'Detect64BitPortabilityProblems': 'false',
'conditions': [
['use_clcache_mode=="true"', {
'DebugInformationFormat': '1',
}, {
'DebugInformationFormat': '3',
}],
[ 'msvs_multi_core_compile', {
'AdditionalOptions': ['/MP', '/utf-8'], <------------------- here
}],
['component=="shared_library"', {
'ExceptionHandling': '1', # /EHsc
}, {
'ExceptionHandling': '0',
}],
],
Maybe you want to adjust this in your gyp files.
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.