{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/leveldb/issues/62","labels_url":"https://api.github.com/repos/chrsmith/leveldb/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/leveldb/issues/62/comments","events_url":"https://api.github.com/repos/chrsmith/leveldb/issues/62/events","html_url":"https://github.com/chrsmith/leveldb/issues/62","id":58933385,"number":62,"title":"Trouble building on Linux Red Hat with g++ 3.4.6","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/leveldb/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/leveldb/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/leveldb/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-25T16:59:49Z","updated_at":"2015-02-25T16:59:49Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\nWhen building I get the following error:\ng++ -c -I. -I./include -fno-builtin-memcmp -DLEVELDB_PLATFORM_POSIX -pthread -DO\nS_LINUX -O2 -DNDEBUG         db/version_set.cc -o db/version_set.o\ndb/version_set.cc: In member function `void leveldb::VersionSet::Builder::Apply(\nleveldb::VersionEdit*)':\n./db/version_edit.h:100: error: `std::vector<std::pair<int, leveldb::InternalKey\n>, std::allocator<std::pair<int, leveldb::InternalKey> > > leveldb::VersionEdit:\n:compact_pointers_' is private\ndb/version_set.cc:574: error: within this context\n./db/version_edit.h:100: error: `std::vector<std::pair<int, leveldb::InternalKey\n>, std::allocator<std::pair<int, leveldb::InternalKey> > > leveldb::VersionEdit:\n:compact_pointers_' is private\ndb/version_set.cc:575: error: within this context\n./db/version_edit.h:100: error: `std::vector<std::pair<int, leveldb::InternalKey\n>, std::allocator<std::pair<int, leveldb::InternalKey> > > leveldb::VersionEdit:\n:compact_pointers_' is private\ndb/version_set.cc:577: error: within this context\n./db/version_edit.h:87: error: `typedef class std::set<std::pair<int, uint64_t>,\n std::less<std::pair<int, uint64_t> >, std::allocator<std::pair<int, uint64_t> >\n > leveldb::VersionEdit::DeletedFileSet' is private\ndb/version_set.cc:581: error: within this context\n./db/version_edit.h:101: error: `std::set<std::pair<int, uint64_t>, std::less<st\nd::pair<int, uint64_t> >, std::allocator<std::pair<int, uint64_t> > > leveldb::V\nersionEdit::deleted_files_' is private\ndb/version_set.cc:581: error: within this context\n./db/version_edit.h:102: error: `std::vector<std::pair<int, leveldb::FileMetaDat\na>, std::allocator<std::pair<int, leveldb::FileMetaData> > > leveldb::VersionEdi\nt::new_files_' is private\ndb/version_set.cc:591: error: within this context\n./db/version_edit.h:102: error: `std::vector<std::pair<int, leveldb::FileMetaDat\na>, std::allocator<std::pair<int, leveldb::FileMetaData> > > leveldb::VersionEdi\nt::new_files_' is private\ndb/version_set.cc:592: error: within this context\n./db/version_edit.h:102: error: `std::vector<std::pair<int, leveldb::FileMetaDat\na>, std::allocator<std::pair<int, leveldb::FileMetaData> > > leveldb::VersionEdi\nt::new_files_' is private\ndb/version_set.cc:593: error: within this context\ndb/version_set.cc: In member function `void leveldb::VersionSet::Builder::SaveTo\n(leveldb::Version*)':\n./db/version_set.h:122: error: `std::vector<leveldb::FileMetaData*, std::allocat\nor<leveldb::FileMetaData*> > leveldb::Version::files_[7]' is private\ndb/version_set.cc:624: error: within this context\n./db/version_set.h:122: error: `std::vector<leveldb::FileMetaData*, std::allocat\nor<leveldb::FileMetaData*> > leveldb::Version::files_[7]' is private\ndb/version_set.cc:628: error: within this context\ndb/version_set.cc: In member function `void leveldb::VersionSet::Builder::MaybeA\nddFile(leveldb::Version*, int, leveldb::FileMetaData*)':\n./db/version_set.h:122: error: `std::vector<leveldb::FileMetaData*, std::allocat\nor<leveldb::FileMetaData*> > leveldb::Version::files_[7]' is private\ndb/version_set.cc:670: error: within this context\nmake: *** [db/version_set.o] Error 1\n\nWhat version of the product are you using? On what operating system?\nI cloned the git repository on Dec 16.  \n\nOperating system is Linux Red Hat, uname output is:\nbash-3.00$ uname -a\nLinux adc2190095 2.6.9-89.0.0.0.1.ELxenU #1 SMP Tue May 19 04:48:26 EDT 2009 \ni686 i686 i386 GNU/Linux\n\nCompiler is gcc:\n\nbash-3.00$ g++ --version\ng++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)\nCopyright (C) 2006 Free Software Foundation, Inc.\n\n\n\n```\n\n-----\nOriginal issue reported on code.google.com by `Lauren.F...@gmail.com` on 16 Dec 2011 at 5:15"}}