Skip to content

Instantly share code, notes, and snippets.

View STIXTheMachine's full-sized avatar

Jake S STIXTheMachine

View GitHub Profile
@STIXTheMachine
STIXTheMachine / gist:126021ecf5e53da0b441a89c01186654
Created May 10, 2025 15:59
Effect of `#define _HAS_EXCEPTIONS 0` when building Jolt with Unreal Engine
Definitions.UnrealJolt.h(32): Warning C4005 : '_HAS_EXCEPTIONS': macro redefinition
vcruntime.h(104): Reference : see previous definition of '_HAS_EXCEPTIONS'
Definitions.UnrealJolt.h(32): Warning C4005 : '_HAS_EXCEPTIONS': macro redefinition
vcruntime.h(104): Reference : see previous definition of '_HAS_EXCEPTIONS'
Definitions.UnrealJolt.h(32): Warning C4005 : '_HAS_EXCEPTIONS': macro redefinition
vcruntime.h(104): Reference : see previous definition of '_HAS_EXCEPTIONS'
Definitions.UnrealJolt.h(32): Warning C4005 : '_HAS_EXCEPTIONS': macro redefinition
vcruntime.h(104): Reference : see previous definition of '_HAS_EXCEPTIONS'
Definitions.UnrealJolt.h(32): Warning C4005 : '_HAS_EXCEPTIONS': macro redefinition
vcruntime.h(104): Reference : see previous definition of '_HAS_EXCEPTIONS'
====================[ Build | Samples | Debug ]=================================
"C:\Program Files\JetBrains\CLion 2025.1\bin\cmake\win\x64\bin\cmake.exe" --build W:\Dev\Cpp\JoltPhysicsUpstream\JoltPhysics\Build\cmake-build-debug --target Samples -j 18
[1/131] Building CXX object CMakeFiles\TestFramework.dir\W_\Dev\Cpp\JoltPhysicsUpstream\JoltPhysics\TestFramework\UI\UIManager.cpp.obj
FAILED: CMakeFiles/TestFramework.dir/W_/Dev/Cpp/JoltPhysicsUpstream/JoltPhysics/TestFramework/UI/UIManager.cpp.obj
"W:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /nologo /TP -DJPH_DEBUG_RENDERER -DJPH_FLOATING_POINT_EXCEPTIONS_ENABLED -DJPH_OBJECT_STREAM -DJPH_PROFILE_ENABLED -D_DEBUG -D_HAS_EXCEPTIONS=0 -IW:\Dev\Cpp\JoltPhysicsUpstream\JoltPhysics\Build\..\TestFramework -IW:\Dev\VulkanSDK\1.4.309.0\Include -IW:\Dev\Cpp\JoltPhysicsUpstream\JoltPhysics\Build\.. /DWIN32 /D_WINDOWS /Zc:__cplusplus /Gm- /MP /nologo /diagnostics:classic /FC /fp:except- /Zc:inline /Wall /W