remove the comments in gamerule.cpp, and the warning at line 723 has finally gone.
enable VS debug
enable VS debug
found a bug that caused program crash while quiting