Bug 114747

Summary: address of temporary
Product: [Fedora] Fedora Reporter: d.binderman
Component: kdegamesAssignee: Than Ngo <than>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: mgarski
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-19 16:35:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-02-02 11:22:44 UTC
Description of problem:

I just tried to compile package kdegames-3.1.4-2 from Redhat
Fedora Core 1.

The compiler said

1.

rattler.cpp:125: warning: taking address of temporary

The offending source code is

    bitBlt(this, 0, 0, &pix->levelPix(), 0, 0, rect().width(),
rect().height());

Suggest put the return value from levelPix into a local variable
to enable it's address to be taken.



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 2004-10-19 16:35:46 UTC
Thank you for the bug report. This bug should be fixed by KDE
developers so everyone could use fixed version (not just Fedora Core
users).

I've file a bug report in KDE bugzilla:
https://bugs.kde.org/show_bug.cgi?id=91699

If you want to follow what happens to the bug, you can add yourself to
the upstream report.

Comment 2 Ngo Than 2004-10-19 20:37:23 UTC
Marcin, great work. Thanks for doing kde bugzilla!

Comment 3 Marcin Garski 2004-11-04 21:37:51 UTC
Fixed in KDE CVS!