-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Windows 7 #12330
Comments
god I hope not |
It worked good, but the last version 20230924 doesn't work. |
We don't actually use this API in mpv directly so not sure where this is from? |
We set Anyway, we cannot be half way, either we support fully Windows 7 and set Targeting Windows 7 is just getting harder, because most toolchain like MSVC doesn't support building for it anymore. And apparently clang too, because I'm not sure it is llvm uses this function for Probably not directly mpv "fault". |
Yeah looks like nothing we can do about. Not that we're looking to have Windows 7 compatibility or anything. |
I don't know about msvc, but that's also irrelevant because mpv doesn't support msvc. Clang definitely supports win 7 at the latest version, which is 17, and you can even target windows XP with UCRT, by invoking e.g. clang -DWINVER=0x501 \
-D_WIN32_WINNT=0x501 \
foo.c -o foo.exe \
-Wl,--major-subsystem-version=5 (and installing the appropriate UCRT runtime, which exists for windows XP and later). I'm quite sure all versions of gcc also support win 7 (and XP, if one insists). So I don't thinki compiler support can be stated as a reason for dropping windows 7. |
Never was stated like that, we have a lot more reasons to not support Windows 7. And the main being that there is no developers to work on it. Patches welcome. Feel free to keep supporting it if you are interested in it. bikesheding Windows 7 support is one of the least interesting things you can do with mpv... in my opinion. |
I simply pointed as an absolutely incorrect statement and argument which you made. Nothing less, nothing more. |
What statement is incorrect? My statement is backed up by the fact that default installation (that is build by shinchiro) of llvm does not support Windows 7, as pointed by others
The fact that you can patch build to support older version is quite obvious, but that's not the case currently. I'm saying that, because I believe this comes from |
Various things in w32_common are at minimum supporting updated Windows 10, so in the best case it just noops the functions otherwise it crashes.. I don't know why anyone would use Windows 7 anyway, unless it's running on an outdated industrial platform, which would be crazy for other reasons. |
All of them are either dispatched with getprocaddr or would just fail silently if not supported. Don't make the issue bigger than it really is ;) |
Fine, my point still stands though 🙃. A little skepticism is never bad.. and upon re-checking I think the newest function we use is vista+. EDIT: |
Yes, I recently removed some Windows XP dispatch, but we try to keep it sane. Not really breaking anything Win 7+ intentionally.
Just for the visibility, since we are arguing over this one thing. mingw-w64-headers since this commit mingw-w64/mingw-w64@f3c53a5 uses Windows 10 as default _WIN32_WINNT value. mpv's itself sets Windows 8, but the offending function does not come from mpv. It comes from And since libc++ is also build by this toolchain it will be build for Win10. |
Does this work with Win 7?
Thanks
The text was updated successfully, but these errors were encountered: