error C4430: missing type specifier - int assumed. Note: C++ does not support default int & error C2440: ’initializing‘: cannot convert from ’initializer list' to 'int'

I am trying to build UE5.1.1. However, I am getting

error C4430: missing type specifier - int assumed. Note: C++ does not support default int

and

error C2440: ’initializing‘: cannot convert from ’initializer list’ to ‘int’

The relevant part is the line

TEST_CASE(”System::Core::Containers::TDeque::Reserve without data“, ‘[SmokeFilter][Core][Containers][Deque]’)

in the file

D:\UnrealEngine-5.1.1-release\Engine\Source\Runtime\Core\Tests\Containers\DequeTest.cpp

Also, for the CHECK macro, I was getting an error

error C3861: ‘CHECK: identifier not found

so I listed

#define CHECK check

to avoid the error (I don’t know if this is the solution). The only change in this file is the addition of this line, and the rest is the same as the source code provided by UE.