https://bugzilla.novell.com/show_bug.cgi?id=432433 User matz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=432433#c10 Michael Matz <matz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|matz@novell.com |dmueller@novell.com --- Comment #10 from Michael Matz <matz@novell.com> 2008-10-29 08:07:48 MDT --- If comment #7 indicates the line that GCC warns about, then GCC is correct: id = (id == wxNOT_FOUND) ? 7 : ++id; There's a sequence point after the evaluation of the conditional, but not any more. Hence, if the condition is false, this is equivalent to: id = ++id; which indeed is invalid C and C++. I don't know if the rpmlint messages are now fixed to indicate the right line number or not, but this is no GCC bug. Reassigning to Dirk for the line number problem, he might close this if that is fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.