UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.31k stars 172 forks source link

[BUG - Release] CLion doesn't understand our project properly #252

Open UE4SS opened 11 months ago

UE4SS commented 11 months ago

Branch or Release a89f6de

Game and Engine Version N/A

Describe the bug There are tons of IDE errors that are not actual errors. This causes the IDE to not give proper information about types as it thinks these types aren't valid. It also causes the "go to definition" feature to not work.

To Reproduce Open the root CMakeLists in CLion.

Expected behavior N/A

Screenshots and UE4SS Log N/A

Desktop (please complete the following information):

Additional context

UE4SS commented 11 months ago

Note that the IDE errors for the macros IMPLEMENT_UNREAL_VIRTUAL_WRAPPER and IMPLEMENT_UNREAL_VIRTUAL_WRAPPER_NO_PARAMS on Linux are unrelated to this problem. These happen because of a conversion from a function pointer to a void which on Linux is not possible due to function pointers being 16 bytes long compared to the 8 bytes for void. On Windows, both function pointers and void* are 8 bytes long so the conversion works.