[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 Wed, 10 Mar 2010 22:17:02 -0500
with message-id <9f694b821003101917x2d868ee7g7e4a8cc4b8f879d8@mail.gmail.com>
and subject line Closing bug # 311648
has caused the Debian Bug report #311648,
regarding Warning clean on libqt3-headers 3.3.4-3
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

311648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311648
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- 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 ---
Bug fixed a long time ago. Closing the report

--- End Message ---

Reply to: