Fixed build on clang with debug mode [#METR-2944].

This commit is contained in:
Alexey Milovidov 2016-12-12 09:18:28 +03:00
parent 3d643fc786
commit c564b505b6

View File

@ -1,5 +1,8 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#if __clang__
#pragma GCC diagnostic ignored "-Wdeprecated-register"
#endif
#include <glib.h>
#pragma GCC diagnostic pop