Bug 115208 - Compiler warnings operation may be undefined
Summary: Compiler warnings operation may be undefined
Status: RESOLVED UNMAINTAINED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Charles Samuels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 18:37 UTC by Marcin Garski
Modified: 2012-07-02 16:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Garski 2005-10-27 18:37:05 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) 
OS:                Linux

GCC gives following warnings, that should be fixed:

1. noatun-plugins/blurscope/

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

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

2. noatun-plugins/blurscope/synaescope/

core.cpp:128: warning: operation on ‘ptr’ may be undefined

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

3. noatun-plugins/blurscope/tippercanoe/

core.cpp:124: warning: operation on ‘ptr’ may be undefined

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

4. noatun-plugins/blurscope/tyler/

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

127: *(pdest++) = *(pdest-1);
Comment 1 Marcin Garski 2005-10-27 18:41:29 UTC
Ups, remove blurscope/ from point 2-4.
Comment 2 Christoph Feck 2012-07-02 16:27:13 UTC
noatun has not been part of the KDE 4 release and is no longer maintained.

KDE now offers Dragon as a video player and JuK as a music player. Additionally, other popular KDE players have been ported to KDE 4, such as Amarok or Kaffeine.

If this issue is still applicable to KDE 4 applications, please add a comment or file a new report.

For more information, see http://websvn.kde.org/?view=revision&revision=718046