|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-07 12:22 UTC] pajoye@php.net
[2009-11-07 13:27 UTC] ben dot yan at msn dot com
[2010-09-13 09:05 UTC] liuranball at gmail dot com
[2017-07-21 19:30 UTC] kalle@php.net
-Status: Assigned
+Status: Feedback
-Assigned To: pajoye
+Assigned To:
[2017-07-21 19:30 UTC] kalle@php.net
[2017-07-30 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 17:00:01 2025 UTC |
Description: ------------ ext\standard\browscap.c : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss ext\standard\browscap.c(61) : error C2001: newline in constant ext\standard\browscap.c(62) : warning C4305: '=' : truncation from 'int' to 'char' ext\standard\browscap.c(62) : error C2146: syntax error : missing ';' before identifier 't' ext\standard\browscap.c(89) : error C2001: newline in constant ext\standard\browscap.c(90) : error C2146: syntax error : missing ':' before identifier 't' ext\standard\browscap.c(91) : error C2001: newline in constant ext\standard\browscap.c(92) : warning C4305: '=' : truncation from 'int' to 'char' ext\standard\browscap.c(92) : error C2143: syntax error : missing ';' before 'break' ext\standard\browscap.c(100) : error C2001: newline in constant ext\standard\browscap.c(102) : warning C4305: '=' : truncation from 'int' to 'char' ext\standard\browscap.c(102) : error C2146: syntax error : missing ';' before identifier 't' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.exe"' : return code '0x2' Stop. Reproduce code: --------------- setting: [Control Panel]->[Regional and Language Options]->[Advanced]->[Language for non-Unicode programs] if ($select == "English (United States)") { // compile successfully. :) } else if ($select == "Chinese (PRC)"){ // compile error! :( } OS: Windows XP Home IDE: VC++ 2008 Express + SDK v6.1 PHP: 5.3.0 Expected result: ---------------- compile successfully Actual result: -------------- compile error