bug-ncurses
[Top][All Lists]
Advanced

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

Re: gcc3.4 warnings


From: Thomas Dickey
Subject: Re: gcc3.4 warnings
Date: Sat, 15 Jan 2005 13:23:41 -0500
User-agent: Mutt/1.5.6+20040907i

On Thu, Jan 13, 2005 at 01:12:01PM +0300, Stanislav Ievlev wrote:
> On:
> #define wattr_set(win,a,p,opts) ((win)->_attrs = (((a) & ~A_COLOR) | 
> COLOR_PAIR(p)), OK)
> 
> Compiller warning:
> right-hand operand of comma has no effect

I'm missing something - a #define by itself shouldn't do that.  I have
gcc 3.4.3 installed for testing, and did notice that it's treating the
-Wunused stuff differently (not on ncurses though).  I don't see it
producing this warning.  Perhaps you're using some warning option that
I'm not?

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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