Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

a rather lame attempt to silence the gcc 4.2.3 warnings on what seems to be legitimate code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16237 a1c6a512-1295-4272-9138-f99709370657

+11 -2
+11 -2
apps/codecs/libfaad/cfft.c
··· 847 847 } 848 848 } 849 849 850 + #if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ == 3) 851 + /* To me (Daniel S) this looks like a compiler error/problem so we only 852 + silence it this way on this specific compiler version we know causes this */ 853 + #define COMPLEXPTR *(const complex_t **) 854 + #else 855 + #define COMPLEXPTR (const complex_t *) 856 + #endif 857 + 858 + 850 859 void cfftf(cfft_info *cfft, complex_t *c) 851 860 { 852 - cfftf1neg(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, (const complex_t*)cfft->tab, -1); 861 + cfftf1neg(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, COMPLEXPTR cfft->tab, -1); 853 862 } 854 863 855 864 void cfftb(cfft_info *cfft, complex_t *c) 856 865 { 857 - cfftf1pos(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, (const complex_t*)cfft->tab, +1); 866 + cfftf1pos(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, COMPLEXPTR cfft->tab, +1); 858 867 } 859 868 860 869 static void cffti1(uint16_t n, complex_t *wa, uint16_t *ifac)