[Speex-dev] Compile failure current SVN
Thorvald Natvig
speex at natvig.com
Fri Nov 4 16:12:13 PST 2005
>> 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).
"restict" is also valid C99, but as that was removed for compatibility
with non-compliant compilers, I thought one might wish to fix this as
well, especially as it's the only place in the code it is used.
More information about the Speex-dev
mailing list