Aubio patches to fix a number of Linux build issues.
Paul Brossier
piem at altern.org
Sun Aug 14 13:58:00 CEST 2005
On Fri, Aug 12, 2005 at 12:49:32PM -0700, Mo DeJong wrote:
> Hi Paul
>
> Your aubio-0.2.0beta1 just needs this one patch to build on my Linux box.
added to the baz archive, thanks
> I also noticed that you are passing -Werror on the command line. This
> was generating a strange error:
>
> gcc -DHAVE_CONFIG_H -I. -I../../../aubio-0.2.0beta1/examples -I../src -I../../../aubio-0.2.0beta1/examples/../src -I../../../aubio-0.2.0beta1/examples/../ext -O2 -Wall -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-char-subscripts -Wno-unknown-pragmas -c ../../../aubio-0.2.0beta1/examples/utils.c
> cc1: warnings being treated as errors
> ../../../aubio-0.2.0beta1/examples/utils.c: In function `examples_common_init':
> ../../../aubio-0.2.0beta1/examples/utils.c:219: warning: value computed is not used
>
> I am not really sure what is up with that, but perhaps -Werror is a bit too strict.
that sounds strange: line 219 is a blank line :\
does it help to make an assignment in the above line? e.g.:
woodblock = new_fvec(buffer_size,1);
if (output_filename || usejack) {
isonset = (onsetfile = new_aubio_sndfile_ro(onset_filename)) ||
(onsetfile = new_aubio_sndfile_ro("sounds/woodblock.aiff")) ||
(onsetfile = new_aubio_sndfile_ro("../sounds/woodblock.aiff"));
}
thanks for the feedback,
piem
--
To unsubscribe, send mail to aubio-unsubscribe at piem.org.
More information about the aubio-user
mailing list