I have downloaded the latest 1.7.99-pre version, and tried to compile using VS2010.
It reports many errors due to variables being declared in the middle of a function.
Remember that according to the C-langage standard, they all should be declared first in any C function, before any other instruction.
Could you eventually double check this point, and fix the files in the repository ? There aren't that many, but it might be a good idea !