Add warning suppression for gcc

This commit is contained in:
Alexey Milovidov 2020-07-30 05:28:10 +03:00
parent 373cd918fb
commit e241df5541

View File

@ -17,6 +17,11 @@
#include <IO/WriteHelpers.h>
#if !__clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif
namespace DB
{
@ -250,3 +255,8 @@ public:
}
#if !__clang__
#pragma GCC diagnostic pop
#endif