Bug 155328 - compiler warnings in kdeaddons
compiler warnings in kdeaddons
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: kdeaddons (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Petr Rockai
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-19 04:41 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-27 15:35:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-04-19 04:41:42 EDT
Description of problem:

I just tried to compile kdeaddons-3.4.0-2 from Redhat
Fedora Core development tree

The compiler said

1.

scopedisplayer.cpp:72: warning: operation on 'ptr' may be undefined

The source code is

	*(ptr++) -= ((*ptr & 0xf0f0f0f0ul) >> 4) + ((*ptr & 0xe0e0e0e0ul) >> 5);

I agree with the compiler. Suggest code rework.

2.

core.cpp:128: warning: operation on 'ptr' may be undefined
core.cpp:124: warning: operation on 'ptr' may be undefined

Duplicates.

3.

display.c:127: warning: operation on 'pdest' may be
undefined

The source code is

	*(pdest++) = *(pdest-1);

I agree with the compiler. Suggest code rework.




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Marcin Garski 2005-10-27 15:35:36 EDT
Thanks for the bug report.

bug has been reported upstream:
http://bugs.kde.org/show_bug.cgi?id=115208

I will notify when this bugs will be fixed upstream.

Note You need to log in before you can comment on or make changes to this bug.