Project

General

Profile

Bug #4890

Compilation error with boost 1.69.0

Added by Davide Pesavento 9 months ago. Updated 9 months 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.

History

#1

Updated by Davide Pesavento 9 months ago

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

Raising priority since this is blocking NFD integrations.

#2

Updated by Davide Pesavento 9 months ago

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

Updated by Davide Pesavento 9 months ago

  • Status changed from Code review to Closed
#4

Updated by Davide Pesavento 9 months 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);
        ^
#5

Updated by Davide Pesavento 9 months ago

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

Updated by Davide Pesavento 9 months ago

  • Status changed from Code review to Closed

Also available in: Atom PDF