From 1456415cabcdfcaadd314dfc4e1330c4826030ac Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Feb 2008 00:02:41 +0000 Subject: [PATCH] make the gcc work-around somewhat more inclusive for gcc 4.2.X where X is 1 or bigger git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16238 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/cfft.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/codecs/libfaad/cfft.c b/apps/codecs/libfaad/cfft.c index 0391b1c0ff..07859756e0 100644 --- a/apps/codecs/libfaad/cfft.c +++ b/apps/codecs/libfaad/cfft.c @@ -847,9 +847,10 @@ static INLINE void cfftf1neg(uint16_t n, complex_t *c, complex_t *ch, } } -#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ == 3) +#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ >= 1) /* To me (Daniel S) this looks like a compiler error/problem so we only - silence it this way on this specific compiler version we know causes this */ + silence it this way on this specific compiler version we know causes this + Known to happen for 4.2.1 until 4.2.3 */ #define COMPLEXPTR *(const complex_t **) #else #define COMPLEXPTR (const complex_t *)