New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
151d75b breaks mingw builds on Windows #464
Comments
Fixing the typo from
@shancat does using |
My fault sorry. I don't have MinGW and I can't install it as I live in a Works with Windows 7 SDK + NMake makefiles with me. Does #465 fix it for you? |
@shancat it's fixed in the same environments I previously mentioned; thank you. FWIW, it can be tricky to get code working correctly with both MSVC and the different flavors (mingw.org and mingw-w64) of MinGW due mainly to header differences. Here's hoping you can cajole a friend to download all my DevKit flavors and burn you a CD/DVD 😸 |
It appears that the fix for #459 to solve a Win 7 SDK build warning breaks the CMake/MSYS/MinGW build on my Win7 32bit system.
Note that no MinGW compiler defines
_MSC_VER
. Was the original_MVC_VER
a typo and replacing with_MSC_VER
suppress the warning? Double checkcl
predefined macrosI'm swamped with work and will not have time to look into this for awhile, but there should be other ways to suppress warnings for
cl
and friends. For example, I originally supressed MSVC warning via CMake herePlease revert 151d75b and investigate using
_MSC_VER
or the CMake alternative.For those of you building/testing mruby on Windows, I request that you ensure any patches work with for both MSVC and MinGW (I test with multiple MinGW versions and Win7 SDK cmd line tools).
If you don't have a MSYS/MinGW toolchain, download one of DevKit flavors I maintain at TheCodeShop. It's as simple as running the
devkitvars.bat
(ordevkitvars.ps1
) scripts which bringsh
,make
,gcc
and friends onto yourPATH
. And then it's just acd build && cmake -G "MSYS Makefiles" .. && make all test
away to ensure your patch works with a MinGW toolchain.The text was updated successfully, but these errors were encountered: