Bug #75100 [Com]: cl complains about php-src\ext\calendar\jewish.c
Edit report at https://bugs.php.net/bug.php?id=75100&edit=1
ID: 75100
Comment by: mail at vekwu dot com
Reported by: di3663 at dingtalk dot com
Summary: cl complains about php-src\ext\calendar\jewish.c
Status: No Feedback
Type: Bug
Package: *Calendar problems
Operating System: win7sp1 x86_64
PHP Version: 7.2.0beta3
Block user comment: N
Private report: N
New Comment:
you can open jewish.c by texteditor like notepad++.then save it by utf-8 none bom.
because jewish obtain other character maybe means its filename jewish.
Previous Comments:
------------------------------------------------------------------------
[2017-11-05 04:22:45] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2017-08-21 09:10:16] ab@php.net
Thanks for the report. I'm not sure what you suggest to do. Isn't "set
fileencoding" a vim command? And otherwise, all the files in ext/calendar are either ascii or
latin1.
Thanks.
------------------------------------------------------------------------
[2017-08-21 02:20:52] di3663 at dingtalk dot com
Description:
------------
ext\calendar\jewish.c: warning C4819:
该æä»¶å
å«ä¸è½å¨å½å代ç 页(936)ä¸è¡¨ç¤ºçå
符ã请å°è¯¥æä»¶ä¿å为 Unicode
æ ¼å¼ä»¥é²æ¢æ°æ®ä¸¢å¤±
julian.c
ext\calendar\jewish.c(346): error C2001: 常é䏿æ¢è¡ç¬¦
ext\calendar\jewish.c(347): error C2001: 常é䏿æ¢è¡ç¬¦
ext\calendar\jewish.c(365): error C2001: 常é䏿æ¢è¡ç¬¦
ext\calendar\jewish.c(366): error C2001: 常é䏿æ¢è¡ç¬¦
ext\calendar\jewish.c(368): error C2001: 常é䏿æ¢è¡ç¬¦
NMAKE : fatal error U1077: â"C:\Program Files (x86)\Microsoft Visual Studio\201
7\Community\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\cl.exe"â:
è¿å代ç â0x2â
Stop.
change codepage solve this error
php-src\ext\calendar\jewish.c # set fileencoding=utf-8
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75100&edit=1
Thread (4 messages)