[Speex-dev] gcc-4.1: svn 10958 fix point build fails

sean darcy seandarcy2 at gmail.com
Sat Feb 25 16:02:25 PST 2006


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


More information about the Speex-dev mailing list