use ;; to denote looping forever to silence C4127 warning on MSVC
more unreferenced parameter warnings