4.24 we added a check in CompileEnum of HeaderParser.cpp to check if there is a 0 entry in the enum declaration. however consider the following the codes
while "USIMAPI_CAMERA_TYPE_UNKNOWN is defined as 0, but users still got the warning. – "'EUSimCameraType' does not have a 0 entry! (This is a problem when the enum is initalized by default)"
And more importantly by default "treat warning as errors" is on in ExternalExecution.cs of UnrealBuildTool, which will lead to build errors.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85060 in the post.
|Component||UE - Foundation - Cpp Tools - UnrealHeaderTool|
|Created||Nov 26, 2019|
|Resolved||Jun 17, 2021|
|Updated||Jul 13, 2021|