You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error info:
F:\gitP\electronicarts\EASTL\test\source\TestStringView.cpp(12,15): error C2338: Building with char8_t tests e
nabled, but EA_CHAR8_UNIQUE evaluates to false. [F:\gitP\electronicarts\EASTL\build_amd64\test\EASTLTest.vcxproj]
F:\gitP\electronicarts\EASTL\test\source\TestString.cpp(17,15): error C2338: Building with char8_t tests enabl
ed, but EA_CHAR8_UNIQUE evaluates to false. [F:\gitP\electronicarts\EASTL\build_amd64\test\EASTLTest.vcxproj]
Hi all,
EASTL failed to build with msvc due to error C2338 on Windows. Could you please help look at this issue?
Environment:
Windows: windows server 2019
VS: 2019
Repro steps:
1.open VS2019 x64 tools command
2.git clone https://github.com/electronicarts/EASTL F:\gitP\electronicarts\EASTL
3.cd F:\gitP\electronicarts\EASTL
4.mkdir build_amd64 & cd build_amd64
5.set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 & set CL= /std:c++latest
6.cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DEASTL_BUILD_TESTS:BOOL=ON -DEASTL_BUILD_BENCHMARK:BOOL=OFF .. 2>&1
7.set CL=%CL% /Zc:static_assert-
8.set CL=%CL% /Zc:char8_t-
9.msbuild /m /p:Platform=x64 /p:Configuration=Release EASTL.sln /t:Rebuild 2>&1
Error info:
F:\gitP\electronicarts\EASTL\test\source\TestStringView.cpp(12,15): error C2338: Building with char8_t tests e
nabled, but EA_CHAR8_UNIQUE evaluates to false. [F:\gitP\electronicarts\EASTL\build_amd64\test\EASTLTest.vcxproj]
F:\gitP\electronicarts\EASTL\test\source\TestString.cpp(17,15): error C2338: Building with char8_t tests enabl
ed, but EA_CHAR8_UNIQUE evaluates to false. [F:\gitP\electronicarts\EASTL\build_amd64\test\EASTLTest.vcxproj]
log
build.log
The text was updated successfully, but these errors were encountered: