{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/376","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/376/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/376/events","html_url":"https://github.com/nodegit/nodegit/issues/376","id":56082134,"number":376,"title":"Building for atom-shell v0.21.0 fails","user":{"login":"billt2006","id":3450688,"avatar_url":"https://avatars.githubusercontent.com/u/3450688?v=3","gravatar_id":"","url":"https://api.github.com/users/billt2006","html_url":"https://github.com/billt2006","followers_url":"https://api.github.com/users/billt2006/followers","following_url":"https://api.github.com/users/billt2006/following{/other_user}","gists_url":"https://api.github.com/users/billt2006/gists{/gist_id}","starred_url":"https://api.github.com/users/billt2006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billt2006/subscriptions","organizations_url":"https://api.github.com/users/billt2006/orgs","repos_url":"https://api.github.com/users/billt2006/repos","events_url":"https://api.github.com/users/billt2006/events{/privacy}","received_events_url":"https://api.github.com/users/billt2006/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-30T20:41:15Z","updated_at":"2015-01-30T21:19:40Z","closed_at":null,"body":"If you try to build nodegit for atom-shell v0.21.0, it fails with the following messages. I have tried this under Mac OS X 10.9 and Arch Linux with the same results (v0.20.8 is fine). It seems like it could be an issue with nan?\r\n\r\n```\r\n{ [Error: Command failed: ../vendor/libgit2/src/attr.c:10:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:12:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/attr.c:10:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:26:1: note: expanded from here\r\nkh_del_str\r\n^\r\n2 warnings generated.\r\n../vendor/libgit2/src/attrcache.c:8:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:12:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/attrcache.c:8:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:26:1: note: expanded from here\r\nkh_del_str\r\n^\r\n2 warnings generated.\r\n../vendor/libgit2/src/clone.c:444:20: warning: unused function 'repository_base' [-Wunused-function]\r\nstatic const char *repository_base(git_repository *repo)\r\n                   ^\r\n1 warning generated.\r\n../vendor/libgit2/src/config_file.c:24:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:12:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/config_file.c:24:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:26:1: note: expanded from here\r\nkh_del_str\r\n^\r\n2 warnings generated.\r\n../vendor/libgit2/src/diff_driver.c:20:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:12:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/diff_driver.c:20:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:26:1: note: expanded from here\r\nkh_del_str\r\n^\r\n2 warnings generated.\r\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_destroy_oid' [-Wunused-function]\r\nGIT__USE_OIDMAP;\r\n^\r\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\r\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\r\n                   ^\r\n<scratch space>:5:1: note: expanded from here\r\nkh_destroy_oid\r\n^\r\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_clear_oid' [-Wunused-function]\r\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\r\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:8:1: note: expanded from here\r\nkh_clear_oid\r\n^\r\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_del_oid' [-Wunused-function]\r\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\r\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:22:1: note: expanded from here\r\nkh_del_oid\r\n^\r\n3 warnings generated.\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_init_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:195:23: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE kh_##name##_t *kh_init_##name(void) {                                                     \\\r\n                             ^\r\n<scratch space>:62:1: note: expanded from here\r\nkh_init_str\r\n^\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_destroy_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\r\n                   ^\r\n<scratch space>:67:1: note: expanded from here\r\nkh_destroy_str\r\n^\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:70:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_get_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:213:16: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \\\r\n                      ^\r\n<scratch space>:73:1: note: expanded from here\r\nkh_get_str\r\n^\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_put_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:291:16: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \\\r\n                      ^\r\n<scratch space>:79:1: note: expanded from here\r\nkh_put_str\r\n^\r\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:84:1: note: expanded from here\r\nkh_del_str\r\n^\r\n6 warnings generated.\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_init_str' [-Wunused-function]\r\nGIT__USE_STRMAP;\r\n^\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:195:23: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE kh_##name##_t *kh_init_##name(void) {                                                     \\\r\n                             ^\r\n<scratch space>:62:1: note: expanded from here\r\nkh_init_str\r\n^\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_destroy_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\r\n                   ^\r\n<scratch space>:67:1: note: expanded from here\r\nkh_destroy_str\r\n^\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:70:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_get_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:213:16: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \\\r\n                      ^\r\n<scratch space>:73:1: note: expanded from here\r\nkh_get_str\r\n^\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_put_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:291:16: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \\\r\n                      ^\r\n<scratch space>:79:1: note: expanded from here\r\nkh_put_str\r\n^\r\n../vendor/libgit2/src/refs.c:26:1: warning: unused function 'kh_del_str' [-Wunused-function]\r\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\r\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\r\n        ^\r\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\r\n                   ^\r\n<scratch space>:84:1: note: expanded from here\r\nkh_del_str\r\n^\r\n6 warnings generated.\r\n../vendor/libgit2/src/submodule.c:86:1: warning: unused function 'kh_clear_str' [-Wunused-function]\r\n__KHASH_IMPL(\r\n^\r\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\r\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\r\n                   ^\r\n<scratch space>:12:1: note: expanded from here\r\nkh_clear_str\r\n^\r\n1 warning generated.\r\n../vendor/libssh2/src/misc.c:205:19: warning: unused variable 'base64_table' [-Wunused-const-variable]\r\nstatic const char base64_table[] =\r\n                  ^\r\n../vendor/libssh2/src/misc.c:214:19: warning: unused variable 'base64_pad' [-Wunused-const-variable]\r\nstatic const char base64_pad = '=';\r\n                  ^\r\n2 warnings generated.\r\n../vendor/openssl/openssl/ssl/d1_srtp.c:147:7: warning: missing field 'id' initializer [-Wmissing-field-initializers]\r\n    {0}\r\n      ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/asn1/x_bignum.c:85:1: warning: missing field 'prim_print' initializer [-Wmissing-field-initializers]\r\n};\r\n^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/cmac/cm_ameth.c:96:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/dh/dh_ameth.c:500:2: warning: missing field 'old_priv_decode' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:650:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\r\n                },\r\n                ^\r\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:656:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\r\n                },\r\n                ^\r\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:662:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\r\n                },\r\n                ^\r\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:668:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\r\n                },\r\n                ^\r\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:702:3: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\r\n                }\r\n                ^\r\n5 warnings generated.\r\n../vendor/openssl/openssl/crypto/ec/ec_ameth.c:660:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/ec/ec_lib.c:71:19: warning: unused variable 'EC_version' [-Wunused-const-variable]\r\nstatic const char EC_version[] = \"EC\" OPENSSL_VERSION_PTEXT;\r\n                  ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/engine/eng_dyn.c:117:30: warning: unused variable 'dynamic_cmd_defns_empty' [-Wunused-const-variable]\r\nstatic const ENGINE_CMD_DEFN dynamic_cmd_defns_empty[] = {\r\n                             ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/engine/eng_openssl.c:344:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_dss.c:94:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_dss1.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_ecdsa.c:144:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_md4.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_md5.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_mdc2.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_null.c:88:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_ripemd.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_sha.c:95:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:134:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:153:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:184:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:203:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n5 warnings generated.\r\n../vendor/openssl/openssl/crypto/evp/m_wp.c:37:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/hmac/hm_ameth.c:166:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\r\n        };\r\n        ^\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:473:6: warning: variable 'i' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]\r\n        if (o)\r\n            ^\r\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:480:5: note: uninitialized use occurs here\r\n        j+=i;\r\n           ^\r\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:473:2: note: remove the 'if' if its condition is always true\r\n        if (o)\r\n        ^~~~~~\r\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:443:7: note: initialize the variable 'i' to silence this warning\r\n        int i,j,o,klen;\r\n             ^\r\n              = 0\r\n1 warning generated.\r\n../vendor/openssl/openssl/crypto/rsa/rsa_ameth.c:697:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\r\n                }\r\n                ^\r\n1 warning generated.\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\n../node_modules/nan/nan.h:67:21: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?\r\ntypedef v8::String::ExternalAsciiStringResource\r\n        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                    ExternalStringResource\r\n/Users/billthornton/.atom-shell-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:1936:19: note: 'ExternalStringResource' declared here\r\n  class V8_EXPORT ExternalStringResource\r\n                  ^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\nIn file included from ../node_modules/nan/nan.h:74:\r\n../node_modules/nan/nan_new.h:155:26: error: class member cannot be redeclared\r\n  static inline return_t New(NanExternalOneByteStringResource * value);\r\n                         ^\r\n../node_modules/nan/nan_new.h:154:26: note: previous declaration is here\r\n  static inline return_t New(v8::String::ExternalStringResource * value);\r\n                         ^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\nIn file included from ../node_modules/nan/nan.h:74:\r\nIn file included from ../node_modules/nan/nan_new.h:181:\r\n../node_modules/nan/nan_implementation_12_inl.h:213:22: error: redefinition of 'New'\r\nFactory<v8::String>::New(NanExternalOneByteStringResource * value) {\r\n                     ^\r\n../node_modules/nan/nan_implementation_12_inl.h:208:22: note: previous definition is here\r\nFactory<v8::String>::New(v8::String::ExternalStringResource * value) {\r\n                     ^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\nIn file included from ../node_modules/nan/nan.h:74:\r\n../node_modules/nan/nan_new.h:310:1: error: redefinition of 'NanNew'\r\nNanNew(NanExternalOneByteStringResource * value) {\r\n^\r\n../node_modules/nan/nan_new.h:304:1: note: previous definition is here\r\nNanNew(v8::String::ExternalStringResource * value) {\r\n^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\n../node_modules/nan/nan.h:1733:17: error: no member named 'GetExternalAsciiStringResource' in 'v8::String'; did you mean 'GetExternalOneByteStringResource'?\r\n    return str->GetExternalAsciiStringResource();\r\n                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                GetExternalOneByteStringResource\r\n/Users/billthornton/.atom-shell-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:2003:40: note: 'GetExternalOneByteStringResource' declared here\r\n  const ExternalOneByteStringResource* GetExternalOneByteStringResource() const;\r\n                                       ^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\n../node_modules/nan/nan.h:1733:12: error: cannot initialize return object of type 'const NanExternalOneByteStringResource *' (aka 'const v8::String::ExternalStringResource *') with an rvalue of type 'const v8::String::ExternalOneByteStringResource *'\r\n    return str->GetExternalAsciiStringResource();\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:1743:17: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?\r\n    return str->IsExternalAscii();\r\n                ^~~~~~~~~~~~~~~\r\n                IsExternal\r\n/Users/billthornton/.atom-shell-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:1900:8: note: 'IsExternal' declared here\r\n  bool IsExternal() const;\r\n       ^\r\nIn file included from ../src/nodegit.cc:6:\r\nIn file included from ../src/../include/wrapper.h:11:\r\n../node_modules/nan/nan.h:1768:11: error: assigning to 'const char *' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')\r\n    *data = ext->data();\r\n          ^ ~~~~~~~~~~~\r\n8 errors generated.\r\nmake: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/72272071","html_url":"https://github.com/nodegit/nodegit/issues/376#issuecomment-72272071","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/376","id":72272071,"user":{"login":"maxkorp","id":1302526,"avatar_url":"https://avatars.githubusercontent.com/u/1302526?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkorp","html_url":"https://github.com/maxkorp","followers_url":"https://api.github.com/users/maxkorp/followers","following_url":"https://api.github.com/users/maxkorp/following{/other_user}","gists_url":"https://api.github.com/users/maxkorp/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkorp/subscriptions","organizations_url":"https://api.github.com/users/maxkorp/orgs","repos_url":"https://api.github.com/users/maxkorp/repos","events_url":"https://api.github.com/users/maxkorp/events{/privacy}","received_events_url":"https://api.github.com/users/maxkorp/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T21:19:40Z","updated_at":"2015-01-30T21:19:40Z","body":"Weird, ok, I'll take a crack at it. "}}