[Speex-dev] Patch for Analog Devices compiler & fixed-point AGC

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Fri Feb 22 02:48:15 PST 2008


>> The format's fine, but I don't exactly like having to change all the
>> names just because some compiler somewhere thought it was a good idea to
>> redefine keywords. How about you just compile with -Dbank=bnk ?
> 
> Yep it's working.
> 
> What about including these 3 lines in arch.h ?
> 
> #ifdef __ADSPBLACKFIN__
> #define bank bnk
> #endif


Now that's a bit more reasonable (and slightly less intrusive than your
previous patch!). But are you sure __ADSPBLACKFIN__ is the right thing
to check. For instance, is it enabled by gcc? (only want to enable it
for VDSP)

Cheers,

	Jean-Marc


More information about the Speex-dev mailing list