The compilation fails on Windows with VC11 due to a mix of declarations and assignments in the code. VC11 does not support that (and neither does C!).