Use G_GNUC_CHECK_VERSION to check the GNUC version
There are several places in the code that could be improved by using G_GNUC_CHECK_VERSION
instead of directly checking if __GNUC__
is defined and then checking for the specific version
See !2061 (merged) for related comments
Edited by Emmanuele Bassi