[botan-devel] Fwd: Android compilation problem (std::pair<struct dirent*, std::string> Directory_Walker::get_next_dirent())
lloyd at randombit.net
Fri Nov 7 10:43:48 EST 2014
On Wed, Nov 05, 2014 at 05:36:52PM +0400, Oleg Shalnev wrote:
> botan_all.cpp: In member function 'std::pair<dirent*,
> std::basic_string<char> > Botan::(anonymous
> botan_all.cpp:21441:82: error: no matching function for call to
> 'make_pair(dirent*&, std::basic_string<char>&)'
Is this error coming from the first or second call to make_pair?
That disabling C++11 mode in the file fixes it suggests maybe a bug in
the 4.6 libstdc++ make_pair. Unfortunately I can't replicate this
error on x86-64 with 4.5.4 or 4.7.3 (don't have a gcc 4.6 installed).
For your purposes simply disabling this code from the build
(--disable-modules=proc_walk) is fine as it should be unnecessary on
More information about the botan-devel