[Bug 241838] New: arts-1.5.6-2: warning: right shift count >= width of type
https://bugzilla.novell.com/show_bug.cgi?id=241838 Summary: arts-1.5.6-2: warning: right shift count >= width of type Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package arts-1.5.6-2 with GNU compiler version 4.3 snapshot 20070126. The compiler said /usr/src/packages/BUILD/arts-1.5.6/flow/gsl/gslfilehash.c:48: warning: right shift count >= width of type The source code is h = HASH_LONG (hfile->mtime); I agree with the compiler. hfile->mtime has type int, which is 32 bits. Suggest code rework. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241838 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | Component|Other |KDE -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241838 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |dcb314@hotmail.com ------- Comment #1 from llunak@novell.com 2007-03-15 08:22 MST ------- Does it cause any actual problems? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241838 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|dcb314@hotmail.com | Resolution| |WONTFIX ------- Comment #2 from llunak@novell.com 2007-03-15 08:26 MST ------- Nah, it's harmless and arts is unmaintained anyway. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241838 dcb314@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Comment #3 from dcb314@hotmail.com 2007-03-15 11:07 MST ------- (In reply to comment #1)
Does it cause any actual problems?
I haven't got the code in front of me now, but if I recall correctly the compiler issues this warning for shifting a 32 bit int by 32 places or more. It sounds like trouble to me. I'm not sure of the value of keeping arts unmaintained. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241838 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX ------- Comment #4 from llunak@novell.com 2007-03-16 03:59 MST ------- See comment #2. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com