build: remove -Wno-pointer-sign and fix resulting warnings - #18317
build: remove -Wno-pointer-sign and fix resulting warnings#18317YoussefZidan-1 wants to merge 14 commits into
Conversation
4f66f6f to
d39abbe
Compare
|
Could you compile and test your changes locally before pushing? Running the whole CI suite just to fix one warning at a time isn't time or energy efficient for anyone. |
|
@llyyr Apologies for the CI spam! I'm pretty new to open source and still learning the workflow. I ran into an issue where optional dependencies (subrandr, Vulkan display headers, etc.) weren't installed on my Linux system, so Meson silently skipped compiling those files locally, causing warnings to only surface when CI ran. Also, since I'm on Linux, the Windows (MSYS2/MinGW) and FreeBSD platform files weren't being compiled on my machine either. I've reconfigured my local environment with Clang and -Dwerror=true, and I'm inspecting the remaining platform-specific files now so I don't trigger unnecessary CI runs. Thanks for your patience with a beginner! |
|
You can look at meson.options and enable as many dependencies as possible so you don't miss any. You can also cross compile for Windows https://github.com/mpv-player/mpv/blob/master/DOCS/compile-windows.md |
|
Also if it is too much pain to fix all those warnings, it may not be worth it. Some warnings are really verbose. |
|
@kasper93 Thanks for the reassurance! I really appreciate it. I've fixed almost all of them across the core codebase, so I'm polishing up my current changes to leave everything in a clean state. @llyyr Thank you for pointing out |
e71515b to
4adb7c1
Compare
4adb7c1 to
ed7b5e7
Compare
Relates to #13608
Removes
-Wno-pointer-signfrommeson.buildand resolves all pointer sign compiler warnings across C source files.