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: Fri, 12 Aug 2005 12:49:32 -0700
- In-reply-to: <20050809235028.GA501@localhost>
- Organization: None
- References: <20050808152117.2a724bde.mdejong@uncounted.org> <20050808152854.32c1e5ef.mdejong@uncounted.org> <20050809235028.GA501@localhost>
Hi Paul Your aubio-0.2.0beta1 just needs this one patch to build on my Linux box. 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. thanks much Mo DeJong diff -r -u clean_aubio-0.2.0beta1/examples/utils.h aubio-0.2.0beta1/examples/utils.h --- clean_aubio-0.2.0beta1/examples/utils.h Fri Aug 12 12:35:19 2005 +++ aubio-0.2.0beta1/examples/utils.h Fri Aug 12 12:40:33 2005 @@ -26,9 +26,15 @@ #include <aubio.h> #include <aubioext.h> +#ifdef HAVE_C99_VARARGS_MACROS #define debug(...) if (verbose) fprintf (stderr, __VA_ARGS__) #define errmsg(...) fprintf (stderr, __VA_ARGS__) #define outmsg(...) fprintf (stdout, __VA_ARGS__) +#else +#define debug(format, args...) if (verbose) fprintf(stderr, format , ##args) +#define errmsg(format, args...) fprintf(stderr, format , ##args) +#define outmsg(format, args...) fprintf(stdout, format , ##args) +#endif extern int frames; extern int verbose; -- To unsubscribe, send mail to aubio-unsubscribe@piem.org.
- Follow-Ups:
- 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.
- 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>
- Aubio patches to fix a number of Linux build issues.
- Prev by Date: Re: new aubio 0.2.0beta1 - please test
- Next by Date: Re: new aubio 0.2.0beta1 - please test
- 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):