[pkg-boost-devel] Bug#444359: libboost-test-dev: unusable with gcc-4.3

Jiří Paleček jpalecek at web.de
Fri Sep 28 00:02:21 UTC 2007


Package: libboost-test-dev
Version: 1.34.1-2
Severity: important
File: /usr/include/boost/test/test_tools.hpp

Hello,

the file test_tools.hpp uses the symbol CHAR_BIT, however, does not  
include the definition for it. This means you cannot use it with gcc-4.3,  
because gcc-4.3 will not define it (like gcc-4.2) (it worked in older gcc  
because gcc used the macro in other headers, which pulled the definition  
in).

To fix this, the file should #include <climits>.

Regards
     Jiri Palecek

-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.3-rt8 (PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL  
set to cs_CZ)
Shell: /bin/sh linked to /bin/dash

Versions of packages libboost-test-dev depends on:
ii  libboost-dev                  1.34.1-2   Boost C++ Libraries  
development fi
ii  libboost-test1.34.1           1.34.1-2   components for writing and  
executi

libboost-test-dev recommends no packages.

-- no debconf information


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/





More information about the pkg-boost-devel mailing list