winddy
2015-06-08 12:59:09 UTC
Hi experts,
I find in latest code base, build shell.efi will fail:
d:\project\ref\udk_open\ShellPkg\Library\UefiShellLevel2CommandsLib\Parse.c : er
ror C2220: warning treated as error - no 'object' file generated
d:\project\ref\udk_open\ShellPkg\Library\UefiShellLevel2CommandsLib\Parse.c : wa
rning C4819: The file contains a character that cannot be represented in the cur
rent code page (936). Save the file in Unicode format to prevent data loss
build command: build -n 4 -p ShellPkg/ShellPkg.dsc -t VS2008x86 -a X64 -b RELEASE
It was caused by file Parse.c line 193, there is a special char (0x94) after last '^'. Change it to '?'(0x3F), bug is gone.
Thanks.
------------------
BR
winddy_zhang
I find in latest code base, build shell.efi will fail:
d:\project\ref\udk_open\ShellPkg\Library\UefiShellLevel2CommandsLib\Parse.c : er
ror C2220: warning treated as error - no 'object' file generated
d:\project\ref\udk_open\ShellPkg\Library\UefiShellLevel2CommandsLib\Parse.c : wa
rning C4819: The file contains a character that cannot be represented in the cur
rent code page (936). Save the file in Unicode format to prevent data loss
build command: build -n 4 -p ShellPkg/ShellPkg.dsc -t VS2008x86 -a X64 -b RELEASE
It was caused by file Parse.c line 193, there is a special char (0x94) after last '^'. Change it to '?'(0x3F), bug is gone.
Thanks.
------------------
BR
winddy_zhang