id summary reporter owner description type status milestone component version severity resolution keywords cc 6790 program_options regression in 1.49.0? Konstantin Nikiforov Vladimir Prus "Since 1.49, bitcoin unable to compile with error: {{{ g++ -c -pthread -Wextra -Wno-sign-compare -Wno-char-subscripts \ -Wno-invalid-offsetof -Wformat -Wformat-security -g -DNOPCH \ -I/home/shahid/shares/install/linux/bitcoin/bitcoin \ /src/bitcoin-0.6.0-linux/src/src -DUSE_UPNP=1 -DUSE_SSL \ -fno-stack-protector -fstack-protector-all -Wstack-protector \ -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -march=native -O3 \ -pipe -ftree-vectorize -msse -msse2 -msse3 -MMD -o obj/util.o \ util.cpp In file included from util.cpp:8:0: /usr/include/boost/program_options/detail/config_file.hpp: In \ instantiation of «bool boost::program_options::detail::basic_config_file_iterator::getline(std::string&) [with charT = char; std::string = std::basic_string]»: util.cpp:1251:1: required from here /usr/include/boost/program_options/detail/config_file.hpp:163:13: error: «to_internal» was not declared in this scope, and no declarations were found by argument- dependent lookup at the point of instantiation [-fpermissive] In file included from /usr/include/boost/program_options/detail/parsers.hpp:9:0, from /usr/include/boost/program_options/parsers.hpp:265, from util.cpp:9: /usr/include/boost/program_options/detail/convert.hpp:75:34: замечание: «template std::vector > boost::program_options::to_internal(const std::vector&)» declared here, later in the translation unit util.cpp: In function «void ShrinkDebugFile()»: util.cpp:963:41: warning: ignoring return value of «size_t fwrite(const void*, size_t, size_t, FILE*)», declared with attribute warn_unused_result [-Wunused-result] make: *** [obj/util.o] Error 1 }}} Steps to reproduce: {{{ wget bitcoin-0.6.0 from http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/bitcoin-0.6.0-linux.tar.gz/download tar xf bitcoin-0.6.0-linux.tar.gz cd bitcoin-0.6.0-linux/src/src make -f makefile.unix bitcoind }}} Steps to avoid error: * Error can be avoided by removing #if around #include <.../convert.hpp> in /usr/include/boost/program_options/detail/config_file.hpp" Bugs closed To Be Determined program_options Boost 1.49.0 Regression fixed helllamer@…