c++ - par2tbb fails to compile with an "auto_ptr is not a member of std" error -
i trying compile par2tbb on gentoo linux kernel 3.18.12, , keep getting following compilation error:
par2cmdline.cpp: in function ‘int main(int, char**)’: par2cmdline.cpp:88:3: error: ‘auto_ptr’ not member of ‘std’ std::auto_ptr<commandline> commandline(new commandline); ^
i checked #include <memory.h>
present on source code, added cxxflags = -std=c++11
makefile, , still won't compile.
looking online, these 2 measures fixes find. idea on what's going on?
Comments
Post a Comment