# Could not compile plugin for Linux

**URL:** <https://forums.unrealengine.com/t/could-not-compile-plugin-for-linux/487129>\
**Category:** Platform & Builds\
**Tags:** clang, Linux, unreal-engine, CPP, question\
**Created:** [August 6, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/could-not-compile-plugin-for-linux/487129 "2021-08-06T15:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ks.zealot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ks.zealot](https://forums.unrealengine.com/u/ks.zealot)\
**Post date:** [August 6, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/could-not-compile-plugin-for-linux/487129/1 "2021-08-06T15:20:51Z")

</div>

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?
