[ardour-dev] problems with SSE code for x86_64

Paul Davis paul at linuxaudiosystems.com
Mon Feb 6 05:43:05 PST 2006


(not the asm itself, but the context in which its used)

libs/ardour/mix.cc: In function 'float debug_compute_peak
(ARDOUR::Sample*, jack_nframes_t, float)':
libs/ardour/mix.cc:33: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc: In function 'void debug_apply_gain_to_buffer
(ARDOUR::Sample*, jack_nframes_t, float)':
libs/ardour/mix.cc:43: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc: In function 'void debug_mix_buffers_with_gain
(ARDOUR::Sample*, ARDOUR::Sample*, jack_nframes_t, float)':
libs/ardour/mix.cc:53: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc:57: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc:57: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc: In function 'void debug_mix_buffers_no_gain
(ARDOUR::Sample*, ARDOUR::Sample*, jack_nframes_t)':
libs/ardour/mix.cc:68: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc:72: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
libs/ardour/mix.cc:72: error: cast from 'ARDOUR::Sample*' to 'int' loses
precision
scons: *** [libs/ardour/mix.o] Error 1
scons: building terminated because of errors.

how fun to reports errors instead of trying to fix them :)

--p





More information about the Ardour-Dev mailing list