forked from len0rd/rockbox
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
This commit is contained in:
parent
5c0cf6ef2c
commit
1456415cab
1 changed files with 3 additions and 2 deletions
|
@ -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
|
/* 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 **)
|
#define COMPLEXPTR *(const complex_t **)
|
||||||
#else
|
#else
|
||||||
#define COMPLEXPTR (const complex_t *)
|
#define COMPLEXPTR (const complex_t *)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue