HBelusca (JIRA)
2018-05-12 13:00:01 UTC
[ https://jira.reactos.org/browse/CORE-14607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103969#comment-103969 ]
HBelusca commented on CORE-14607:
---------------------------------
Sure I don't see why not [~usurp].
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca commented on CORE-14607:
---------------------------------
Sure I don't see why not [~usurp].
VS2013 build fail on msvcrtex
-----------------------------
Key: CORE-14607
URL: https://jira.reactos.org/browse/CORE-14607
Project: Core ReactOS
Issue Type: Bug
Reporter: Yuntian Zhang
Assignee: Bug Zilla
{noformat}
@echo off
:: CMake 3.11.1 x64
set path=C:\Program Files\CMake\bin;%path%
:: Visual Studio 2013 Professional Update 5 ver.12.0.40629.00
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
call configure.cmd VSSolution
cd output-VS-i386-sln
msbuild -m REACTOS.sln /t:sdk\lib\crt\msvcrtex
pause
{noformat}
{noformat}
c:\reactos\sdk\lib\crt\startup\crtexe.c(287): error C4013: '_ismbblead' undefined; assuming extern returning int [C:\reactos\output-VS-i386-sln\sdk\lib\crt\msvcrtex.vcxproj]
{noformat}
{code:c}
#ifdef _MBCS
if (_ismbblead (*lpszCommandLine))
{
if (lpszCommandLine) /* FIXME: Why this check? Should I check for *lpszCommandLine != 0 too? */
lpszCommandLine++;
}
#endif
{code}
MBCS stands for Multi Byte Character Set which is used for some Asian language where 1 byte can't encode all their characters. As such this is not a Unicode encoding.
Adding #undef _MBCS before #include "crtexe.c" in wcrtexe.c seems to fix the build on msvcrtex. Though I think we need to fix some header files.
-------------------------------
Key: CORE-14607
URL: https://jira.reactos.org/browse/CORE-14607
Project: Core ReactOS
Issue Type: Bug
Reporter: Yuntian Zhang
Assignee: Bug Zilla
{noformat}
@echo off
:: CMake 3.11.1 x64
set path=C:\Program Files\CMake\bin;%path%
:: Visual Studio 2013 Professional Update 5 ver.12.0.40629.00
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
call configure.cmd VSSolution
cd output-VS-i386-sln
msbuild -m REACTOS.sln /t:sdk\lib\crt\msvcrtex
pause
{noformat}
{noformat}
c:\reactos\sdk\lib\crt\startup\crtexe.c(287): error C4013: '_ismbblead' undefined; assuming extern returning int [C:\reactos\output-VS-i386-sln\sdk\lib\crt\msvcrtex.vcxproj]
{noformat}
{code:c}
#ifdef _MBCS
if (_ismbblead (*lpszCommandLine))
{
if (lpszCommandLine) /* FIXME: Why this check? Should I check for *lpszCommandLine != 0 too? */
lpszCommandLine++;
}
#endif
{code}
MBCS stands for Multi Byte Character Set which is used for some Asian language where 1 byte can't encode all their characters. As such this is not a Unicode encoding.
Adding #undef _MBCS before #include "crtexe.c" in wcrtexe.c seems to fix the build on msvcrtex. Though I think we need to fix some header files.
This message was sent by Atlassian JIRA
(v7.3.2#73013)