C:\Users\Zhiyu\src>ninja -C out\Debug chrome
ninja: Entering directory `out\Debug'
[61/17848] CC obj\third_party\nss\nss\...eebl\nss_static_avx.intel-gcm-wrap.obj
FAILED: ninja -t msvc -e environment.x86 -- "C:\Study\Chromium\depot_tools\win_t
oolchain\vs2013_files\VC\bin\cl.exe" /nologo /showIncludes /FC @obj\third_party\
nss\nss\lib\freebl\nss_static_avx.intel-gcm-wrap.obj.rsp /c ..\..\third_party\ns
s\nss\lib\freebl\intel-gcm-wrap.c /Foobj\third_party\nss\nss\lib\freebl\nss_stat
ic_avx.intel-gcm-wrap.obj /Fdobj\third_party\nss\nss_static_avx.c.pdb
c:\users\zhiyu\src\third_party\nss\nss\lib\freebl\intel-gcm.h : error C2220: war
ning treated as error - no 'object' file generated
c:\users\zhiyu\src\third_party\nss\nss\lib\freebl\intel-gcm.h : warning C4819: T
he file contains a character that cannot be represented in the current code page
(936). Save the file in Unicode format to prevent data loss
[61/17848] ACTION Generating resources from resources/ash_resources.grd
ninja: build stopped: subcommand failed.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
The most annoying part of this issue is, I think, that we have to change the system locale, not the user locale. Changing the user locale alone is not enough.As far as I know, this cannot be worked around. I think it's one of the places where VC toolchains are fundamentally broken, and Microsoft does not seem happy to fix that :~((Microsoft would like to require BOM for UTF-8 sources, but UTF-8 BOM is pretty silly stuff IMO, because there's really no byte order in UTF-8. See https://connect.microsoft.com/VisualStudio/feedback/details/888437/it-is-impossible-to-use-utf-8-without-bom-in-source-files)