VS2010's C compiler is old. The declaration of bomEnc at line 1440 causes a syntax error. Moving it to the top of the function fixes it.