octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common gripe for unavailable functions when library does not exist


From: Andreas Weber
Subject: Re: Common gripe for unavailable functions when library does not exist
Date: Fri, 15 Jan 2016 21:32:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0

Am 15.01.2016 um 20:42 schrieb Rik:

> Strategy 3) Declare macro that expands to error message and use that in
> place of error or gripe.
> 
> See audiodevinfo.cc which has
> 
> #define NO_PORTAUDIO_MSG \
>   error ("portaudio not found on your system and thus audio functionality
> is not present"); \
>   (void) args;  /* silence compiler warning "unused parameter" */

That was my change during code sprint. I tried to minimize the redundant
code for better readability and silence the warnings. I'll change this
as soon as we have a decision how to proceed, okay?

-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]