Hi Winddy,
This issue is caused by a Non-ASCII char in Parse.c:193. I have sent a patch to 
fix it.

Thanks,
Shumin

From: winddy [mailto:winddy_zh...@foxmail.com]
Sent: Monday, June 08, 2015 8:59 PM
To: edk2-devel
Subject: [edk2] build error for Shell.efi

 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

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to