Dear openbsd users, Today i had to patch a cpp program like this
- (*_obj).insert(p); + + size_t s = _obj->erase( key ); + //fprintf(stderr, "wtf %d\n", s); //ANNO 2016 LIBC++ NEW WAY... + + _obj->insert(p); _obj is define like this class Foo { std::shared_ptr< std::map< std::vector<char> , Foo> > } new C++14 is integrating an upsert or whatever, i did not read the last patches on gnu libstdc++ This occurs this the last patch of g++. I wanted to try clang/llvm but figure, well if i want that on openbsd i ll have to not sleep next week end. Unless i miss something. I share this , in case you encounter some crazy bug on a cpp program.. and it s another cent, in the lets get rid of gnu jar. Cheers. -- --------------------------------------------------------------------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\