aubio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aubio patches to fix a number of Linux build issues.
- To: aubio@piem.org
- Subject: Re: Aubio patches to fix a number of Linux build issues.
- From: Mo DeJong <mdejong@uncounted.org>
- Date: Sun, 14 Aug 2005 10:36:14 -0700
- In-reply-to: <20050814115800.GB4148@localhost>
- Organization: None
- References: <20050808152117.2a724bde.mdejong@uncounted.org> <20050808152854.32c1e5ef.mdejong@uncounted.org> <20050809235028.GA501@localhost> <20050812124932.7ceca5a1.mdejong@uncounted.org> <20050814115800.GB4148@localhost>
> > ../../../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")); > } I messed around with it a bit more and I think this is the right fix: woodblock = new_fvec(buffer_size,1); if (output_filename || usejack) { (void) ((onsetfile = new_aubio_sndfile_ro(onset_filename)) || (onsetfile = new_aubio_sndfile_ro("sounds/woodblock.aiff")) || (onsetfile = new_aubio_sndfile_ro("../sounds/woodblock.aiff"))); } I think your fix would work too. cheers Mo -- To unsubscribe, send mail to aubio-unsubscribe@piem.org.
- References:
- Aubio patches to fix a number of Linux build issues.
- From: Mo DeJong <mdejong@uncounted.org>
- Re: Aubio patches to fix a number of Linux build issues.
- From: Mo DeJong <mdejong@uncounted.org>
- Re: Aubio patches to fix a number of Linux build issues.
- From: Paul Brossier <piem@altern.org>
- Re: Aubio patches to fix a number of Linux build issues.
- From: Mo DeJong <mdejong@uncounted.org>
- Re: Aubio patches to fix a number of Linux build issues.
- From: Paul Brossier <piem@altern.org>
- Aubio patches to fix a number of Linux build issues.
- Prev by Date: Re: Aubio patches to fix a number of Linux build issues.
- Next by Date: Re: aubio
- Previous by thread: Re: Aubio patches to fix a number of Linux build issues.
- Next by thread: Re: Aubio patches to fix a number of Linux build issues.
- Index(es):