[Speex-dev] Compile error (svn 10743)

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Jan 19 20:51:53 PST 2006


>  
> 1. modes_noglobals.c
> - nb_mode_new()

You shouldn't be compiling that file in the first place.

> 2. mdf.c
> - speex_echo_cancel()
>  
>    /* Update weight to prevent circular convolution (MDF / AUMDF) */
>    for (j=0;j<M;j++)
>    {
>       /* This is a variant of the Alternatively Updated MDF (AUMDF) */
>       /* Remove the "if" to make this an MDF filter */
>       if (j==M-1 || st->cancel_count%(M-1) == j)
>       {
>          spx_word16_t w[N];  <<<<-----

I'm aware of that. It's on the list of stuff to fix for 1.1.12 (it's a
C99 construct MS compilers doesn't like).
 
> 3. pcm_wrappers.c
>  
> typedef struct {
> } PCMMode;
>  
> static PCMMode pcmmode;
... 
> >d:\voip\mod_speexrefcode\pcm_wrapper.c(147) : error C2059: syntax
> error : '}'
> 1>d:\voip\mod_speexrefcode\pcm_wrapper.c(149) : error C2061: syntax
> error : identifier 'pcmmode'
> 1>d:\voip\mod_speexrefcode\pcm_wrapper.c(149) : error C2059: syntax
> error : ';'
...

I'd need mode info (on what your compiler doesn't like) to fix that one.

	Jean-Marc


More information about the Speex-dev mailing list