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

Thorvald Natvig speex at natvig.com
Wed Dec 7 11:58:36 PST 2005


The latest SVN update breaks inclusion of speex_echo.h in C++ compilers.

MinGW complains with:

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;

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



More information about the Speex-dev mailing list