[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
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
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
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
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
(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