>>> 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 _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug