From: Daniel Colascione Date: Mon, 19 Feb 2018 16:39:34 +0000 (-0800) Subject: Limit -Wconversion to GCC >= 4.7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9dcb3f28b60a7ed214e7b02b67b7c5156c43806;p=emacs.git Limit -Wconversion to GCC >= 4.7 --- diff --git a/src/pdumper.c b/src/pdumper.c index 9a0770d68ed..c1d50f00159 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -61,7 +61,7 @@ # define CHECK_STRUCTS 1 #endif -#ifdef __GNUC__ +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) # pragma GCC diagnostic error "-Wconversion" # pragma GCC diagnostic error "-Wshadow" # define ALLOW_IMPLICIT_CONVERSION \