๊ฒ์ํด์ ๋์ค๋ ํด๊ฒฐ๋ฐฉ๋ฒ์ ๋ค ์จ๋ดค๋๋ฐ ๋ก๊ทธ๋ง ์กฐ๊ธ ๋ฐ๋๊ณ ์ ์ด๋ฆฌ๋ ๊ฑด ์ฌ์ ํฉ๋๋ค, ํน์ ์์ธ ์์๋ ๋ถ ์๋์?
Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="A:/UE5/sd/sd.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="A:/UE5/sd/sd.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\fdgfgf\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for sdEditor (no existing makefile)
@progress push 5%
Parsing headers for sdEditor
Running Internal UnrealHeaderTool A:\UE5\sd\sd.uproject A:\UE5\sd\Intermediate\Build\Win64\sdEditor\Development\sdEditor.uhtmanifest -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for sdEditor in 0.9211299 seconds
@progress pop
Building sdEditor...
Using Visual Studio 2022 14.39.33519 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (14 physical cores, 20 logical cores)
Executing up to 14 processes, one per physical core
Requested 1.5 GB memory per action, 4.38 GB available: limiting max parallel actions to 2
------ Building 6 action(s) started ------
[1/6] Resource Default.rc2
[2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp
C:\Program Files\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): error C2248: 'FHazardPointerCollection::FHazardRecord::FHazardRecord': private ??('FHazardPointerCollection::FHazardRecord' ลฌ???????? ?????? ?ืผ???? ?????ฯด?
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: 'FHazardPointerCollection::FHazardRecord::FHazardRecord' ????? ????สฝรฟ?
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: 'FHazardPointerCollection::FHazardRecord' ????? ????สฝรฟ?
C:\Program Files\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: ???? ??????ศญ ????ฦฎ(??? ???????????ศญ ????ฦฎ)??
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(133): note: ????วด???????? ??????ศญ 'void __builtin_array_init_helper<FHazardPointerCollection::FHazardRecord>(_T *,size_t) noexcept(<expr>)'?? ??????? ศฎ??????
with
[
_T=FHazardPointerCollection::FHazardRecord
]
Total time in Parallel executor: 11.28 seconds
Total execution time: 14.33 seconds
FHazardPointerCollection::FHazardRecord์ด๊ฑฐ ์ฌ์ฉํ ๋ ์๋ชป๊ฐ์ ธ ์จ๊ฑฐ๊ฐ์๋ฐ private์ฌ๊ธฐ์ ์ฌ์ฉํจ?
์๋จ, ๊ทธ๊ฒ ์๋๊ณ ํ๋ก์ ํธ๋ฅผ ์ฒ์๋ถํฐ ์์ฑํ ๋ ์ ๋ก๊ทธ๋ง ๋จ๊ณ ๋ง๋ค์ด์ง์ง๊ฐ ์์์
๊ทธ๋ฌ๋ฉด ํ๋ก์ ํธ ๊ฒฝ๋ก์ ํ๊ธํ์ผ์ด ์๋๊ฑฐ ์๋? ๊ฒฝ๋ก์ ํ๊ธ์์ผ๋ฉด ์๋จ
https://developercommunity.visualstudio.com/t/VS-2022-1790-Preview-10-__builtin_arr/10519788?sort=newest&ftype=problem
1.
vs ๋ฒ์ ์ 17.9 ๊ฐ ์๋ 17.10(preview) ๋๋ ๊ทธ ์๋๋ก ๋ฎ์ถ๊ฑฐ๋, 2. HazardPointer.h ํ์ผ์ FHazardRecord() ๋ํดํธ ์์ฑ์๋ฅผ private -> public ์ผ๋ก ๋ณ๊ฒฝํ๊ฑฐ๋, (์ ๋ด์ฉ ์ฐธ๊ณ )
17.9 ๋ฒ์ ์ ๊ท๋ฐ์ ์ด์.