Bug #75100 [Opn->Fbk]: cl complains about php-src\ext\calendar\jewish.c

From: Date: Mon, 21 Aug 2017 09:10:18 +0000
Subject: Bug #75100 [Opn->Fbk]: cl complains about php-src\ext\calendar\jewish.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210763@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75100&edit=1 ID: 75100 Updated by: ab@php.net Reported by: di3663 at dingtalk dot com Summary: cl complains about php-src\ext\calendar\jewish.c -Status: Open +Status: 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: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#210763) next »