sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.32k stars 370 forks source link

Static cast on non used variable compilation error on linux #198

Open loicleinot opened 1 year ago

loicleinot commented 1 year ago

Here :

https://github.com/sideeffects/HoudiniEngineForUnreal/blob/f56869fd4545d449e9d0df86ba4686bc29895dfa/Source/HoudiniEngineRuntime/Private/UnrealObjectInputRuntimeTypes.cpp#L425 & https://github.com/sideeffects/HoudiniEngineForUnreal/blob/f56869fd4545d449e9d0df86ba4686bc29895dfa/Source/HoudiniEngineRuntime/Private/UnrealObjectInputRuntimeTypes.cpp#L442

The static cast for a variable that is not used cause a compilation error on linux

initcard commented 1 year ago

I have the same error I want to fix it too

i use ENV: ubuntu22.04 x11 gcc(g++)11.2.0 houdini19.5.303 UE5.0.3 build branch:Houdini19.0-Unreal5.00