Fixed build [#METR-20000].

This commit is contained in:
Alexey Milovidov 2016-05-31 22:46:38 +03:00
parent 39c2c0f5a5
commit ad9ae1d5db

View File

@ -54,8 +54,10 @@
#define VERSYM_VERSION 0x7fff #define VERSYM_VERSION 0x7fff
#pragma GCC diagnostic push #if __clang__
#pragma GCC diagnostic ignored "-Wunused-const-variable" #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-const-variable"
#endif
namespace base { namespace base {
@ -434,6 +436,8 @@ void ElfMemImage::SymbolIterator::Update(int increment) {
} // namespace base } // namespace base
#pragma GCC diagnostic pop #if __clang__
#pragma clang diagnostic pop
#endif
#endif // HAVE_ELF_MEM_IMAGE #endif // HAVE_ELF_MEM_IMAGE