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

Bug#594436: libqt3-headers: use of ptrdiff_t without qualification/include



Package: libqt3-headers
Version: 3:3.3.8b-7
Severity: normal


When building with the latest gcc-snapshot I cannot compile a file that
includes qvaluelist.h.  With a test.cpp file with just the line

#include <qvaluelist.h>

I get:

/usr/lib/gcc-snapshot/bin/g++ -I/usr/include/qt3 -c test.cpp 
In file included from test.cpp:1:0:
/usr/include/qt3/qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a
type
/usr/include/qt3/qvaluelist.h:167:13: error: 'ptrdiff_t' does not name a
type
In file included from test.cpp:1:0:
/usr/include/qt3/qvaluelist.h:427:13: error: 'ptrdiff_t' does not name a
type

This is with gcc version 4.6.0 20100814 (experimental) [trunk revision 163239]
(Debian 20100814-1) 



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

libqt3-headers depends on no packages.

Versions of packages libqt3-headers recommends:
ii  libqt3-mt-dev                 3:3.3.8b-7 Qt development files (Threaded)

libqt3-headers suggests no packages.

-- no debconf information



Reply to: