From 93dbb15954679c1b2eb2ad59e601c5523272e810 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 25 Apr 2017 09:16:57 +0800 Subject: [PATCH] Remove Clang workaround for Boost 1.46 --- src/util.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index 0dc203cba5..cf10ee4aa5 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -88,19 +88,6 @@ #include #include -// Work around clang compilation problem in Boost 1.46: -// /usr/include/boost/program_options/detail/config_file.hpp:163:17: error: call to function 'to_internal' that is neither visible in the template definition nor found by argument-dependent lookup -// See also: http://stackoverflow.com/questions/10020179/compilation-fail-in-boost-librairies-program-options -// http://clang.debian.net/status.php?version=3.0&key=CANNOT_FIND_FUNCTION -namespace boost { - - namespace program_options { - std::string to_internal(const std::string&); - } - -} // namespace boost - - const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf"; const char * const BITCOIN_PID_FILENAME = "bitcoind.pid";