mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
Previously the options were tested by compiling a test program with the
option, and support was "detected" if the compilation didn't fail.
However, both gcc and clang only issue a warning on unknown warning option,
hence it never failed and all the warn options were detected as supported.
Now the tested option is used together with -Werror, which makes it fail
if it warns that the warning option is unknown.
Fixes clang unknown option warnings -Wno-format-truncation since
|
||
---|---|---|
.. | ||
__init__.py | ||
compiler_swift.py | ||
compiler.py | ||
devices.py |