commit | c4911f2db36d811896c73c008b4218d8fa9a4730 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Thu Sep 25 18:38:48 2014 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Thu Sep 25 18:38:48 2014 +0300 |
tree | 21c4e046aae50dc426c5fdbaebf11e84e021246c | |
parent | 76e75522ed6f5c228d55587dee5a997893f6e474 [diff] |
Build: Detect supported compiler warning flags better. Clang and nowadays also GCC accept any -Wfoobar option but then may give a warning that an unknown warning option was specified. To avoid adding unsupported warning options, the options are now tested with -Werror. Thanks to Charles Diza.