Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5076

Compiler warnings in qrect.h/qtransform.h

    XMLWordPrintable

Details

    Description

      Platform: Linux

      Platform details: Mandriva

      Compilers: GCC

      Compiler details:

      ...ws/git-R04/nova2000> gcc -v

      Using built-in specs. 
      Target: i586-manbo-linux-gnu 
      Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp 
      Thread model: posix 
      gcc version 4.2.3 (4.2.3-6mnb1) 

      Steps to reproduce / test case:

      When building own software using
      .../Qt-4.5.3/include/QtCore/qrect.h
      .../Qt-4.5.3/include/QtGui/qtransform.h
      and others
      the compiler flushes out numerous warnings messages like
      warning: comparing floating point with == or != is unsafe

      This is very annoying since we have decided to not allow warnings - hence to remove them.
      The warnings from the qt library make it very difficult to see other warnings.

      Please remove the causes of these warnings - it is also bad programming practice to allow this warning.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes