Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ocaml 3.10.1 doesn't compile with MSVC under Windows #4483
Original bug ID: 4483
make: Entering directory `/cygdrive/d/Work/ocaml/ocaml-3.10.1/byterun'
This is because you depend on GCC entension that (as well ac C++) allows a variable definition to appear anywhere in the block. Standard ANSI C which MSVC follows just prohibits that.