Author

Topic: latest git does not compile with boost-1.55.0 (Read 1126 times)

legendary
Activity: 924
Merit: 1132
I had the same problem.  A boost template expanded to something that contains an operator redefinition that made the resolution ambiguous. 

From time to time I think about "deBoosting" the source, but because there's approximately zero chance of that change going through, I stop thinking about it...

sr. member
Activity: 336
Merit: 250
Code:
chainparams.cpp:217:40: error: use of overloaded operator '=' is ambiguous (with operand types 'std::vector' and
      'boost::assign_detail::generic_list')
        base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/bits/stl_vector.h:439:7: note: candidate function
      operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
      ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/bits/stl_vector.h:427:7: note: candidate function
      operator=(const vector& __x);
      ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/bits/stl_vector.h:461:7: note: candidate function
      operator=(initializer_list __l)
      ^
34 warnings and 10 errors generated.

tried with gcc-4.8.2 and clang-3.4.
Jump to: