Could not compile plugin for Linux

ks.zealot
Fri, 06 Aug 2021 15:20:51 +0000
Platform & Builds

If Linux not in my Blacklist platform, I have many errors like this:

non-constant-expression cannot be
narrowed from type ‘unsigned long’ to
‘int32’ (aka ‘int’) in initializer
list [-Wc++11-narrowing]

inside Unreal gen files.
The generated code relative to my int32 variable, initialized like this.

int32 var = 1;

Clang version is 10.0.1
How to fix this?

1 post - 1 participant