MSVC is C89 and doesn't allow mixed declarations and statements