From: Paul Eggert Date: Wed, 6 Nov 2013 19:36:12 +0000 (-0800) Subject: * regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~923 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5d376b02ec9838cb0651ddc2f61025d196a77e5;p=emacs.git * regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2. --- diff --git a/src/ChangeLog b/src/ChangeLog index 07e27ac820c..37118e9bd6c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-11-06 Paul Eggert + + * regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2. + 2013-11-06 Stefan Monnier * xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and diff --git a/src/regex.c b/src/regex.c index 4ab98bbf098..615fb3fdf34 100644 --- a/src/regex.c +++ b/src/regex.c @@ -43,7 +43,7 @@ # endif #endif -#if 4 < __GNUC__ + (5 <= __GNUC_MINOR__) && ! defined __clang__ +#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) && ! defined __clang__ # pragma GCC diagnostic ignored "-Wunused-but-set-variable" #endif