Building svn 10958 on amd64, gcc-4.1: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/include -O2 -fPIC -funswitch-loops -fvisibility-inlines-hidden -march=k8 -ftree-vectorize -pipe -mfpmath=sse -O3 -msse -MT filters.lo -MD -MP -MF .deps/filters.Tpo -c filters.c -fPIC -DPIC -o .libs/filters.o cc1: warning: command line option "-fvisibility-inlines-hidden" is valid for C++/ObjC++ but not for C In file included from filters.c:45: filters_sse.h:135: error: conflicting types for 'filter_mem2' filters.h:62: error: previous declaration of 'filter_mem2' was here filters_sse.h:234: error: conflicting types for 'iir_mem2' filters.h:64: error: previous declaration of 'iir_mem2' was here filters_sse.h:331: error: conflicting types for 'fir_mem2' filters.h:63: error: previous declaration of 'fir_mem2' was here filters.c: In function 'syn_percep_zero': filters.c:350: warning: passing argument 1 of 'iir_mem2' from incompatible pointer type filters.c:350: warning: passing argument 2 of 'iir_mem2' from incompatible pointer type filters.c:350: warning: passing argument 3 of 'iir_mem2' from incompatible pointer type filters.c:350: warning: passing argument 6 of 'iir_mem2' from incompatible pointer type ............. This error ONLY if --enable-fixed-point. sean
Jean-Marc Valin
2006-Mar-01 03:48 UTC
[Speex-dev] gcc-4.1: svn 10958 fix point build fails
I'm not sure what you're trying to achieve here, but SSE and fixed-point are mutually exclusive. Jean-Marc On Sat, 2006-02-25 at 19:02 -0500, sean darcy wrote:> Building svn 10958 on amd64, gcc-4.1: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. > -I/usr/include -O2 -fPIC -funswitch-loops -fvisibility-inlines-hidden > -march=k8 -ftree-vectorize -pipe -mfpmath=sse -O3 -msse -MT filters.lo > -MD -MP -MF .deps/filters.Tpo -c filters.c -fPIC -DPIC -o > .libs/filters.o > cc1: warning: command line option "-fvisibility-inlines-hidden" is > valid for C++/ObjC++ but not for C > In file included from filters.c:45: > filters_sse.h:135: error: conflicting types for 'filter_mem2' > filters.h:62: error: previous declaration of 'filter_mem2' was here > filters_sse.h:234: error: conflicting types for 'iir_mem2' > filters.h:64: error: previous declaration of 'iir_mem2' was here > filters_sse.h:331: error: conflicting types for 'fir_mem2' > filters.h:63: error: previous declaration of 'fir_mem2' was here > filters.c: In function 'syn_percep_zero': > filters.c:350: warning: passing argument 1 of 'iir_mem2' from > incompatible pointer type > filters.c:350: warning: passing argument 2 of 'iir_mem2' from > incompatible pointer type > filters.c:350: warning: passing argument 3 of 'iir_mem2' from > incompatible pointer type > filters.c:350: warning: passing argument 6 of 'iir_mem2' from > incompatible pointer type > ............. > > This error ONLY if --enable-fixed-point. > > sean > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
Jean-Marc Valin wrote:> I'm not sure what you're trying to achieve here, but SSE and fixed-point > are mutually exclusive. > > Jean-MarcAh yes. It was late. sorry. I assume fixed point will be faster. Do 64 bit machines ( amd64) make a difference ( greater accuracy) ? sean