Skip to content

Instantly share code, notes, and snippets.

@migurski
Created January 9, 2015 18:31
Show Gist options
  • Save migurski/aac61d6e12f8da5dea9c to your computer and use it in GitHub Desktop.
Save migurski/aac61d6e12f8da5dea9c to your computer and use it in GitHub Desktop.
.../~: Sleeper% cd /tmp
...//tmp: Sleeper% mkdir vn
...//tmp: Sleeper% rmdir vn
...//tmp: Sleeper% mkdir van
...//tmp: Sleeper% virtualenv van
New python executable in van/bin/python
Installing setuptools, pip...done.
...//tmp: Sleeper% source van/bin/activate.csh
[van] ...//tmp: Sleeper% pip install https://github.com/openvenues/address_normalizer
You are using pip version 6.0.3, however version 6.0.6 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting https://github.com/openvenues/address_normalizer
Downloading https://github.com/openvenues/address_normalizer
\ 40kB 271kB/s
Cannot unpack file /private/var/folders/_0/1_xvzf1d7617_1qnntjkb1zm0000gn/T/pip-Lc_nM7-unpack/address_normalizer (downloaded from /var/folders/_0/1_xvzf1d7617_1qnntjkb1zm0000gn/T/pip-ZThIiw-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of /var/folders/_0/1_xvzf1d7617_1qnntjkb1zm0000gn/T/pip-ZThIiw-build
[van] ...//tmp: Sleeper% git clone https://github.com/openvenues/address_normalizer an
Cloning into 'an'...
remote: Counting objects: 143, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 143 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (143/143), 431.61 KiB | 391.00 KiB/s, done.
Resolving deltas: 100% (49/49), done.
Checking connectivity... done.
[van] ...//tmp: Sleeper% cd an
[van] ...//tmp/an: Sleeper% pip install .
You are using pip version 6.0.3, however version 6.0.6 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing /private/tmp/an
Collecting six (from address-normalizer==0.1)
Using cached six-1.9.0-py2.py3-none-any.whl
Collecting ujson (from address-normalizer==0.1)
Using cached ujson-1.33.zip
Collecting leveldb (from address-normalizer==0.1)
Using cached leveldb-0.193.tar.gz
Collecting python-geohash (from address-normalizer==0.1)
Using cached python-geohash-0.8.5.tar.gz
Collecting marisa-trie (from address-normalizer==0.1)
Using cached marisa-trie-0.7.tar.gz
Collecting schematics (from address-normalizer==0.1)
Using cached schematics-1.0-0.tar.gz
/private/tmp/van/lib/python2.7/site-packages/setuptools/dist.py:289: UserWarning: The version specified requires normalization, consider using '1.0.post0' instead of '1.0-0'.
self.metadata.version,
Collecting unidecode (from address-normalizer==0.1)
Using cached Unidecode-0.04.17.tar.gz
/private/tmp/van/lib/python2.7/site-packages/setuptools/dist.py:289: UserWarning: The version specified requires normalization, consider using '0.4.17' instead of '0.04.17'.
self.metadata.version,
Installing collected packages: address-normalizer, unidecode, schematics, marisa-trie, python-geohash, leveldb, ujson, six
Running setup.py install for address-normalizer
building 'address_normalizer.text._scanner' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c address_normalizer/text/scanner.c -o build/temp.macosx-10.9-intel-2.7/address_normalizer/text/scanner.o
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/address_normalizer/text/scanner.o -o build/lib.macosx-10.9-intel-2.7/address_normalizer/text/_scanner.so
Running setup.py install for unidecode
/private/tmp/van/lib/python2.7/site-packages/setuptools/dist.py:289: UserWarning: The version specified requires normalization, consider using '0.4.17' instead of '0.04.17'.
self.metadata.version,
Running setup.py install for schematics
/private/tmp/van/lib/python2.7/site-packages/setuptools/dist.py:289: UserWarning: The version specified requires normalization, consider using '1.0.post0' instead of '1.0-0'.
self.metadata.version,
Running setup.py install for marisa-trie
building 'marisa_trie' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/agent.cpp -o build/temp.macosx-10.9-intel-2.7/src/agent.o
src/agent.cpp:1273:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/agent.cpp:1270:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/agent.cpp:411:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/agent.cpp:1337:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/agent.cpp:1392:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/agent.cpp:1421:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/agent.cpp:817:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/agent.cpp:864:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/agent.cpp:964:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/agent.cpp:1273:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/agent.cpp:1270:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/agent.cpp:411:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/agent.cpp:1337:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/agent.cpp:1392:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/agent.cpp:1421:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/agent.cpp:817:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/agent.cpp:864:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/agent.cpp:964:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/base.cpp -o build/temp.macosx-10.9-intel-2.7/src/base.o
src/base.cpp:1146:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/base.cpp:1143:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/base.cpp:298:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/base.cpp:1208:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/base.cpp:1258:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/base.cpp:1283:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/base.cpp:861:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/base.cpp:908:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/base.cpp:1003:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/base.cpp:1146:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/base.cpp:1143:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/base.cpp:298:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/base.cpp:1208:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/base.cpp:1258:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/base.cpp:1283:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/base.cpp:861:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/base.cpp:908:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/base.cpp:1003:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/iostream.cpp -o build/temp.macosx-10.9-intel-2.7/src/iostream.o
src/iostream.cpp:1292:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/iostream.cpp:1289:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/iostream.cpp:418:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/iostream.cpp:1356:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/iostream.cpp:1411:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/iostream.cpp:1440:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/iostream.cpp:836:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/iostream.cpp:883:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/iostream.cpp:983:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/iostream.cpp:1292:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/iostream.cpp:1289:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/iostream.cpp:418:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/iostream.cpp:1356:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/iostream.cpp:1411:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/iostream.cpp:1440:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/iostream.cpp:836:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/iostream.cpp:883:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/iostream.cpp:983:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/key.cpp -o build/temp.macosx-10.9-intel-2.7/src/key.o
src/key.cpp:1263:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/key.cpp:1260:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/key.cpp:405:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/key.cpp:1327:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/key.cpp:1382:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/key.cpp:1411:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/key.cpp:807:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/key.cpp:854:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/key.cpp:954:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/key.cpp:1263:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/key.cpp:1260:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/key.cpp:405:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/key.cpp:1327:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/key.cpp:1382:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/key.cpp:1411:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/key.cpp:807:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/key.cpp:854:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/key.cpp:954:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/keyset.cpp -o build/temp.macosx-10.9-intel-2.7/src/keyset.o
src/keyset.cpp:1269:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/keyset.cpp:1266:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/keyset.cpp:407:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/keyset.cpp:1333:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/keyset.cpp:1388:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/keyset.cpp:1417:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/keyset.cpp:813:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/keyset.cpp:860:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/keyset.cpp:960:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/keyset.cpp:1269:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/keyset.cpp:1266:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/keyset.cpp:407:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/keyset.cpp:1333:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/keyset.cpp:1388:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/keyset.cpp:1417:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/keyset.cpp:813:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/keyset.cpp:860:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/keyset.cpp:960:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/marisa_trie.cpp -o build/temp.macosx-10.9-intel-2.7/src/marisa_trie.o
src/marisa_trie.cpp:3116:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_1 = __pyx_v_self->_trie->num_keys();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:3146:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_1 = __pyx_v_other->_trie->num_keys();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:3461:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_1 = __pyx_v_self->_trie->num_keys();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:6453:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_r = __pyx_v_ag.key().id();
~ ^~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:6987:38: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_5 = __Pyx_PyInt_From_int(__pyx_cur_scope->__pyx_v_ag.key().id()); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:7185:38: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_ag.key().id()); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:8049:21: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_key_len = __pyx_t_6;
~ ^~~~~~~~~
src/marisa_trie.cpp:8892:24: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_prefix_len = __pyx_t_6;
~ ^~~~~~~~~
src/marisa_trie.cpp:9184:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_9 = __pyx_v_ag.key().length();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:9586:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_5 = __pyx_cur_scope->__pyx_v_ag.key().length();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:9843:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_9 = __pyx_v_ag.key().length();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:10215:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_5 = __pyx_cur_scope->__pyx_v_ag.key().length();
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp:17319:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/marisa_trie.cpp:312:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/marisa_trie.cpp:17434:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/marisa_trie.cpp:17459:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/marisa_trie.cpp:15923:32: warning: unused function '__Pyx_GetItemInt_List_Fast' [-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
^
src/marisa_trie.cpp:15937:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast' [-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
^
src/marisa_trie.cpp:16565:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/marisa_trie.cpp:12055:32: warning: unused function '__pyx_convert_PyObject_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyObject_string_to_py_std__string(std::string const &__pyx_v_s) {
^
src/marisa_trie.cpp:12105:32: warning: unused function '__pyx_convert_PyUnicode_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyUnicode_string_to_py_std__string(std::string const &__pyx_v_s) {
^
src/marisa_trie.cpp:12205:32: warning: unused function '__pyx_convert_PyByteArray_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyByteArray_string_to_py_std__string(std::string const &__pyx_v_s) {
^
22 warnings generated.
src/marisa_trie.cpp:17319:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/marisa_trie.cpp:312:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/marisa_trie.cpp:17434:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/marisa_trie.cpp:17459:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/marisa_trie.cpp:15923:32: warning: unused function '__Pyx_GetItemInt_List_Fast' [-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
^
src/marisa_trie.cpp:15937:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast' [-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
^
src/marisa_trie.cpp:16565:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/marisa_trie.cpp:12055:32: warning: unused function '__pyx_convert_PyObject_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyObject_string_to_py_std__string(std::string const &__pyx_v_s) {
^
src/marisa_trie.cpp:12105:32: warning: unused function '__pyx_convert_PyUnicode_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyUnicode_string_to_py_std__string(std::string const &__pyx_v_s) {
^
src/marisa_trie.cpp:12205:32: warning: unused function '__pyx_convert_PyByteArray_string_to_py_std__string' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_convert_PyByteArray_string_to_py_std__string(std::string const &__pyx_v_s) {
^
10 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/query.cpp -o build/temp.macosx-10.9-intel-2.7/src/query.o
src/query.cpp:1263:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/query.cpp:1260:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/query.cpp:405:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/query.cpp:1327:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/query.cpp:1382:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/query.cpp:1411:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/query.cpp:807:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/query.cpp:854:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/query.cpp:954:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/query.cpp:1263:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/query.cpp:1260:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/query.cpp:405:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/query.cpp:1327:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/query.cpp:1382:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/query.cpp:1411:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/query.cpp:807:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/query.cpp:854:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/query.cpp:954:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/std_iostream.cpp -o build/temp.macosx-10.9-intel-2.7/src/std_iostream.o
src/std_iostream.cpp:1274:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/std_iostream.cpp:1271:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/std_iostream.cpp:412:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/std_iostream.cpp:1338:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/std_iostream.cpp:1393:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/std_iostream.cpp:1422:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/std_iostream.cpp:818:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/std_iostream.cpp:865:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/std_iostream.cpp:965:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/std_iostream.cpp:1274:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/std_iostream.cpp:1271:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
^
src/std_iostream.cpp:412:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/std_iostream.cpp:1338:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/std_iostream.cpp:1393:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/std_iostream.cpp:1422:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/std_iostream.cpp:818:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/std_iostream.cpp:865:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/std_iostream.cpp:965:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/trie.cpp -o build/temp.macosx-10.9-intel-2.7/src/trie.o
src/trie.cpp:1202:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/trie.cpp:1199:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/trie.cpp:307:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/trie.cpp:1264:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/trie.cpp:1314:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/trie.cpp:1339:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/trie.cpp:917:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/trie.cpp:964:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/trie.cpp:1059:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
src/trie.cpp:1202:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
src/trie.cpp:1199:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
src/trie.cpp:307:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
src/trie.cpp:1264:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
src/trie.cpp:1314:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
src/trie.cpp:1339:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
src/trie.cpp:917:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
src/trie.cpp:964:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
src/trie.cpp:1059:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
9 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/agent.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/agent.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/keyset.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/keyset.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/trie.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/trie.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/io/mapper.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/mapper.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/io/reader.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/reader.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/io/writer.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/writer.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/trie/louds-trie.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/trie/louds-trie.o
In file included from lib/marisa/grimoire/trie/louds-trie.cc:6:
lib/marisa/grimoire/trie/range.h:16:14: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
begin_ = begin;
~ ^~~~~
lib/marisa/grimoire/trie/range.h:20:12: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
end_ = end;
~ ^~~
lib/marisa/grimoire/trie/range.h:24:16: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
key_pos_ = key_pos;
~ ^~~~~~~
lib/marisa/grimoire/trie/louds-trie.cc:304:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
next_trie_->tail_mode() | next_trie_->node_order());
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/marisa/grimoire/trie/louds-trie.cc:304:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
next_trie_->tail_mode() | next_trie_->node_order());
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/marisa/grimoire/trie/louds-trie.cc:256:3: note: in instantiation of function template specialization 'marisa::grimoire::trie::LoudsTrie::build_trie<marisa::grimoire::trie::Key>' requested here
build_trie(keys, &terminals, config, 1);
^
lib/marisa/grimoire/trie/louds-trie.cc:304:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
next_trie_->tail_mode() | next_trie_->node_order());
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/marisa/grimoire/trie/louds-trie.cc:452:15: note: in instantiation of function template specialization 'marisa::grimoire::trie::LoudsTrie::build_trie<marisa::grimoire::trie::ReverseKey>' requested here
next_trie_->build_trie(reverse_keys, terminals, config, trie_id + 1);
^
6 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/trie/tail.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/trie/tail.o
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -Ilib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/marisa/grimoire/vector/bit-vector.cc -o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/vector/bit-vector.o
lib/marisa/grimoire/vector/bit-vector.cc:771:29: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
select1s_.push_back(i);
~~~~~~~~~ ^
lib/marisa/grimoire/vector/bit-vector.cc:776:29: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
select0s_.push_back(i);
~~~~~~~~~ ^
lib/marisa/grimoire/vector/bit-vector.cc:815:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
select0s_.push_back(bv.size());
~~~~~~~~~ ^~~~~~~~~
lib/marisa/grimoire/vector/bit-vector.cc:819:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
select1s_.push_back(bv.size());
~~~~~~~~~ ^~~~~~~~~
4 warnings generated.
c++ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/agent.o build/temp.macosx-10.9-intel-2.7/src/base.o build/temp.macosx-10.9-intel-2.7/src/iostream.o build/temp.macosx-10.9-intel-2.7/src/key.o build/temp.macosx-10.9-intel-2.7/src/keyset.o build/temp.macosx-10.9-intel-2.7/src/marisa_trie.o build/temp.macosx-10.9-intel-2.7/src/query.o build/temp.macosx-10.9-intel-2.7/src/std_iostream.o build/temp.macosx-10.9-intel-2.7/src/trie.o build/temp.macosx-10.9-intel-2.7/lib/marisa/agent.o build/temp.macosx-10.9-intel-2.7/lib/marisa/keyset.o build/temp.macosx-10.9-intel-2.7/lib/marisa/trie.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/mapper.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/reader.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/io/writer.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/trie/louds-trie.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/trie/tail.o build/temp.macosx-10.9-intel-2.7/lib/marisa/grimoire/vector/bit-vector.o -o build/lib.macosx-10.9-intel-2.7/marisa_trie.so
Running setup.py install for python-geohash
building '_geohash' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPYTHON_MODULE=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/geohash.cpp -o build/temp.macosx-10.9-intel-2.7/src/geohash.o
src/geohash.cpp:383:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
unsigned int cell = (length-1)/8;
~~~~ ~~~~~~~~~~^~
src/geohash.cpp:428:34: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
unsigned int lat_len = bitlength/2;
~~~~~~~ ~~~~~~~~~^~
src/geohash.cpp:429:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
unsigned int lon_len = bitlength/2+bitlength%2;
~~~~~~~ ~~~~~~~~~~~^~~~~~~~~~~~
src/geohash.cpp:528:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
*string_count = dst_count;
~ ^~~~~~~~~
src/geohash.cpp:571:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
codelen = strlen(hashcode);
~ ^~~~~~~~~~~~~~~~
5 warnings generated.
c++ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/geohash.o -o build/lib.macosx-10.9-intel-2.7/_geohash.so
Running setup.py install for leveldb
building 'leveldb' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./snappy/snappy.cc -o build/temp.macosx-10.9-intel-2.7/./snappy/snappy.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
./snappy/snappy.cc:268:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
*table_size = htsize;
~ ^~~~~~
./snappy/snappy.cc:298:12: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
return v >> (LittleEndian::IsLittleEndian() ? 8 * offset : 32 - 8 * offset);
~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./snappy/snappy.cc:403:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
op = EmitLiteral(op, next_emit, ip - next_emit, true);
~~~~~~~~~~~ ~~~^~~~~~~~~~~
./snappy/snappy.cc:449:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
op = EmitLiteral(op, next_emit, ip_end - next_emit, false);
~~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~
./snappy/snappy.cc:760:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
peeked_ = avail;
~ ^~~~~
./snappy/snappy.cc:797:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
peeked_ = n;
~ ^
./snappy/snappy.cc:813:27: warning: implicit conversion loses integer precision: 'long' to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
uint32 nbuf = ip_limit_ - ip;
~~~~ ~~~~~~~~~~^~~~
./snappy/snappy.cc:826:50: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
uint32 to_add = min<uint32>(needed - nbuf, length);
~~~ ^~~~~~
./snappy/snappy.cc:878:39: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
char* p = Varint::Encode32(ulength, N);
~~~~~~ ^
./snappy/snappy.cc:928:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32]
const int max_output = MaxCompressedLength(num_to_read);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./snappy/snappy.cc:760:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
peeked_ = avail;
~ ^~~~~
./snappy/snappy.cc:865:17: note: in instantiation of function template specialization 'snappy::SnappyDecompressor::DecompressAllTags<snappy::SnappyIOVecWriter>' requested here
decompressor->DecompressAllTags(writer);
^
./snappy/snappy.cc:855:10: note: in instantiation of function template specialization 'snappy::InternalUncompressAllTags<snappy::SnappyIOVecWriter>' requested here
return InternalUncompressAllTags(&decompressor, writer, uncompressed_len);
^
./snappy/snappy.cc:1129:10: note: in instantiation of function template specialization 'snappy::InternalUncompress<snappy::SnappyIOVecWriter>' requested here
return InternalUncompress(compressed, &output);
^
./snappy/snappy.cc:760:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
peeked_ = avail;
~ ^~~~~
./snappy/snappy.cc:865:17: note: in instantiation of function template specialization 'snappy::SnappyDecompressor::DecompressAllTags<snappy::SnappyArrayWriter>' requested here
decompressor->DecompressAllTags(writer);
^
./snappy/snappy.cc:855:10: note: in instantiation of function template specialization 'snappy::InternalUncompressAllTags<snappy::SnappyArrayWriter>' requested here
return InternalUncompressAllTags(&decompressor, writer, uncompressed_len);
^
./snappy/snappy.cc:1227:10: note: in instantiation of function template specialization 'snappy::InternalUncompress<snappy::SnappyArrayWriter>' requested here
return InternalUncompress(compressed, &output);
^
./snappy/snappy.cc:760:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
peeked_ = avail;
~ ^~~~~
./snappy/snappy.cc:865:17: note: in instantiation of function template specialization 'snappy::SnappyDecompressor::DecompressAllTags<snappy::SnappyDecompressionValidator>' requested here
decompressor->DecompressAllTags(writer);
^
./snappy/snappy.cc:855:10: note: in instantiation of function template specialization 'snappy::InternalUncompressAllTags<snappy::SnappyDecompressionValidator>' requested here
return InternalUncompressAllTags(&decompressor, writer, uncompressed_len);
^
./snappy/snappy.cc:1278:10: note: in instantiation of function template specialization 'snappy::InternalUncompress<snappy::SnappyDecompressionValidator>' requested here
return InternalUncompress(&reader, &writer);
^
13 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./snappy/snappy-stubs-internal.cc -o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-stubs-internal.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./snappy/snappy-sinksource.cc -o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-sinksource.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./snappy/snappy-c.cc -o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-c.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/builder.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/builder.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/builder.cc:5:
In file included from ./leveldb/db/builder.h:8:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/c.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/c.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/c.cc:9:
In file included from ./leveldb/include/leveldb/cache.h:22:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/db_impl.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/db_impl.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/db_impl.cc:5:
In file included from ./leveldb/db/db_impl.h:10:
In file included from ./leveldb/db/dbformat.h:10:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
In file included from leveldb/db/db_impl.cc:21:
./leveldb/db/version_set.h:111:42: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int NumFiles(int level) const { return files_[level].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~
./leveldb/db/version_set.h:335:49: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int num_input_files(int which) const { return inputs_[which].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
leveldb/db/db_impl.cc:1052:59: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
NewMergingIterator(&internal_comparator_, &list[0], list.size());
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~
5 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/db_iter.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/db_iter.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/db_iter.cc:5:
In file included from ./leveldb/db/db_iter.h:9:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/dbformat.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/dbformat.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/dbformat.cc:6:
In file included from ./leveldb/db/dbformat.h:10:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/db/dbformat.cc:131:35: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
dst = EncodeVarint32(dst, usize + 8);
~~~~~~~~~~~~~~ ~~~~~~^~~
3 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/filename.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/filename.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/filename.cc:7:
In file included from ./leveldb/db/filename.h:12:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/log_reader.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/log_reader.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/log_reader.cc:5:
In file included from ./leveldb/db/log_reader.h:11:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
leveldb/db/log_reader.cc:51:18: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned long') [-Wshorten-64-to-32]
ReportDrop(block_start_location, skip_status);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/log_writer.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/log_writer.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/log_writer.cc:5:
In file included from ./leveldb/db/log_writer.h:10:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/memtable.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/memtable.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/memtable.cc:5:
In file included from ./leveldb/db/memtable.h:9:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/db/memtable.cc:46:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutVarint32(scratch, target.size());
~~~~~~~~~~~ ^~~~~~~~~~~~~
leveldb/db/memtable.cc:97:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
char* p = EncodeVarint32(buf, internal_key_size);
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
leveldb/db/memtable.cc:102:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
p = EncodeVarint32(p, val_size);
~~~~~~~~~~~~~~ ^~~~~~~~
5 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/repair.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/repair.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/repair.cc:27:
In file included from ./leveldb/db/builder.h:8:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/table_cache.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/table_cache.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/table_cache.cc:5:
In file included from ./leveldb/db/table_cache.h:12:
In file included from ./leveldb/db/dbformat.h:10:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/version_edit.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/version_edit.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/version_edit.cc:5:
In file included from ./leveldb/db/version_edit.h:11:
In file included from ./leveldb/db/dbformat.h:10:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
In file included from leveldb/db/version_edit.cc:7:
./leveldb/db/version_set.h:111:42: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int NumFiles(int level) const { return files_[level].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~
./leveldb/db/version_set.h:335:49: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int num_input_files(int which) const { return inputs_[which].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/version_set.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/version_set.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/version_set.cc:5:
In file included from ./leveldb/db/version_set.h:21:
In file included from ./leveldb/db/dbformat.h:10:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
In file included from leveldb/db/version_set.cc:5:
./leveldb/db/version_set.h:111:42: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int NumFiles(int level) const { return files_[level].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~
./leveldb/db/version_set.h:335:49: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int num_input_files(int which) const { return inputs_[which].size(); }
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
leveldb/db/version_set.cc:95:20: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
uint32_t right = files.size();
~~~~~ ^~~~~~~~~~~~
leveldb/db/version_set.cc:174:16: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
index_(flist->size()) { // Marks as invalid
~^~~~~~~~~~~~~
leveldb/db/version_set.cc:184:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
index_ = flist_->empty() ? 0 : flist_->size() - 1;
~ ~~~~~~~~~~~~~~~^~~
leveldb/db/version_set.cc:193:16: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
index_ = flist_->size(); // Marks as invalid
~ ^~~~~~~~~~~~~~
leveldb/db/version_set.cc:707:40: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
f->allowed_seeks = (f->file_size / 16384);
~ ~~~~~~~~~~~~~^~~~~~~
leveldb/db/version_set.cc:1101:10: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
return current_->files_[level].size();
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
leveldb/db/version_set.cc:1232:61: warning: implicit conversion loses integer precision: 'unsigned long' to 'const int' [-Wshorten-64-to-32]
const int space = (c->level() == 0 ? c->inputs_[0].size() + 1 : 2);
~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~
leveldb/db/version_set.cc:58:13: warning: unused function 'IntSetToString' [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
^
12 warnings generated.
leveldb/db/version_set.cc:707:40: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
f->allowed_seeks = (f->file_size / 16384);
~ ~~~~~~~~~~~~~^~~~~~~
leveldb/db/version_set.cc:58:13: warning: unused function 'IntSetToString' [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
^
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/db/write_batch.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/db/write_batch.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/db/write_batch.cc:16:
In file included from ./leveldb/include/leveldb/write_batch.h:25:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/block.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/block.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/block.cc:7:
In file included from ./leveldb/table/block.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/table/block.cc:35:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
restart_offset_ = size_ - (1 + NumRestarts()) * sizeof(uint32_t);
~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
leveldb/table/block.cc:96:44: warning: implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
return (value_.data() + value_.size()) - data_;
~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
4 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/block_builder.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/block_builder.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/block_builder.cc:29:
In file included from ./leveldb/table/block_builder.h:11:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/table/block_builder.cc:68:24: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutFixed32(&buffer_, restarts_.size());
~~~~~~~~~~ ^~~~~~~~~~~~~~~~
leveldb/table/block_builder.cc:88:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32]
restarts_.push_back(buffer_.size());
~~~~~~~~~ ^~~~~~~~~~~~~~
leveldb/table/block_builder.cc:94:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutVarint32(&buffer_, shared);
~~~~~~~~~~~ ^~~~~~
leveldb/table/block_builder.cc:95:25: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutVarint32(&buffer_, non_shared);
~~~~~~~~~~~ ^~~~~~~~~~
leveldb/table/block_builder.cc:96:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutVarint32(&buffer_, value.size());
~~~~~~~~~~~ ^~~~~~~~~~~~
7 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/filter_block.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/filter_block.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/filter_block.cc:5:
In file included from ./leveldb/table/filter_block.h:16:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/table/filter_block.cc:42:33: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const uint32_t' (aka 'const unsigned int') [-Wshorten-64-to-32]
const uint32_t array_offset = result_.size();
~~~~~~~~~~~~ ^~~~~~~~~~~~~~
leveldb/table/filter_block.cc:56:31: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32]
filter_offsets_.push_back(result_.size());
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
leveldb/table/filter_block.cc:70:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const value_type' (aka 'const unsigned int') [-Wshorten-64-to-32]
filter_offsets_.push_back(result_.size());
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
leveldb/table/filter_block.cc:71:40: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
policy_->CreateFilter(&tmp_keys_[0], num_keys, &result_);
~~~~~~~ ^~~~~~~~
6 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/format.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/format.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/format.cc:5:
In file included from ./leveldb/table/format.h:10:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/iterator.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/iterator.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/iterator.cc:5:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/merger.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/merger.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/merger.cc:8:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/table.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/table.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/table.cc:5:
In file included from ./leveldb/include/leveldb/table.h:9:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/table_builder.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/table_builder.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/table_builder.cc:5:
In file included from ./leveldb/include/leveldb/table_builder.h:18:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/table/two_level_iterator.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/table/two_level_iterator.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/table/two_level_iterator.cc:5:
In file included from ./leveldb/table/two_level_iterator.h:8:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/arena.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/arena.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/bloom.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/bloom.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/bloom.cc:7:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/cache.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/cache.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/cache.cc:9:
In file included from ./leveldb/include/leveldb/cache.h:22:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/coding.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/coding.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/coding.cc:5:
In file included from ./leveldb/util/coding.h:16:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/util/coding.cc:99:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
PutVarint32(dst, value.size());
~~~~~~~~~~~ ^~~~~~~~~~~~
3 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/comparator.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/comparator.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/comparator.cc:8:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/crc32c.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/crc32c.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/crc32c.cc:11:
In file included from ./leveldb/util/coding.h:16:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/env.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/env.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/env.cc:5:
In file included from ./leveldb/include/leveldb/env.h:20:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/env_posix.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/env_posix.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/env_posix.cc:23:
In file included from ./leveldb/include/leveldb/env.h:20:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
leveldb/util/env_posix.cc:64:22: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'long' [-Wshorten-64-to-32]
if (fseek(file_, n, SEEK_CUR)) {
~~~~~ ^
leveldb/util/env_posix.cc:325:33: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned long') [-Wshorten-64-to-32]
void* base = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0);
~~~~ ^~~~
leveldb/util/env_posix.cc:327:60: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned long') [-Wshorten-64-to-32]
*result = new PosixMmapReadableFile(fname, base, size, &mmap_limit_);
~~~~~~~~~~~~~~~~~~~~~ ^~~~
3 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/filter_policy.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/filter_policy.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/hash.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/hash.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/hash.cc:6:
In file included from ./leveldb/util/coding.h:16:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/util/hash.cc:23:21: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
uint32_t h = seed ^ (n * m);
~ ~~~~~^~~~~~~~~
3 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/histogram.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/histogram.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/logging.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/logging.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/logging.cc:11:
In file included from ./leveldb/include/leveldb/env.h:20:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/options.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/options.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/options.cc:8:
In file included from ./leveldb/include/leveldb/env.h:20:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/util/status.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/util/status.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb/util/status.cc:7:
In file included from ./leveldb/include/leveldb/status.h:17:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
leveldb/util/status.cc:21:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const uint32_t' (aka 'const unsigned int') [-Wshorten-64-to-32]
const uint32_t len1 = msg.size();
~~~~ ^~~~~~~~~~
leveldb/util/status.cc:22:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const uint32_t' (aka 'const unsigned int') [-Wshorten-64-to-32]
const uint32_t len2 = msg2.size();
~~~~ ^~~~~~~~~~~
4 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb/port/port_posix.cc -o build/temp.macosx-10.9-intel-2.7/leveldb/port/port_posix.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb_ext.cc -o build/temp.macosx-10.9-intel-2.7/leveldb_ext.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb_ext.cc:6:
In file included from ./leveldb_ext.h:17:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c leveldb_object.cc -o build/temp.macosx-10.9-intel-2.7/leveldb_object.o -I./leveldb/include -I./leveldb -I./snappy -I. -fno-builtin-memcmp -O2 -fPIC -DNDEBUG -DSNAPPY -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wno-error=unused-command-line-argument-hard-error-in-future
In file included from leveldb_object.cc:4:
In file included from ./leveldb_ext.h:17:
In file included from ./leveldb/include/leveldb/db.h:10:
In file included from ./leveldb/include/leveldb/iterator.h:18:
./leveldb/include/leveldb/slice.h:97:43: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ^~~~~
./leveldb/include/leveldb/slice.h:97:53: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' [-Wshorten-64-to-32]
const int min_len = (size_ < b.size_) ? size_ : b.size_;
~~~~~~~ ~~^~~~~
2 warnings generated.
c++ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/./snappy/snappy.o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-stubs-internal.o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-sinksource.o build/temp.macosx-10.9-intel-2.7/./snappy/snappy-c.o build/temp.macosx-10.9-intel-2.7/leveldb/db/builder.o build/temp.macosx-10.9-intel-2.7/leveldb/db/c.o build/temp.macosx-10.9-intel-2.7/leveldb/db/db_impl.o build/temp.macosx-10.9-intel-2.7/leveldb/db/db_iter.o build/temp.macosx-10.9-intel-2.7/leveldb/db/dbformat.o build/temp.macosx-10.9-intel-2.7/leveldb/db/filename.o build/temp.macosx-10.9-intel-2.7/leveldb/db/log_reader.o build/temp.macosx-10.9-intel-2.7/leveldb/db/log_writer.o build/temp.macosx-10.9-intel-2.7/leveldb/db/memtable.o build/temp.macosx-10.9-intel-2.7/leveldb/db/repair.o build/temp.macosx-10.9-intel-2.7/leveldb/db/table_cache.o build/temp.macosx-10.9-intel-2.7/leveldb/db/version_edit.o build/temp.macosx-10.9-intel-2.7/leveldb/db/version_set.o build/temp.macosx-10.9-intel-2.7/leveldb/db/write_batch.o build/temp.macosx-10.9-intel-2.7/leveldb/table/block.o build/temp.macosx-10.9-intel-2.7/leveldb/table/block_builder.o build/temp.macosx-10.9-intel-2.7/leveldb/table/filter_block.o build/temp.macosx-10.9-intel-2.7/leveldb/table/format.o build/temp.macosx-10.9-intel-2.7/leveldb/table/iterator.o build/temp.macosx-10.9-intel-2.7/leveldb/table/merger.o build/temp.macosx-10.9-intel-2.7/leveldb/table/table.o build/temp.macosx-10.9-intel-2.7/leveldb/table/table_builder.o build/temp.macosx-10.9-intel-2.7/leveldb/table/two_level_iterator.o build/temp.macosx-10.9-intel-2.7/leveldb/util/arena.o build/temp.macosx-10.9-intel-2.7/leveldb/util/bloom.o build/temp.macosx-10.9-intel-2.7/leveldb/util/cache.o build/temp.macosx-10.9-intel-2.7/leveldb/util/coding.o build/temp.macosx-10.9-intel-2.7/leveldb/util/comparator.o build/temp.macosx-10.9-intel-2.7/leveldb/util/crc32c.o build/temp.macosx-10.9-intel-2.7/leveldb/util/env.o build/temp.macosx-10.9-intel-2.7/leveldb/util/env_posix.o build/temp.macosx-10.9-intel-2.7/leveldb/util/filter_policy.o build/temp.macosx-10.9-intel-2.7/leveldb/util/hash.o build/temp.macosx-10.9-intel-2.7/leveldb/util/histogram.o build/temp.macosx-10.9-intel-2.7/leveldb/util/logging.o build/temp.macosx-10.9-intel-2.7/leveldb/util/options.o build/temp.macosx-10.9-intel-2.7/leveldb/util/status.o build/temp.macosx-10.9-intel-2.7/leveldb/port/port_posix.o build/temp.macosx-10.9-intel-2.7/leveldb_ext.o build/temp.macosx-10.9-intel-2.7/leveldb_object.o -lstdc++ -o build/lib.macosx-10.9-intel-2.7/leveldb.so
Running setup.py install for ujson
building 'ujson' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I./python -I./lib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./python/ujson.c -o build/temp.macosx-10.9-intel-2.7/./python/ujson.o -D_GNU_SOURCE
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I./python -I./lib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./python/objToJSON.c -o build/temp.macosx-10.9-intel-2.7/./python/objToJSON.o -D_GNU_SOURCE
./python/objToJSON.c:97:29: warning: implicit conversion loses integer precision: 'long' to 'JSINT32' (aka 'int') [-Wshorten-64-to-32]
*((JSINT32 *) outValue) = PyInt_AS_LONG (obj);
~ ^~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/intobject.h:52:51: note: expanded from macro 'PyInt_AS_LONG'
#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival)
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
./python/objToJSON.c:154:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
days = PyInt_AS_LONG(ord) - EPOCH_ORD + d - 1;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./python/objToJSON.c:173:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
days = PyInt_AS_LONG(ord) - EPOCH_ORD + d - 1;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./python/objToJSON.c:94:14: warning: unused function 'PyIntToINT32' [-Wunused-function]
static void *PyIntToINT32(JSOBJ _obj, JSONTypeContext *tc, void *outValue, size_t *_outLen)
^
4 warnings generated.
./python/objToJSON.c:101:14: warning: unused function 'PyIntToINT64' [-Wunused-function]
static void *PyIntToINT64(JSOBJ _obj, JSONTypeContext *tc, void *outValue, size_t *_outLen)
^
1 warning generated.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I./python -I./lib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./python/JSONtoObj.c -o build/temp.macosx-10.9-intel-2.7/./python/JSONtoObj.o -D_GNU_SOURCE
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I./python -I./lib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./lib/ultrajsonenc.c -o build/temp.macosx-10.9-intel-2.7/./lib/ultrajsonenc.o -D_GNU_SOURCE
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I./python -I./lib -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ./lib/ultrajsondec.c -o build/temp.macosx-10.9-intel-2.7/./lib/ultrajsondec.o -D_GNU_SOURCE
./lib/ultrajsondec.c:78:13: warning: unused function 'ClearError' [-Wunused-function]
static void ClearError( struct DecoderState *ds)
^
1 warning generated.
./lib/ultrajsondec.c:78:13: warning: unused function 'ClearError' [-Wunused-function]
static void ClearError( struct DecoderState *ds)
^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/./python/ujson.o build/temp.macosx-10.9-intel-2.7/./python/objToJSON.o build/temp.macosx-10.9-intel-2.7/./python/JSONtoObj.o build/temp.macosx-10.9-intel-2.7/./lib/ultrajsonenc.o build/temp.macosx-10.9-intel-2.7/./lib/ultrajsondec.o -o build/lib.macosx-10.9-intel-2.7/ujson.so
Successfully installed address-normalizer-0.1 leveldb-0.193 marisa-trie-0.7 python-geohash-0.8.5 schematics-1.0.post0 six-1.9.0 ujson-1.33 unidecode-0.4.17
[van] ...//tmp/an: Sleeper% python
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from address_normalizer import normalize_street_address
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "address_normalizer/__init__.py", line 1, in <module>
from .text.normalize import address_phrase_filter
File "address_normalizer/text/normalize.py", line 20, in <module>
from address_normalizer.text.tokenize import *
File "address_normalizer/text/tokenize.py", line 7, in <module>
from address_normalizer.text import _scanner
ImportError: cannot import name _scanner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment