-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix compilation of src/ with MSVC #19416
Conversation
MSVC needs consistent linkage between prototype and implementation
3d7866c
to
3622a51
Compare
in jl_codectx_t, change from typedef to struct
prevent mangling if compiled as C++
3622a51
to
fbf1ad7
Compare
Is it possible (or desirable) to set up AppVeyor to build with MSVC instead of GCC? |
Not [desirable] right now. It's not fully supported, we just try to keep it compiling best-effort. See #12056 for what it would take to make MSVC really first class. |
I do test builds using my personal appveyor account on a branch of my fork that also has some messy hacks that shouldn't be upstreamed, so appveyor is useful for testing these, but we don't want to run it on every commit if the tests don't pass. |
fbf1ad7
to
c2c40a6
Compare
Any objections to these changes? |
Need to check whether af3f940 causes a warning on non-MSVC buildsnevermind, it didn't even compile without the cast on non-MSVC