mirror of https://github.com/mpv-player/mpv
4cda63bd14
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
|
||
---|---|---|
.. | ||
checks | ||
detections | ||
fragments | ||
generators | ||
__init__.py | ||
clang_compilation_database.py | ||
dependencies.py | ||
deps_parser.py | ||
features.py | ||
inflector.py | ||
syms.py | ||
waf_customizations.py |