On Sat, Nov 27, 2010 at 12:09 PM, Christian Lohmaier <[email protected]> wrote: > Hi *, > > On Sat, Nov 27, 2010 at 5:40 PM, Takeshi Abe <[email protected]> wrote: >> [cppcheck patches] > > I'm curious: Why does cppcheck "complain" about "for.... i++" and > suggests/demands pre-increment instead (for ... ++i)? > > Is there any noticable difference?
In my opinion: If there is a noticeable difference -- in a place where the 2 forms are indeed interchangeable -- then this is a bug to be filed with the compiler. And if they are not interchangeable in the context, then cppcheck should be silent.... Norbert > > ciao > Christian > _______________________________________________ > LibreOffice mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/libreoffice > _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
