This is on Snow Leopard. And yes, I have libgit2
v0.10.0 installed...
Waf: Entering directory `/Users/nrajlich/node-gitteh/build'
[ 2/12] cxx: src/commit.cc -> build/default/src/commit_1.o
[ 3/12] cxx: src/tree.cc -> build/default/src/tree_1.o
../src/object_store.h: In member function ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::Tree, S = git_tree]’:
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/commit.cc:137: instantiated from here
../src/object_store.h:50: error: cast from ‘git_tree*’ to ‘int’ loses precision
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/commit.cc:137: instantiated from here
../src/object_store.h:67: error: cast from ‘git_tree*’ to ‘int’ loses precision
../src/object_store.h: In member function ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::Commit, S = git_commit]’:
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/commit.cc:288: instantiated from here
../src/object_store.h:50: error: cast from ‘git_commit*’ to ‘int’ loses precision
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/commit.cc:288: instantiated from here
../src/object_store.h:67: error: cast from ‘git_commit*’ to ‘int’ loses precision
../src/object_store.h: In static member function ‘static void gitteh::ObjectStore<T, S>::WeakCallback(v8::Persistent<v8::Value>, void*) [with T = gitteh::Tree, S = git_tree]’:
../src/object_store.h:64: instantiated from ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::Tree, S = git_tree]’
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Tree, S = git_tree]’
../src/commit.cc:137: instantiated from here
../src/object_store.h:140: error: cast from ‘git_tree*’ to ‘int’ loses precision
../src/object_store.h: In static member function ‘static void gitteh::ObjectStore<T, S>::WeakCallback(v8::Persistent<v8::Value>, void*) [with T = gitteh::Commit, S = git_commit]’:
../src/object_store.h:64: instantiated from ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::Commit, S = git_commit]’
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Repository, T = gitteh::Commit, S = git_commit]’
../src/commit.cc:288: instantiated from here
../src/object_store.h:140: error: cast from ‘git_commit*’ to ‘int’ loses precision
../src/object_store.h: In member function ‘void gitteh::ObjectStore<T, S>::deleteObjectFor(S*) [with T = gitteh::TreeEntry, S = git_tree_entry]’:
../src/object_factory.h:69: instantiated from ‘void gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::deleteObject(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/tree.cc:350: instantiated from here
../src/object_store.h:82: error: cast from ‘git_tree_entry*’ to ‘int’ loses precision
../src/object_factory.h:69: instantiated from ‘void gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::deleteObject(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/tree.cc:350: instantiated from here
../src/object_store.h:89: error: cast from ‘git_tree_entry*’ to ‘int’ loses precision
../src/object_store.h: In member function ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::TreeEntry, S = git_tree_entry]’:
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/tree.cc:151: instantiated from here
../src/object_store.h:50: error: cast from ‘git_tree_entry*’ to ‘int’ loses precision
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/tree.cc:151: instantiated from here
../src/object_store.h:67: error: cast from ‘git_tree_entry*’ to ‘int’ loses precision
../src/object_store.h: In static member function ‘static void gitteh::ObjectStore<T, S>::WeakCallback(v8::Persistent<v8::Value>, void*) [with T = gitteh::TreeEntry, S = git_tree_entry]’:
../src/object_store.h:64: instantiated from ‘bool gitteh::ObjectStore<T, S>::getObjectFor(S*, T**) [with T = gitteh::TreeEntry, S = git_tree_entry]’
../src/object_factory.h:76: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::wrap(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/object_factory.h:56: instantiated from ‘T* gitteh::ObjectFactory< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> >::syncRequestObject(S*) [with P = gitteh::Tree, T = gitteh::TreeEntry, S = git_tree_entry]’
../src/tree.cc:151: instantiated from here
../src/object_store.h:140: error: cast from ‘git_tree_entry*’ to ‘int’ loses precision
Waf: Leaving directory `/Users/nrajlich/node-gitteh/build'
Build failed:
-> task failed (err #1):
{task: cxx commit.cc -> commit_1.o}
-> task failed (err #1):
{task: cxx tree.cc -> tree_1.o}