On Wed, Apr 04, 2007 at 11:03:55AM +0200, Andreas Pakulat wrote: > Does it also barf on Q_FOREACH macro instead of the foreach? I doubt so, > because IIRC Q_FOREACH is used a couple of times in kdelibs and/or > kdebase. If that is the case the "right" fix would be just to convert > all foreach usages into Q_FOREACH. > > Andreas look closer, it's the exact same stuff. It just happens to not be happy with this construct with that specific class (and possibly other complicated classes).