[Speex-dev] Latest mdf update breaks C++ compiles

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Fri Dec 9 13:31:21 PST 2005


> include/speex/speex_echo.h:42: error: ISO C++ forbids declaration of 
> `SpeexEchoState' with no type
> 
> I changed the line to just be
> 
> struct SpeexEchoState;

Actually, that "fix" breaks the C compile. 

> which works for C++. A proper workaround is probably required.

Definitely. I'm open to suggestions. Anyone knows what the proper way
is? Ideally, I'd like mdf.c to be able to #include "speex_echo.h" too.

	Jean-Marc


More information about the Speex-dev mailing list