[Boost-bugs] [Boost C++ Libraries] #4468: [test] compilation error with gcc version 4.4.4

Subject: [Boost-bugs] [Boost C++ Libraries] #4468: [test] compilation error with gcc version 4.4.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-26 09:59:53


#4468: [test] compilation error with gcc version 4.4.4
-------------------------------------------------+--------------------------
 Reporter: Anton Ivanov <anton.ai81@…> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: test |
-------------------------------------------------+--------------------------
 with this program:

 {{{#!c++
 #define BOOST_TEST_MODULE const_string test
 #define BOOST_TEST_DYN_LINK
 #include <boost/test/unit_test.hpp>

 boost::unit_test::test_suite* init_unit_test_suite( int argc, char* argv[]
 ){
     return 0;
 }

 }}}

 we have bug in compilation by gcc 4.4.4:

 {{{
 g++ -c -o utf-1.o utf-1.cpp
 In file included from /usr/local/include/boost/test/unit_test.hpp:19,
                  from utf-1.cpp:11:
 /usr/local/include/boost/test/test_tools.hpp: In function
 â€˜boost::test_tools::predicate_result
 boost::test_tools::tt_detail::bitwise_equal_impl(const Left&, const
 Right&)’:
 /usr/local/include/boost/test/test_tools.hpp:567: error: ‘CHAR_BIT’ was
 not declared in this scope
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4468>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC