Where can I change compile arguments?

Hi,

Tried creating new C++ project (I’ve Mac M1, and I think this problem within Xcode) and get the error:

In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:572:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1279:26: error: variable 'LayerNames' set but not used [-Werror,-Wunused-but-set-variable]
                                const TArray<FText>* LayerNames = &LayersExpression->GetLayerNames();

Where can I add arguments to compilation? “-Wno-unused-but-set-variable” I mean.

Thanks!

1 Like