monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] 'warning: unused parameter'


From: Stephen Leake
Subject: Re: [Monotone-devel] 'warning: unused parameter'
Date: Wed, 30 Apr 2014 14:00:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

Václav Zeman <address@hidden> writes:

> You could special case GCC and introduce your own macro that expands
> to the "unused" attribute in case of GCC:
> http://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Function-Attributes.html#index-g_t_0040code_007bunused_007d-attribute_002e-3000

that page says it is for functions, not function arguments.

-- 
-- Stephe



reply via email to

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