Richard Harvey Chapman <hchapman@xxxxxxxx> writes: > Ian Lance Taylor wrote: >> That's why gcc warns about it, with -Wparentheses, which is part of >> -Wall. > Interesting. I've never noticed that. I guess it is because g++ > doesn't warn about it. Is this a bug in g++? It was a bug, yes. It was fixed in gcc 4.3. Ian