emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: warnings compiling Emacs 22 on amd64


From: Stefan Monnier
Subject: Re: warnings compiling Emacs 22 on amd64
Date: Tue, 12 Dec 2006 14:20:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

>>> I looked at the gcc 4.1 info page, and I found no warnings to turn off
>>> that are specific for this case (I looked for the string "compar").
>> Yes, I believe there's no way.  Which is why I think the least bad course
>> is -Wno-foo.
> ???

Oops, sorry, I misunderstood at first reading.  We should ask the gcc
people what thet recommend.

>> if (foo = bar) ...
>> 
>> gcc warns that you may have meant == instead of =, so if you really meant =
>> you can just write
>> 
>> if ((foo = bar)) ...

> Probably this is just because it is then clear that the logical expression
> is the result of the expression inside the parentheses.  I mean, not in
> fact a special case for gcc.

Probably, yes.


        Stefan




reply via email to

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