Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Fixed
-
8.0.21-12
-
None
-
None
Description
/home/travis/build/percona/percona-server/router/src/protobuf/src/protobuf_plugin.cc:31:1: error: unknown warning group '-Winconsistent-missing-destructor-override', ignored [-Werror,-Wunknown-pragmas] MY_COMPILER_CLANG_DIAGNOSTIC_IGNORE( ^ /home/travis/build/percona/percona-server/include/my_compiler.h:219:3: note: expanded from macro 'MY_COMPILER_CLANG_DIAGNOSTIC_IGNORE' MY_COMPILER_CPP11_PRAGMA(clang diagnostic ignored X) ^ /home/travis/build/percona/percona-server/include/my_compiler.h:175:37: note: expanded from macro 'MY_COMPILER_CPP11_PRAGMA' #define MY_COMPILER_CPP11_PRAGMA(X) _Pragma(#X) ^ <scratch space>:21:27: note: expanded from here clang diagnostic ignored "-Winconsistent-missing-destructor-override"
The issue is that "-Winconsistent-missing-destructor-override" is not supported by "clang-4.0" or older.