shadow compilers dislike glib2 2.62
Building gate on a system which has glib2 version 2.62.0 installed fails with gcc 4.4 or smatch; the primary compiler is fine.
An example of the kinds of errors seen:
cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
These are because glib2 >= 2.62 suppresses warnings about deprecated declarations in header
files using pragma
"GCC diagnostic ignored \"-Wdeprecated-declarations\""
This is not supported before GCC 4.6