[Bug 498273] New: qinternet-0.75_git200804251643-57.42: undefined code
http://bugzilla.novell.com/show_bug.cgi?id=498273 Summary: qinternet-0.75_git200804251643-57.42: undefined code Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to build Factory package qinternet-0.75_git200804251643-57.42 and the build said kinternet.cpp:894: warning: operation on '((KInternet*)this)->KInternet::transfer_icon_nr' may be undefined The source code is transfer_icon_nr = ++transfer_icon_nr % 5; I agree with the compiler. Better code would be transfer_icon_nr = (transfer_icon_nr + 1) % 5; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498273 Zheng Chen <zchen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zchen@novell.com AssignedTo|bnc-team-screening@forge.pr |lnussel@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498273 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498273#c1 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |meissner@novell.com Info Provider| |dcb314@hotmail.com --- Comment #1 from Ludwig Nussel <lnussel@novell.com> 2009-04-29 01:31:43 MDT --- Indeed. What compiler/options did you use? There is no such compiler warning in the build logs. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498273 User dcb314@hotmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498273#c2 --- Comment #2 from David Binderman <dcb314@hotmail.com> 2009-04-30 13:23:52 MDT --- (In reply to comment #1)
What compiler/options did you use?
gcc 4.5 snapshot 20090423, with options -g -O3 -Wall march=native Of course, this is unsupported. I would expect ordinary gcc with flag -Wall to find this bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498273 User dcb314@hotmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498273#c3 David Binderman <dcb314@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|dcb314@hotmail.com | --- Comment #3 from David Binderman <dcb314@hotmail.com> 2009-04-30 13:24:20 MDT --- (In reply to comment #1)
What compiler/options did you use?
gcc 4.5 snapshot 20090423, with options -g -O3 -Wall march=native Of course, this is unsupported. I would expect ordinary gcc with flag -Wall to find this bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498273 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498273#c4 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Ludwig Nussel <lnussel@novell.com> 2009-05-04 01:36:45 MDT --- (In reply to comment #3)
(In reply to comment #1)
What compiler/options did you use?
gcc 4.5 snapshot 20090423, with options -g -O3 -Wall march=native
Ah, ok. So the 11.1 compiler just doesn't detect that error yet. Fixed in Factory, thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com