c++ code not compiling with int UPROPERTY
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = World)
float Moving;
compiles fine where as
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = World)
int Moving;
Does not compile
Error code OtherCompilationError (5) Rocket G:\Game\Rocket\Intermediate\ProjectFiles\Error 1
Error MSB3073 The command ““C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” RocketEditor Win64 Development “G:\Game\Rocket\Rocket.uproject” -rocket -waitmutex -2015” exited with code -1. Rocket C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37