[Speex-dev] Compile failure current SVN

Steve Kann stevek at stevek.com
Fri Nov 4 15:16:15 PST 2005


Thorvald Natvig wrote:

>
> Current SVN compilation fails on Win32 (Intel C++ compiler 9.0):
>
> ..\..\libspeex\mdf.c(317): error: declaration may not appear after 
> executable statement in block
> float adapt_rate;
>
> Just moved it up to the variable declaration block to solve it 
> locally, but as it's not valid C, I thought I'd mention it ;)


Where have you been the past 6 years? It is valid C99 (even if it's 
confusing for non-C++-minded people).

here's an old article from 2001 about it:

http://www.kuro5hin.org/story/2001/2/23/194544/139

-SteveK

>
> PS: With the same compiler, AGC fails horribly (Zlast goes to several 
> million). Not quite sure where to begin with debugging, and the 
> problem is "solved" by switching to the MSVC compiler, but that 
> compiler doesn't produce as fast code.
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>



More information about the Speex-dev mailing list