[Speex-dev] Error in pcm_wrapper.c release 1.1.12

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Apr 4 22:52:05 PDT 2006


> > Please, I need your help!
> > I'm not able to compile....
> 
> > typedef struct {
> > } PCMMode;
> 
> It's wrong in pure C, there must be at least one field.

Then just add int dummy. Actually, this code is pretty much useless at
the moment, so you can simply remove it from the build and it'll work.

> 2All: can't compile libspeex from trunk with Microsoft compiler. The first problem is the one mentioned above, and the second is absence of keyword 'inline' when compiling as C code (__inline__ must be used instead, may be with some #ifdef's/#define's?).

Your project file should be using the win32/config.h header and define
HAVE_CONFIG_H

	Jean-Marc


More information about the Speex-dev mailing list