Bug 57468 - (Apparently) bogus warnings while trying to compile qt 3.0.1
(Apparently) bogus warnings while trying to compile qt 3.0.1
Status: CLOSED WONTFIX
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-13 08:00 EST by Bernhard Rosenkraenzer
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-02 15:53:29 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 Bernhard Rosenkraenzer 2001-12-13 08:00:31 EST
Description of Problem:
kernel/qpngio.cpp: In member function `bool 
QPNGImageWriter::writeImage(const
   QImage&, int, int, int)':
kernel/qpngio.cpp:395: warning: argument `int quality' might be clobbered 
by
   `longjmp' or `vfork'
kernel/qpngio.cpp:395: warning: argument `int off_x' might be clobbered by
   `longjmp' or `vfork'
kernel/qpngio.cpp:395: warning: argument `int off_y' might be clobbered by
   `longjmp' or `vfork'

The code causing these warnings is:
394 bool QPNGImageWriter::writeImage(const QImage& image, int quality, 
int off_x, int off_y)
395 {

The method doesn't do anything odd with these variables; unless I'm 
completely mistaken, the warnings appear to be bogus.

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

How Reproducible:
100%

Steps to Reproduce:
1. Try to build Qt 3.0.1
Comment 1 Jakub Jelinek 2001-12-18 11:09:56 EST
Can I have preprocessed source which triggers this? Thanks.
Comment 2 Jakub Jelinek 2004-10-02 15:53:29 EDT
No testcase, closing.

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