Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve MSVC build #6181
Original bug ID: 6181
MSVC compiler option can begin with '-' or '/', i.e. "cl -nologo ..." is the same as "cl /nologo ...", usually using either works.
But in msys, it seems '/' is somehow reinterpreted, so the build will fail, but changing '/' to '-' will work.
Steps to reproduce
The build will fail.
Apply the attached diff to source code (from SVN trunk), build again, it will work.