From b9a25096e7e8a82c475c8cc5b6ec7b6c7cdad8a4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 2 May 2017 15:23:20 +0200 Subject: Adapt bin/gen-boost-headers to Clang 5 ...since "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 --- external/boost/include/boost/any.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'external/boost/include/boost/any.hpp') diff --git a/external/boost/include/boost/any.hpp b/external/boost/include/boost/any.hpp index ea0518b4a616..8c26055de0f9 100644 --- a/external/boost/include/boost/any.hpp +++ b/external/boost/include/boost/any.hpp @@ -3,6 +3,7 @@ #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" -- cgit v1.2.3