Why is Xcode 15 giving me deprecated code errors?

My build (of an Unreal Engine project) worked fine in Xcode 14, but in 15 I get errors like these:

/Users/zeev/dev/UnrealEngine3/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]

/Users/zeev/dev/UnrealEngine3/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]

/Users/zeev/dev/UnrealEngine3/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]

Do I have to edit these hundreds of lines of code, or can I use an older compiler, or is there some other solution?

The warnings tell you that they are triggered by the compiler flag -Wdeprecated-builtins, so if you compile with the flag -Wno-deprecated-builtins, they should go away. Possibly Xcode 15 might have a checkbox for that flag; I’m not at a Mac right now. But if there’s no checkbox, you can use an “other c++ flags“ or something in the build settings.

Hello! Could you solve this issue?

Why is Xcode 15 giving me deprecated code errors?
 
 
Q