Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created September 9, 2012 21:59
Show Gist options
  • Save cdeil/3687558 to your computer and use it in GitHub Desktop.
Save cdeil/3687558 to your computer and use it in GitHub Desktop.
clang_librootnumpy_compile_warnings
ip0x0872:rootpy deil$ rm -r build/
ip0x0872:rootpy deil$ python setup.py build
_
_ __ ___ ___ | |_ _ __ _ _
| '__/ _ \ / _ \| __| '_ \| | | |
| | | (_) | (_) | |_| |_) | |_| |
|_| \___/ \___/ \__| .__/ \__, |
|_| |___/
0.7.0-a0
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-2.7
creating build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/classfactory.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/common.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/core.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/defaults.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/info.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/objectproxy.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/path.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/registry.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/root2matplotlib.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/root2tables.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/rootpy_globals.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/test.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/types.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/userdata.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
copying rootpy/utils.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy
creating build/lib.macosx-10.7-x86_64-2.7/tabulartext
copying tabulartext/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/tabulartext
copying tabulartext/prettytable.py -> build/lib.macosx-10.7-x86_64-2.7/tabulartext
copying tabulartext/texttable.py -> build/lib.macosx-10.7-x86_64-2.7/tabulartext
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/batch
copying rootpy/batch/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/batch
copying rootpy/batch/multilogging.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/batch
copying rootpy/batch/student.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/batch
copying rootpy/batch/supervisor.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/batch
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/data
copying rootpy/data/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/data
copying rootpy/data/datamanaging.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/data
copying rootpy/data/dataset.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/data
copying rootpy/data/metadata.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/data
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/hep
copying rootpy/hep/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/hep
copying rootpy/hep/pdg.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/hep
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/io
copying rootpy/io/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/io
copying rootpy/io/file.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/io
copying rootpy/io/utils.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/io
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/math
copying rootpy/math/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/networking
copying rootpy/networking/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/networking
copying rootpy/networking/network.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/networking
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/canvas.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/core.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/graph.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/hist.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/legend.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/pyplot.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/root2matplotlib.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/shapes.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/style.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
copying rootpy/plotting/views.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/plotting
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array
copying rootpy/root2array/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array
copying rootpy/root2array/root2array.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/buffer.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/categories.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/chain.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/cut.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/cutflow.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/filtering.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/model.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/tree.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
copying rootpy/tree/treeobject.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/tree
creating build/lib.macosx-10.7-x86_64-2.7/tabulartext/test
copying tabulartext/test/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/tabulartext/test
copying tabulartext/test/prettytable_test.py -> build/lib.macosx-10.7-x86_64-2.7/tabulartext/test
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/io/tests
copying rootpy/io/tests/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/io/tests
copying rootpy/io/tests/test_file.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/io/tests
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/math/linalg
copying rootpy/math/linalg/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/linalg
copying rootpy/math/linalg/matrix.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/linalg
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/math/physics
copying rootpy/math/physics/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/physics
copying rootpy/math/physics/measure.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/physics
copying rootpy/math/physics/vector.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/physics
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/math/stats
copying rootpy/math/stats/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/stats
copying rootpy/math/stats/correlation.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/stats
copying rootpy/math/stats/qqplot.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/math/stats
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy
copying rootpy/root2array/root_numpy/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/scripts-standalone
copying rootpy/scripts-standalone/root-hadd -> build/lib.macosx-10.7-x86_64-2.7/rootpy/scripts-standalone
copying rootpy/scripts-standalone/root-skim -> build/lib.macosx-10.7-x86_64-2.7/rootpy/scripts-standalone
creating build/lib.macosx-10.7-x86_64-2.7/rootpy/etc
copying rootpy/etc/pdg_table.txt -> build/lib.macosx-10.7-x86_64-2.7/rootpy/etc
copying rootpy/etc/test_hists.py -> build/lib.macosx-10.7-x86_64-2.7/rootpy/etc
copying rootpy/etc/testfile.root -> build/lib.macosx-10.7-x86_64-2.7/rootpy/etc
running build_ext
building 'rootpy.root2array.root_numpy._librootnumpy' extension
creating build/temp.macosx-10.7-x86_64-2.7
creating build/temp.macosx-10.7-x86_64-2.7/rootpy
creating build/temp.macosx-10.7-x86_64-2.7/rootpy/root2array
creating build/temp.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/Users/deil/bin/root/root_v5.32.03.source/include -Irootpy/root2array/root_numpy/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c rootpy/root2array/root_numpy/_librootnumpy.cxx -o build/temp.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.o -pthread -m64 -I/Users/deil/bin/root/root_v5.32.03.source/include
In file included from rootpy/root2array/root_numpy/_librootnumpy.cxx:14:
rootpy/root2array/root_numpy/TreeStructure.h:155:17: warning: unused variable 'ok' [-Wunused-variable]
int ok = find_coltype(leaf,ct,cv);
^
rootpy/root2array/root_numpy/TreeStructure.h:242:19: warning: unused variable 'tmp' [-Wunused-variable]
char* tmp = PyString_AsString(pytype);
^
rootpy/root2array/root_numpy/TreeStructure.h:391:21: warning: unused variable 'rt' [-Wunused-variable]
const char* rt = leaf->GetTypeName();
^
rootpy/root2array/root_numpy/TreeStructure.h:526:17: warning: unused variable 'ilocal' [-Wunused-variable]
int ilocal = bc.LoadTree(iEntry);
^
rootpy/root2array/root_numpy/TreeStructure.h:514:13: warning: unused variable 'kkk' [-Wunused-variable]
int kkk = PyArray_DescrConverter(numpy_descr,&descr);
^
rootpy/root2array/root_numpy/_librootnumpy.cxx:175:12: warning: unused variable 'tree' [-Wunused-variable]
TTree* tree=NULL;
^
rootpy/root2array/root_numpy/_librootnumpy.cxx:178:15: warning: unused variable 'array' [-Wunused-variable]
PyObject* array=NULL;
^
rootpy/root2array/root_numpy/_librootnumpy.cxx:205:12: warning: unused variable 'tree' [-Wunused-variable]
TTree* tree=NULL;
^
rootpy/root2array/root_numpy/_librootnumpy.cxx:208:15: warning: unused variable 'array' [-Wunused-variable]
PyObject* array=NULL;
^
9 warnings generated.
/usr/bin/clang++ -bundle -undefined dynamic_lookup -isysroot / -L/opt/local/lib build/temp.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.o -o build/lib.macosx-10.7-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.so -L/Users/deil/bin/root/root_v5.32.03.source/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lpthread -Wl,-rpath,/Users/deil/bin/root/root_v5.32.03.source/lib -lm -ldl -m64 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
running build_scripts
creating build/scripts-2.7
copying and adjusting scripts/roosh -> build/scripts-2.7
copying and adjusting scripts/root-browser -> build/scripts-2.7
copying and adjusting scripts/root-cp -> build/scripts-2.7
copying and adjusting scripts/root-empty-tree -> build/scripts-2.7
copying and adjusting scripts/root-entries -> build/scripts-2.7
copying and adjusting scripts/root-friend -> build/scripts-2.7
copying and adjusting scripts/root-ls -> build/scripts-2.7
copying and adjusting scripts/root-mkdir -> build/scripts-2.7
copying scripts/root-tmva -> build/scripts-2.7
copying and adjusting scripts/root-tree-ls -> build/scripts-2.7
copying and adjusting scripts/root-tree-merge -> build/scripts-2.7
copying and adjusting scripts/root2hd5 -> build/scripts-2.7
copying and adjusting scripts/rootpy-getfile -> build/scripts-2.7
copying and adjusting rootpy/scripts-standalone/root-hadd -> build/scripts-2.7
copying and adjusting rootpy/scripts-standalone/root-skim -> build/scripts-2.7
changing mode of build/scripts-2.7/roosh from 644 to 755
changing mode of build/scripts-2.7/root-browser from 644 to 755
changing mode of build/scripts-2.7/root-cp from 644 to 755
changing mode of build/scripts-2.7/root-empty-tree from 644 to 755
changing mode of build/scripts-2.7/root-entries from 644 to 755
changing mode of build/scripts-2.7/root-friend from 644 to 755
changing mode of build/scripts-2.7/root-ls from 644 to 755
changing mode of build/scripts-2.7/root-mkdir from 644 to 755
changing mode of build/scripts-2.7/root-tree-ls from 644 to 755
changing mode of build/scripts-2.7/root-tree-merge from 644 to 755
changing mode of build/scripts-2.7/root2hd5 from 644 to 755
changing mode of build/scripts-2.7/rootpy-getfile from 644 to 755
changing mode of build/scripts-2.7/root-hadd from 644 to 755
changing mode of build/scripts-2.7/root-skim from 644 to 755
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/numpy/core/include -I/home/hfm/hess/software/root/root_v5.28.00h.source/include -Irootpy/root2array/root_numpy/ -I/usr/include/python2.6 -c rootpy/root2array/root_numpy/_librootnumpy.cxx -o build/temp.linux-x86_64-2.6/rootpy/root2array/root_numpy/_librootnumpy.o -pthread -m64 -I/home/hfm/hess/software/root/root_v5.28.00h.source/include
In file included from /lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1972,
from /lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:14,
from rootpy/root2array/root_numpy/_librootnumpy.cxx:9:
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API"
In file included from rootpy/root2array/root_numpy/_librootnumpy.cxx:14:
rootpy/root2array/root_numpy/TreeStructure.h: In member function 'void TreeStructure::init()':
rootpy/root2array/root_numpy/TreeStructure.h:445: warning: comparison between signed and unsigned integer expressions
rootpy/root2array/root_numpy/TreeStructure.h: In member function 'PyObject* TreeStructure::to_descr_list()':
rootpy/root2array/root_numpy/TreeStructure.h:490: warning: comparison between signed and unsigned integer expressions
rootpy/root2array/root_numpy/TreeStructure.h: In member function 'int TreeStructure::copy_to(void*)':
rootpy/root2array/root_numpy/TreeStructure.h:499: warning: comparison between signed and unsigned integer expressions
rootpy/root2array/root_numpy/_librootnumpy.cxx: In function 'std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > vector_unique(const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
rootpy/root2array/root_numpy/_librootnumpy.cxx:38: warning: comparison between signed and unsigned integer expressions
rootpy/root2array/root_numpy/_librootnumpy.cxx: In function 'TTree* loadTree(PyObject*, const char*)':
rootpy/root2array/root_numpy/_librootnumpy.cxx:98: warning: comparison between signed and unsigned integer expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment