In the Project Properties, make sure to select the Microsoft Visual C++ Compiler Nov 2012 CTP:
The new toolchain does not replace the existing Visual C++ 2012 toolchain, and it is not enabled by default. It’s installed side-by-side with the existing toolchain.
If you select the new toolchain, your program will compiler without error.