Activity log for bug #1306830

Date Who What changed Old value New value Message
2014-04-11 22:28:16 Bostjan Skufca Jese bug added bug
2014-04-11 22:28:16 Bostjan Skufca Jese attachment added config.log https://bugs.launchpad.net/bugs/1306830/+attachment/4081485/+files/config.log
2014-04-11 22:29:12 Bostjan Skufca Jese description Hello, Libmemcached version: 1.0.18 Env: x86_64, slackware 13.0, GCC 4.3.3, config.log attached I've stumbled onto this build failure, here is the output: ------------------------------------------------------ # ./configure --without-memcached && make ... CXX libtest/libtest_libtest_la-cmdline.lo /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, _Args&& ...) [with _Args = long int, _Tp = char*]': /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_vector.h:703: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(_Args&& ...) [with _Args = long int, _Tp = char*, _Alloc = std::allocator<char*>]' libtest/cmdline.cc:790: instantiated from here /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/ext/new_allocator.h:114: error: invalid conversion from 'long int' to 'char*' make[1]: *** [libtest/libtest_libtest_la-cmdline.lo] Error 1 make[1]: Leaving directory `/var/src/libs/libmemcached-1.0.18' make: *** [all] Error 2 ------------------------------------------------------ The line in question is this, in libtest/cmdline.cc ================================================== void Application::create_argv(const char *args[]) { ... built_argv.push_back(NULL); } ================================================== Hello, Libmemcached version: 1.0.18 Env: x86_64, slackware 13.0, GCC 4.3.3, config.log attached I've stumbled onto this build failure, here is the output: ------------------------------------------------------ # ./configure --without-memcached && make ...   CXX libtest/libtest_libtest_la-cmdline.lo /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, _Args&& ...) [with _Args = long int, _Tp = char*]': /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/bits/stl_vector.h:703: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(_Args&& ...) [with _Args = long int, _Tp = char*, _Alloc = std::allocator<char*>]' libtest/cmdline.cc:790: instantiated from here /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/ext/new_allocator.h:114: error: invalid conversion from 'long int' to 'char*' make[1]: *** [libtest/libtest_libtest_la-cmdline.lo] Error 1 make[1]: Leaving directory `/var/src/libs/libmemcached-1.0.18' make: *** [all] Error 2 ------------------------------------------------------ The line in question is this, in libtest/cmdline.cc ================================================== void Application::create_argv(const char *args[]) {   ...   built_argv.push_back(NULL); } ================================================== Can anyone give a quick hint how to overcome this? Thank you, b.
2014-11-02 19:59:06 Jakub Warmuz bug added subscriber Jakub Warmuz