Package: libsigc++-2.0-dev
Version: 2.2.4.2-1
Severity: normal
File: /usr/include/sigc++-2.0/sigc++/signal_base.h
Tags: patch

When trying to use the library with GCC 4.6:

/usr/include/sigc++-2.0/sigc++/signal.h:37:11: error: ‘size_t’ does not name a 
type
/usr/include/sigc++-2.0/sigc++/signal.h:38:11: error: ‘ptrdiff_t’ does not name 
a type

Adding #include <stddef.h> to the top of signal.h fixes the problem.

I'm not sure if this is the same as #609922. The fix is different
anyway.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (545, 'stable'), (540, 'squeeze-updates'), (530, 'testing'), 
(520, 'unstable'), (510, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsigc++-2.0-dev depends on:
ii  libsigc++-2.0-0c2a            2.2.4.2-1  type-safe Signal Framework for C++
ii  pkg-config                    0.25-1.1   manage compile and link flags for 

libsigc++-2.0-dev recommends no packages.

Versions of packages libsigc++-2.0-dev suggests:
pn  libsigc++-2.0-doc             <none>     (no description available)

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/include/sigc++-2.0/sigc++/signal_base.h (from 
libsigc++-2.0-dev package)



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to