Failed to compile in gcc due to for loop initial declaration error, clang let it slide.