diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-02 15:23:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-02 15:25:46 +0200 |
commit | b9a25096e7e8a82c475c8cc5b6ec7b6c7cdad8a4 (patch) | |
tree | 3e11ffe9b15d85bd0ba9d87ae715938c821035ab /bin | |
parent | fd04a78d71f17eecae254e025508a57d34c9aa5a (diff) |
Adapt bin/gen-boost-headers to Clang 5
...since <http://llvm.org/viewvc/llvm-project?view=revision&revision=301647>
"Use the -Wunknown-warning-option group for the 'unknown warning group'
diagnostic in #pragma diagnostic".
* external/boost/include/boost/{locale.hpp,locale/gnu_gettext.hpp} would have
been removed by 'make cmd cmd=bin/gen-boost-headers' as they are still unused
from c25eee44966703cb27d632bccb39b20978341ffd "build boost::locale library",
but there's reportedly a patch in Gerrit to actually use them, so I fixed them
manually for now.
* The deviating comment style is to keep lines no wider than 80 characters.
Change-Id: I64603ae8d8a82781eda46f12c9dd5c68dcf395b9
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-boost-headers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gen-boost-headers b/bin/gen-boost-headers index a8c64caff505..98509ca43169 100755 --- a/bin/gen-boost-headers +++ b/bin/gen-boost-headers @@ -37,6 +37,7 @@ cat <(cd ${SRCDIR} && git grep -h '^# *include') \ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunknown-pragmas" /* first! for clang */ #pragma GCC diagnostic ignored "-Wpragmas" /* second! for GCC */ +#pragma GCC diagnostic ignored "-Wunknown-warning-option" // third! for Clang 5 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #pragma GCC diagnostic ignored "-Wextra" #pragma GCC diagnostic ignored "-Wignored-qualifiers" |