Skip to content

Missing list of build version dependencies #1

@nopdotcom

Description

@nopdotcom

I bet I’m building with too new a version of Boost. Which version should I use?

$ brew info boost
boost: stable 1.60.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.60.0_1 (11,139 files, 436.5M) *

The build starts erroring out after some warnings.

[…] 
In file included from src/bitcoinrpc.cpp:22:
In file included from /usr/local/opt/boost/include/boost/iostreams/stream.hpp:21:
In file included from /usr/local/opt/boost/include/boost/iostreams/stream_buffer.hpp:22:
In file included from /usr/local/opt/boost/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
In file included from /usr/local/opt/boost/include/boost/iostreams/detail/push.hpp:24:
In file included from /usr/local/opt/boost/include/boost/iostreams/detail/resolve.hpp:26:
In file included from /usr/local/opt/boost/include/boost/iostreams/detail/is_dereferenceable.hpp:13:
/usr/local/opt/boost/include/boost/type_traits/detail/template_arity_spec.hpp:13:10: warning: NOTE: Use of this header
      (template_arity_spec.hpp) is deprecated [-W#pragma-messages]
# pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
         ^
src/bitcoinrpc.cpp:197:16: error: conversion from 'long' to 'Value' (aka 'Value_impl<json_spirit::Config_vector<std::basic_string<char> >
      >') is ambiguous
        return NULL;
               ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stddef.h:100:18: note:
      expanded from macro 'NULL'
#    define NULL __null
                 ^~~~~~
[…]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions