[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#311648: marked as done (Warning clean on libqt3-headers 3.3.4-3)

Your message dated Mon, 22 Oct 2007 11:28:58 +0200
with message-id <471C6D5A.9010800@bzed.de>
and subject line Warning clean on libqt3-headers 3.3.4-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libqt3-headers
Version: 3.3.4-3

Here's a minor bug report(Warning clean) and an associated patch for 
libqt3-headers 3.3.4-3.

I use  libqt3-headers 3.3.4-3 as shown :
$dpkg -l | grep libqt
ii  libqt2         2.3.1-22       Qt GUI Library (runtime version).
ii  libqt3-dev     3.3.4-3        Qt development files
ii  libqt3-headers 3.3.4-3        Qt3 header files
ii  libqt3c102     3.3.4-3        Qt GUI Library, Version 3
ii  libqt3c102-mt  3.3.4-3        Qt GUI Library (Threaded runtime version), V
ii  libqtcups2     2.0-4          Qt interface library for CUPS
ii  libqthreads-12 1.6.7-1        QuickThreads library for Guile
ii  libqttestrunne 1.10.2-3       Unit Testing Library for C++

While compiling with a higher warning level, I came on the following warning :

usr/include/qt3/qmemarray.h: In member function `QMemArray<type>&
   QMemArray<type>::duplicate(const type*, unsigned int) [with type = char]':
/usr/include/qt3/qcstring.h:252:   instantiated from here
/usr/include/qt3/qmemarray.h:85: warning: cast from `const char*' to `char*'
   discards qualifiers from pointer target type

A simple patch to this is to remove the cast in qmemarray.h as this :

<       { return (QMemArray<type>&)QGArray::duplicate(a,n*sizeof(type)); }
>       { return 
(QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); }

Hope this helps.
Thanks for all your good work, have a nice day.

--- End Message ---
--- Begin Message ---
Hash: SHA512


thanks for your report. This was fixed somewhere between 3.3.4-3 and
3.3.7-9 - as I don't know when exactly, I'm closing this bug without
specifying the version number where the bug was fixed.


- --
Bernd Zeimetz
<bernd@bzed.de>                         <http://bzed.de/>
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


--- End Message ---

Reply to: