{"action":"closed","issue":{"url":"https://api.github.com/repos/byzhang/leveldb/issues/10","labels_url":"https://api.github.com/repos/byzhang/leveldb/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/leveldb/issues/10/comments","events_url":"https://api.github.com/repos/byzhang/leveldb/issues/10/events","html_url":"https://github.com/byzhang/leveldb/issues/10","id":59729985,"number":10,"title":"Can't compile on OSX 10.5.8 + GCC 4.0.1","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/byzhang/leveldb/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/leveldb/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/leveldb/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T00:15:37Z","updated_at":"2015-03-04T00:15:38Z","closed_at":"2015-03-04T00:15:38Z","body":"```\nWhat steps will reproduce the problem?\n\nCan't compile on OSX\n\n\n$ make\ng++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG        \ndb/table_cache.cc -o db/table_cache.o\ng++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG        \ndb/version_edit.cc -o db/version_edit.o\ng++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG        \ndb/version_set.cc -o db/version_set.o\ndb/version_set.cc: In member function ‘void \nleveldb::VersionSet::Builder::Apply(leveldb::VersionEdit*)’:\n./db/version_edit.h:99: error: ‘std::vector<std::pair<int, \nleveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > > \nleveldb::VersionEdit::compact_pointers_’ is private\ndb/version_set.cc:287: error: within this context\n./db/version_edit.h:99: error: ‘std::vector<std::pair<int, \nleveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > > \nleveldb::VersionEdit::compact_pointers_’ is private\ndb/version_set.cc:288: error: within this context\n./db/version_edit.h:99: error: ‘std::vector<std::pair<int, \nleveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > > \nleveldb::VersionEdit::compact_pointers_’ is private\ndb/version_set.cc:290: error: within this context\n./db/version_edit.h:86: error: ‘typedef class std::set<std::pair<int, \nuint64_t>, std::less<std::pair<int, uint64_t> >, std::allocator<std::pair<int, \nuint64_t> > > leveldb::VersionEdit::DeletedFileSet’ is private\ndb/version_set.cc:294: error: within this context\n./db/version_edit.h:100: error: ‘std::set<std::pair<int, uint64_t>, \nstd::less<std::pair<int, uint64_t> >, std::allocator<std::pair<int, uint64_t> > \n> leveldb::VersionEdit::deleted_files_’ is private\ndb/version_set.cc:294: error: within this context\n./db/version_edit.h:101: error: ‘std::vector<std::pair<int, \nleveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> > \n> leveldb::VersionEdit::new_files_’ is private\ndb/version_set.cc:304: error: within this context\n./db/version_edit.h:101: error: ‘std::vector<std::pair<int, \nleveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> > \n> leveldb::VersionEdit::new_files_’ is private\ndb/version_set.cc:305: error: within this context\n./db/version_edit.h:101: error: ‘std::vector<std::pair<int, \nleveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> > \n> leveldb::VersionEdit::new_files_’ is private\ndb/version_set.cc:306: error: within this context\ndb/version_set.cc: In member function ‘void \nleveldb::VersionSet::Builder::SaveTo(leveldb::Version*)’:\n./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*, \nstd::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is \nprivate\ndb/version_set.cc:320: error: within this context\n./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*, \nstd::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is \nprivate\ndb/version_set.cc:324: error: within this context\ndb/version_set.cc: In member function ‘void \nleveldb::VersionSet::Builder::MaybeAddFile(leveldb::Version*, int, \nleveldb::FileMetaData*)’:\n./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*, \nstd::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is \nprivate\ndb/version_set.cc:367: error: within this context\nmake: *** [db/version_set.o] Error 1\n\n\nWhat version of the product are you using? On what operating system?\n\nfrom SVN\n\nPlease provide any additional information below.\n\ngcc --version\ni686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)\nCopyright (C) 2005 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.  There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n```\n\nOriginal issue reported on code.google.com by `voidptr...@gmail.com` on 21 Jun 2011 at 2:34"}}