Project

General

Profile

Actions

Bug #4890

closed

Compilation error with boost 1.69.0

Added by Davide Pesavento over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

../daemon/face/udp-channel.cpp:172:45: error: assigning to 'bool' from incompatible type 'const boost::logic::tribool'
    options.allowCongestionMarking = params.wantCongestionMarking;
                                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
1 error generated.
Actions #1

Updated by Davide Pesavento over 5 years ago

  • Assignee set to Davide Pesavento
  • Priority changed from Normal to Urgent

Raising priority since this is blocking NFD integrations.

Actions #2

Updated by Davide Pesavento over 5 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Davide Pesavento over 5 years ago

  • Status changed from Code review to Closed
Actions #4

Updated by Davide Pesavento over 5 years ago

  • Status changed from Closed to In Progress
  • % Done changed from 100 to 70

Also in ndn-cxx unit tests:

In file included from ../tests/unit/security/v2/validator-config/checker.t.cpp:27:
In file included from ../tests/boost-test.hpp:30:
In file included from /usr/local/include/boost/test/unit_test.hpp:18:
In file included from /usr/local/include/boost/test/test_tools.hpp:46:
In file included from /usr/local/include/boost/test/tools/old/impl.hpp:20:
/usr/local/include/boost/test/tools/assertion_result.hpp:57:54: error: no matching constructor for initialization of 'class readonly_property65'
    assertion_result( BoolConvertable const& pv_ ) : p_predicate_value( !!pv_ ) {}
                                                     ^                  ~~~~~
/usr/local/include/boost/test/tools/old/impl.hpp:107:12: note: in instantiation of function template specialization 'boost::test_tools::assertion_result::assertion_result<boost::logic::tribool>' requested here
    return left == right;
           ^
/usr/local/include/boost/test/tools/old/impl.hpp:130:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl<boost::logic::tribool, bool>' requested here
        return equal_impl( left, right );
               ^
/usr/local/include/boost/test/tools/old/impl.hpp:145:16: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::call_impl<boost::logic::tribool, bool>' requested here
        return call_impl( left, right, left_is_array() );
               ^
/usr/local/include/boost/test/tools/old/impl.hpp:92:50: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::equal_impl_frwd::operator()<boost::logic::tribool, bool>' requested here
BOOST_PP_REPEAT( BOOST_TEST_MAX_PREDICATE_ARITY, IMPL_FRWD, _ )
                                                 ^
/usr/local/include/boost/preprocessor/repetition/repeat.hpp:29:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
                         ^
/usr/local/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
/usr/local/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
#    define BOOST_PP_CAT_I(a, b) a ## b
                                 ^
<scratch space>:32:1: note: expanded from here
BOOST_PP_REPEAT_1
^
../tests/unit/security/v2/validator-config/checker.t.cpp:350:9: note: in instantiation of function template specialization 'boost::test_tools::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd, boost::logic::tribool, bool>' requested here
        BOOST_CHECK_EQUAL(dataState->getOutcome(), !expectedOutcome);
        ^
Actions #5

Updated by Davide Pesavento over 5 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 70 to 100
Actions #6

Updated by Davide Pesavento over 5 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF