Hello everyone!
I just started looking into alternative cryptocurrencies, and Litecoin seems very interesting.
I am trying to build the litecoin headless daemon on Arch Linux, but I get the following error (tail of compile log pasted):
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from util.cpp:9:0:
/usr/include/boost/program_options/detail/config_file.hpp: In instantiation of ābool boost::program_options::detail::basic_config_file_iterator<charT>::getline(std::string&) [with charT = char; std::string = std::basic_string<char>]ā:
util.cpp:1263: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 fromusr/include/boost/program_options/detail/parsers.hpp:9:0,
fromusr/include/boost/program_options/parsers.hpp:265,
from util.cpp:10:
/usr/include/boost/program_options/detail/convert.hpp:75:34: note: ātemplate<class T> std::vector<std::basic_string<char> > boost::program_options::to_internal(const std::vector<T>&)ā declared here, later in the translation unit
util.cpp: In function āvoid ShrinkDebugFile()ā:
util.cpp:975: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
The first warning about -Wformat is seen all throughout the compile log, but that is just a warning. It seems the error has something to do with Boost libraries. Could the problem be that I installed both the developer Boost and Boost runtimes?
Thank you in advance!
P.S. please don't mind the encoding problems - seems that quotes are shown as "ā", but don't mind that.