[Speex-dev] Patch for Analog Devices compiler & fixed-point AGC
Robin Getz
rgetz at blackfin.uclinux.org
Wed Feb 20 11:15:44 PST 2008
On Tue 19 Feb 2008 14:29, Stephane Lesage pondered:
>
> Hi Jean-Marc,
>
> As I told you, bank is a reserved keyword in Analog Devices compiler for
> Blackfin architecture.
This seems lame, and maybe you need to change the header files inside VDSP++.
(This is pretty common for VDSP users to do when name space clashes occur
with open source software).
Poking at the VDSP docs, says that it uses bank() rather than the industry
standard __attribute(section("foo")) - so you can't change that with a header
file change :(
=== From the VDSP manual ====
Bank qualifiers can be attached to data declarations to indicate that the
data resides in particular memory banks. For example,
int bank(“blue”) *ptr1;
int bank(“green”) *ptr2;
=============================
is equivalent to the standard way of doing things:
int *ptr1 __attribute((section("red")));
int *ptr2 __attribute((section("green")));
> So we need to change the variables named bank to something else.
I agree with Jean-Marc - get ADI to fix it's toolchain.
-Robin
More information about the Speex-dev
mailing list