octave-maintainers
[Top][All Lists]
Advanced

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

Re: lo-cutils.c warning message


From: Daniel J Sebald
Subject: Re: lo-cutils.c warning message
Date: Wed, 29 Aug 2012 16:44:38 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 08/29/2012 04:26 PM, John W. Eaton wrote:
On 29-Aug-2012, Daniel J Sebald wrote:

| Here's a patch to condition out a local function in lo-cutils.c and rid
| the following warning:
|
| ../../octave/liboctave/lo-cutils.c:83:1: warning:
| 'gripe_missing_wait_macro' defined but not used

Declaring it "static inline" also works for me to avoid the warning.
Does that work for you?

Yes. The routine is short and there may only be a couple inclusions depending upon all those defines, so making it inline should add very little to codespace. Go with that.

Dan


reply via email to

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