Last login: Tue May 28 10:41:57 on ttys000 MacBook-Pro-2:~ wphun1$ pip install python-sat Collecting python-sat Using cached https://files.pythonhosted.org/packages/ae/d5/3ca4418c991b3fc3a65a927549d09090caf5eaa59813c46ba1e04845e680/python-sat-0.1.4.dev10.tar.gz Collecting pypblib>=0.0.3 (from python-sat) Using cached https://files.pythonhosted.org/packages/fb/f6/967cc8b9ea80c2a8e00913225de46d435ef441243ad1dd0a57935cc1d863/pypblib-0.0.4.tar.gz Requirement already satisfied: six in /usr/local/anaconda3/lib/python3.7/site-packages (from python-sat) (1.12.0) Building wheels for collected packages: python-sat, pypblib Building wheel for python-sat (setup.py) ... error Complete output from command /usr/local/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-install-a718izzn/python-sat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-wheel-j7eypjtj --python-tag cp37: running bdist_wheel running build preparing glucose30 downloading: solvers/glucose30.tar.gz (50813 bytes)... done extracting solvers/glucose30.tar.gz adapting glucose30's files patching glucose30 patching file solvers/glucose30/Makefile patching file solvers/glucose30/core/BoundedQueue.h patching file solvers/glucose30/core/Solver.cc patching file solvers/glucose30/core/Solver.h patching file solvers/glucose30/core/SolverTypes.h patching file solvers/glucose30/mtl/Alg.h patching file solvers/glucose30/mtl/Alloc.h patching file solvers/glucose30/mtl/Heap.h patching file solvers/glucose30/mtl/IntTypes.h patching file solvers/glucose30/mtl/Map.h patching file solvers/glucose30/mtl/Queue.h patching file solvers/glucose30/mtl/Sort.h patching file solvers/glucose30/mtl/Vec.h patching file solvers/glucose30/mtl/XAlloc.h patching file solvers/glucose30/utils/Options.cc patching file solvers/glucose30/utils/Options.h patching file solvers/glucose30/utils/ParseUtils.h patching file solvers/glucose30/utils/System.cc patching file solvers/glucose30/utils/System.h compiling glucose30 c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing glucose41 downloading: solvers/glucose41.tar.gz (82779 bytes)... done extracting solvers/glucose41.tar.gz adapting glucose41's files patching glucose41 patching file solvers/glucose41/Makefile patching file solvers/glucose41/core/BoundedQueue.h patching file solvers/glucose41/core/Solver.cc patching file solvers/glucose41/core/Solver.h patching file solvers/glucose41/core/SolverStats.h patching file solvers/glucose41/core/SolverTypes.h patching file solvers/glucose41/mtl/Alg.h patching file solvers/glucose41/mtl/Alloc.h patching file solvers/glucose41/mtl/Clone.h patching file solvers/glucose41/mtl/Heap.h patching file solvers/glucose41/mtl/IntTypes.h patching file solvers/glucose41/mtl/Map.h patching file solvers/glucose41/mtl/Queue.h patching file solvers/glucose41/mtl/Sort.h patching file solvers/glucose41/mtl/Vec.h patching file solvers/glucose41/mtl/VecThreads.h patching file solvers/glucose41/mtl/XAlloc.h patching file solvers/glucose41/utils/Options.cc patching file solvers/glucose41/utils/Options.h patching file solvers/glucose41/utils/ParseUtils.h patching file solvers/glucose41/utils/System.cc patching file solvers/glucose41/utils/System.h compiling glucose41 c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -DINCREMENTAL -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -DINCREMENTAL -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -DINCREMENTAL -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing lingeling downloading: solvers/lingeling.tar.gz (501731 bytes)... done extracting solvers/lingeling.tar.gz adapting lingeling's files extracting solvers/lingeling/druplig-009.zip extracting solvers/lingeling/lingeling-bbc-9230380-160707.tar.gz patching lingeling patching file solvers/lingeling/Makefile patching file solvers/lingeling/druplig.h patching file solvers/lingeling/lglib.c patching file solvers/lingeling/lglib.h patching file solvers/lingeling/lglopts.h compiling lingeling cc -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I. -DNLGLOG -DNDEBUG -DNCHKSOL -DNLGLYALSAT -DNLGLFILES -DNLGLDEMA -DVERSION=\"PYSAT\" -c lglib.c -o lglib.o cc -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I. -DNLGLOG -DNDEBUG -DNCHKSOL -DNLGLYALSAT -DNLGLFILES -DNLGLDEMA -DVERSION=\"PYSAT\" -c lglopts.c -o lglopts.o cc -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I. -DNLGLOG -DNDEBUG -DNCHKSOL -DNLGLYALSAT -DNLGLFILES -DNLGLDEMA -DVERSION=\"PYSAT\" -c druplig.c -o druplig.o preparing maplechrono downloading: solvers/maplechrono.zip (82656 bytes)... done extracting solvers/maplechrono.zip adapting maplechrono's files patching maplechrono patching file solvers/maplechrono/Makefile patching file solvers/maplechrono/core/Solver.cc patching file solvers/maplechrono/core/Solver.h patching file solvers/maplechrono/core/SolverTypes.h patching file solvers/maplechrono/mtl/Alg.h patching file solvers/maplechrono/mtl/Alloc.h patching file solvers/maplechrono/mtl/Heap.h patching file solvers/maplechrono/mtl/IntTypes.h patching file solvers/maplechrono/mtl/Map.h patching file solvers/maplechrono/mtl/Queue.h patching file solvers/maplechrono/mtl/Sort.h patching file solvers/maplechrono/mtl/Vec.h patching file solvers/maplechrono/mtl/XAlloc.h patching file solvers/maplechrono/utils/Options.cc patching file solvers/maplechrono/utils/Options.h patching file solvers/maplechrono/utils/ParseUtils.h patching file solvers/maplechrono/utils/System.cc patching file solvers/maplechrono/utils/System.h compiling maplechrono c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing maplecm downloading: solvers/maplecm.zip (94949 bytes)... done extracting solvers/maplecm.zip adapting maplecm's files patching maplecm patching file solvers/maplecm/Makefile patching file solvers/maplecm/core/Solver.cc patching file solvers/maplecm/core/Solver.h patching file solvers/maplecm/core/SolverTypes.h patching file solvers/maplecm/mtl/Alg.h patching file solvers/maplecm/mtl/Alloc.h patching file solvers/maplecm/mtl/Heap.h patching file solvers/maplecm/mtl/IntTypes.h patching file solvers/maplecm/mtl/Map.h patching file solvers/maplecm/mtl/Queue.h patching file solvers/maplecm/mtl/Sort.h patching file solvers/maplecm/mtl/Vec.h patching file solvers/maplecm/mtl/XAlloc.h patching file solvers/maplecm/utils/Options.cc patching file solvers/maplecm/utils/Options.h patching file solvers/maplecm/utils/ParseUtils.h patching file solvers/maplecm/utils/System.cc patching file solvers/maplecm/utils/System.h compiling maplecm c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing maplesat downloading: solvers/maplesat.zip (77088 bytes)... done extracting solvers/maplesat.zip adapting maplesat's files patching maplesat patching file solvers/maplesat/Makefile patching file solvers/maplesat/core/Solver.cc patching file solvers/maplesat/core/Solver.h patching file solvers/maplesat/core/SolverTypes.h patching file solvers/maplesat/mtl/Alg.h patching file solvers/maplesat/mtl/Alloc.h patching file solvers/maplesat/mtl/Heap.h patching file solvers/maplesat/mtl/IntTypes.h patching file solvers/maplesat/mtl/Map.h patching file solvers/maplesat/mtl/Queue.h patching file solvers/maplesat/mtl/Sort.h patching file solvers/maplesat/mtl/Vec.h patching file solvers/maplesat/mtl/XAlloc.h patching file solvers/maplesat/utils/Options.cc patching file solvers/maplesat/utils/Options.h patching file solvers/maplesat/utils/ParseUtils.h patching file solvers/maplesat/utils/System.cc patching file solvers/maplesat/utils/System.h compiling maplesat c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing minicard downloading: solvers/minicard.tar.gz (1529188 bytes)... done extracting solvers/minicard.tar.gz adapting minicard's files patching minicard patching file solvers/minicard/Makefile patching file solvers/minicard/core/Solver.cc patching file solvers/minicard/core/Solver.h patching file solvers/minicard/core/SolverTypes.h patching file solvers/minicard/mtl/Alg.h patching file solvers/minicard/mtl/Alloc.h patching file solvers/minicard/mtl/Heap.h patching file solvers/minicard/mtl/IntTypes.h patching file solvers/minicard/mtl/Map.h patching file solvers/minicard/mtl/Queue.h patching file solvers/minicard/mtl/Sort.h patching file solvers/minicard/mtl/Vec.h patching file solvers/minicard/mtl/XAlloc.h patching file solvers/minicard/utils/Options.cc patching file solvers/minicard/utils/Options.h patching file solvers/minicard/utils/ParseUtils.h patching file solvers/minicard/utils/System.cc patching file solvers/minicard/utils/System.h compiling minicard c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing minisat22 downloading: solvers/minisat22.tar.gz (43879 bytes)... done extracting solvers/minisat22.tar.gz adapting minisat22's files patching minisat22 patching file solvers/minisat22/Makefile patching file solvers/minisat22/core/Solver.cc patching file solvers/minisat22/core/Solver.h patching file solvers/minisat22/core/SolverTypes.h patching file solvers/minisat22/mtl/Alg.h patching file solvers/minisat22/mtl/Alloc.h patching file solvers/minisat22/mtl/Heap.h patching file solvers/minisat22/mtl/IntTypes.h patching file solvers/minisat22/mtl/Map.h patching file solvers/minisat22/mtl/Queue.h patching file solvers/minisat22/mtl/Sort.h patching file solvers/minisat22/mtl/Vec.h patching file solvers/minisat22/mtl/XAlloc.h patching file solvers/minisat22/utils/Options.cc patching file solvers/minisat22/utils/Options.h patching file solvers/minisat22/utils/ParseUtils.h patching file solvers/minisat22/utils/System.cc patching file solvers/minisat22/utils/System.h compiling minisat22 c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o preparing minisatgh downloading: solvers/minisatgh.zip (75209 bytes)... done extracting solvers/minisatgh.zip adapting minisatgh's files patching minisatgh patching file solvers/minisatgh/Makefile patching file solvers/minisatgh/core/Solver.cc patching file solvers/minisatgh/core/Solver.h patching file solvers/minisatgh/core/SolverTypes.h patching file solvers/minisatgh/mtl/Alg.h patching file solvers/minisatgh/mtl/Alloc.h patching file solvers/minisatgh/mtl/Heap.h patching file solvers/minisatgh/mtl/IntMap.h patching file solvers/minisatgh/mtl/IntTypes.h patching file solvers/minisatgh/mtl/Map.h patching file solvers/minisatgh/mtl/Queue.h patching file solvers/minisatgh/mtl/Rnd.h patching file solvers/minisatgh/mtl/Sort.h patching file solvers/minisatgh/mtl/Vec.h patching file solvers/minisatgh/mtl/XAlloc.h patching file solvers/minisatgh/utils/Options.cc patching file solvers/minisatgh/utils/Options.h patching file solvers/minisatgh/utils/ParseUtils.h patching file solvers/minisatgh/utils/System.cc patching file solvers/minisatgh/utils/System.h compiling minisatgh c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c core/Solver.cc -o core/Solver.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/Options.cc -o utils/Options.o c++ -std=c++11 -fPIC -Wall -Wno-deprecated -fno-strict-aliasing -I.. -O3 -DNDEBUG -c utils/System.cc -o utils/System.o running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/pb.py -> build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/_fileio.py -> build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/formula.py -> build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/solvers.py -> build/lib.macosx-10.7-x86_64-3.7/pysat copying pysat/card.py -> build/lib.macosx-10.7-x86_64-3.7/pysat creating build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/lbx.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/musx.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/hitman.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/rc2.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/fm.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/mcsls.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/lsu.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/genhard.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/sudoku.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/hornify.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples copying examples/usage.py -> build/lib.macosx-10.7-x86_64-3.7/pysat/examples running build_ext building 'pycard' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/cardenc gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -Icardenc -I/usr/local/anaconda3/include/python3.7m -c cardenc/pycard.cc -o build/temp.macosx-10.7-x86_64-3.7/cardenc/pycard.o -std=c++11 -Wall -Wno-deprecated --stdlib=libc++ g++ -bundle -undefined dynamic_lookup -L/usr/local/anaconda3/lib -arch x86_64 -L/usr/local/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/cardenc/pycard.o -lc++ -o build/lib.macosx-10.7-x86_64-3.7/pycard.cpython-37m-darwin.so clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated] ld: library not found for -lstdc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'g++' failed with exit status 1 ---------------------------------------- Failed building wheel for python-sat Running setup.py clean for python-sat Building wheel for pypblib (setup.py) ... error Complete output from command /usr/local/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-install-a718izzn/pypblib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-wheel-7luefm3d --python-tag cp37: running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/pypblib copying pypblib/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/pypblib running build_ext building 'pypblib.pblib' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/Modules creating build/temp.macosx-10.7-x86_64-3.7/Modules/pblib creating build/temp.macosx-10.7-x86_64-3.7/External creating build/temp.macosx-10.7-x86_64-3.7/External/pblib creating build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_incpbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_incpbconstraint.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_incpbconstraint.cpp:10: In file included from Modules/pblib/pblib_incpbconstraint.hpp:9: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_incpbconstraint.cpp:99:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_incpbconstraint.cpp:99:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_incpbconstraint.cpp:99:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_module.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_module.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_module.cpp:10: In file included from Modules/pblib/pblib_pbparser.hpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from Modules/pblib/pblib_module.cpp:10: Modules/pblib/pblib_pbparser.hpp:23:2: warning: struct 'PBParser' was previously declared as a class [-Wmismatched-tags] struct PBParser parser; ^ External/pblib/PBParser.h:938:7: note: previous use is here class PBParser ^ Modules/pblib/pblib_pbparser.hpp:23:2: note: did you mean class here? struct PBParser parser; ^~~~~~ class In file included from Modules/pblib/pblib_module.cpp:15: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from Modules/pblib/pblib_module.cpp:15: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ 35 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbparser.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbparser.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_pbparser.cpp:9: In file included from Modules/pblib/pblib_pbparser.hpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from Modules/pblib/pblib_pbparser.cpp:9: Modules/pblib/pblib_pbparser.hpp:23:2: warning: struct 'PBParser' was previously declared as a class [-Wmismatched-tags] struct PBParser parser; ^ External/pblib/PBParser.h:938:7: note: previous use is here class PBParser ^ Modules/pblib/pblib_pbparser.hpp:23:2: note: did you mean class here? struct PBParser parser; ^~~~~~ class 2 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/aux_var_manager.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/aux_var_manager.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pb2cnf.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pb2cnf.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_pb2cnf.cpp:8: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from Modules/pblib/pblib_pb2cnf.cpp:8: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ 33 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_weightedlit.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_weightedlit.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/helper.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/helper.o -std=c++11 --stdlib=libc++ Modules/pblib/helper.cpp:13:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/helper.cpp:13:16: note: place parentheses around the assignment to silence this warning while(item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/helper.cpp:13:16: note: use '==' to turn this assignment into an equality comparison while(item = PyIter_Next(iter)) { ^ == Modules/pblib/helper.cpp:36:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/helper.cpp:36:16: note: place parentheses around the assignment to silence this warning while(item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/helper.cpp:36:16: note: use '==' to turn this assignment into an equality comparison while(item = PyIter_Next(iter)) { ^ == 2 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_vectorclausedatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_vectorclausedatabase.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_vectorclausedatabase.cpp:9: In file included from Modules/pblib/pblib_vectorclausedatabase.hpp:9: In file included from External/pblib/VectorClauseDatabase.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbconfig.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconfig.o -std=c++11 --stdlib=libc++ Modules/pblib/pblib_pbconfig.cpp:51:35: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] ss << "bimander = " << (long)((PyPBConfig*)self->config->bimander_m) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:53:20: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] (long)((PyPBConfig*)self->config->k_product_minimum_lit_count_for_splitting) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:54:38: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] ss << "K product k = " << (long)((PyPBConfig*)self->config->k_product_k) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:56:20: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] (long)((PyPBConfig*)self->config->commander_encoding_k) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:82:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(b) return "TRUE"; ^ Modules/pblib/pblib_pbconfig.cpp:83:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "FALSE"; ^ Modules/pblib/pblib_pbconfig.cpp:89:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:90:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:91:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "SWC"; ^ Modules/pblib/pblib_pbconfig.cpp:92:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: return "SORTINGNETWORKS"; ^ Modules/pblib/pblib_pbconfig.cpp:93:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 4: return "ADDER"; ^ Modules/pblib/pblib_pbconfig.cpp:94:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 5: return "BINARY MERGE"; ^ Modules/pblib/pblib_pbconfig.cpp:96:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:101:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:102:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:103:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "CARD"; ^ Modules/pblib/pblib_pbconfig.cpp:105:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:110:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:111:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "NESTED"; ^ Modules/pblib/pblib_pbconfig.cpp:112:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:113:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: return "BIMANDER"; ^ Modules/pblib/pblib_pbconfig.cpp:114:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 4: return "COMMANDER"; ^ Modules/pblib/pblib_pbconfig.cpp:115:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 5: return "KPRODUCT"; ^ Modules/pblib/pblib_pbconfig.cpp:116:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 6: return "BINARY"; ^ Modules/pblib/pblib_pbconfig.cpp:117:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 7: return "PAIRWISE"; ^ Modules/pblib/pblib_pbconfig.cpp:119:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:124:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "N_HALF"; ^ Modules/pblib/pblib_pbconfig.cpp:125:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "N_SQRT"; ^ Modules/pblib/pblib_pbconfig.cpp:126:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "FIXED"; ^ Modules/pblib/pblib_pbconfig.cpp:128:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:325:8: warning: variable 'bin_merge_bool' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(PyObject_IsTrue(bin_merge)) { bin_merge_bool = true; } ^~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:326:44: note: uninitialized use occurs here (self->config)->use_gac_binary_merge = bin_merge_bool; ^~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:325:5: note: remove the 'if' if its condition is always true if(PyObject_IsTrue(bin_merge)) { bin_merge_bool = true; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:313:24: note: initialize the variable 'bin_merge_bool' to silence this warning bool bin_merge_bool; ^ = false 31 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_statistic.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_statistic.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconstraint.o -std=c++11 --stdlib=libc++ Modules/pblib/pblib_pbconstraint.cpp:96:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconstraint.cpp:96:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_pbconstraint.cpp:96:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pb2cnf.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pb2cnf.o -std=c++11 --stdlib=libc++ In file included from External/pblib/pb2cnf.cpp:6: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/pb2cnf.cpp:6: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/pb2cnf.cpp:143:64: warning: comparison of integers of different signs: 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (bdd_encoder.wasToBig() || tmpFormula.getClauses().size() > num_of_bin_merge_clauses) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:175:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:185:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:203:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:226:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:250:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:559:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < encoders.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:589:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < encoders.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ 41 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/VectorClauseDatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/VectorClauseDatabase.o -std=c++11 --stdlib=libc++ In file included from External/pblib/VectorClauseDatabase.cpp:1: In file included from External/pblib/VectorClauseDatabase.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/VectorClauseDatabase.cpp:53:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < clauses->size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ In file included from External/pblib/VectorClauseDatabase.cpp:2: External/pblib/helper.h:41:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for( int i = 0 ; i < data.size(); ++ i ) ~ ^ ~~~~~~~~~~~ External/pblib/VectorClauseDatabase.cpp:55:10: note: in instantiation of function template specialization 'operator<<' requested here cout << (*clauses)[i] << " 0" << endl; ^ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pbo2maxsat.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbo2maxsat.o -std=c++11 --stdlib=libc++ In file included from External/pblib/pbo2maxsat.cpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from External/pblib/pbo2maxsat.cpp:11: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/pbo2maxsat.cpp:11: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/pbo2maxsat.cpp:23:10: warning: unused variable 'tstart' [-Wunused-variable] double tstart = clock(), tend; ^ External/pblib/pbo2maxsat.cpp:23:28: warning: unused variable 'tend' [-Wunused-variable] double tstart = clock(), tend; ^ 36 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/preencoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/preencoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/preencoder.cpp:1: In file included from External/pblib/preencoder.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:119:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:219:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:278:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:318:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:346:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:394:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/helper.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/helper.o -std=c++11 --stdlib=libc++ External/pblib/helper.cpp:12:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < clause.size(); ++i) ~ ^ ~~~~~~~~~~~~~ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/auxvarmanager.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/auxvarmanager.o -std=c++11 --stdlib=libc++ External/pblib/auxvarmanager.cpp:39:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < variables.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/formula.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/formula.o -std=c++11 --stdlib=libc++ In file included from External/pblib/formula.cpp:2: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.cpp:30:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.cpp:144:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/incpbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/incpbconstraint.o -std=c++11 --stdlib=libc++ In file included from External/pblib/incpbconstraint.cpp:1: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/incpbconstraint.cpp:28:38: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint() : comparator(BOTH), leq(0), geq(0), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:35:163: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint(vector const & literals, Comparator comparator, int64_t less_eq, int64_t greater_eq) : weighted_literals(literals), comparator(comparator), leq(less_eq), geq(greater_eq), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:39:141: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint(vector const & literals, Comparator comparator, int64_t bound) : weighted_literals(literals), comparator(comparator), leq(0), geq(0), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:181:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 13 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/IncSimplePBConstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncSimplePBConstraint.o -std=c++11 --stdlib=libc++ In file included from External/pblib/IncSimplePBConstraint.cpp:1: In file included from External/pblib/IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:37:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:62:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:74:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBConfig.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBConfig.o -std=c++11 --stdlib=libc++ External/pblib/PBConfig.cpp:19:10: warning: unused variable 'sum_encodings' [-Wunused-variable] double sum_encodings = (num_adder_encodings + num_amo_encodings + num_bdd_clause_encodings + num_bdd_gates_encodings + num_card_encodings) / 100; ^ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBFuzzer.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBFuzzer.o -std=c++11 --stdlib=libc++ In file included from External/pblib/PBFuzzer.cpp:8: In file included from External/pblib/preencoder.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:27:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraints.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:109:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraints.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:177:7: warning: unused variable 'geq' [-Wunused-variable] int geq; ^ External/pblib/PBFuzzer.cpp:176:7: warning: unused variable 'leq' [-Wunused-variable] int leq; ^ External/pblib/PBFuzzer.cpp:182:30: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] while ( constraints.size() < number_of_constraints + 1) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/SimplePBConstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/SimplePBConstraint.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/clausedatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/clausedatabase.o -std=c++11 --stdlib=libc++ In file included from External/pblib/clausedatabase.cpp:1: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:9:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < clauses.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:165:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < f->input_nodes.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:174:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < f->input_nodes.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBParser.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBParser.o -std=c++11 --stdlib=libc++ In file included from External/pblib/PBParser.cpp:1: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbconstraint.o -std=c++11 --stdlib=libc++ External/pblib/pbconstraint.cpp:56:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weighted_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pbconstraint.cpp:66:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weighted_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pbconstraint.cpp:96:33: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint() : comparator(LEQ), leq(0), geq(0) ^ External/pblib/pbconstraint.cpp:101:157: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint(vector const & literals, Comparator comparator, int64_t less_eq, int64_t greater_eq) : weighted_literals(literals), comparator(comparator), leq(less_eq), geq(greater_eq) ^ External/pblib/pbconstraint.cpp:105:135: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint(vector const & literals, Comparator comparator, int64_t bound) : weighted_literals(literals), comparator(comparator), leq(0), geq(0) ^ External/pblib/pbconstraint.cpp:174:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 6 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/IncrementalData.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncrementalData.o -std=c++11 --stdlib=libc++ In file included from External/pblib/IncrementalData.cpp:1: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:32:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:56:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:68:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/cardencoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/cardencoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/cardencoding.cpp:4: In file included from External/pblib/encoder/cardencoding.h:5: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:20:22: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (outlits.size() < newGeq) ~~~~~~~~~~~~~~ ^ ~~~~~~ External/pblib/encoder/cardencoding.cpp:26:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:35:22: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (outlits.size() > newLeq) ~~~~~~~~~~~~~~ ^ ~~~~~~ External/pblib/encoder/cardencoding.cpp:38:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:88:21: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (output.size() > leq) // if not, the constraint is always satisfiable (initially) ~~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/cardencoding.cpp:94:23: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (output.size() < pbconstraint->getGeq()) ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:101:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint->getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:132:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:159:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/BinaryMerge.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BinaryMerge.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/BinaryMerge.cpp:3: In file included from External/pblib/encoder/BinaryMerge.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:55:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:69:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < buckets.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:79:11: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k <= buckets[i].size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:86:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:93:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:114:10: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k == bucket_merge[i].size() || (config->use_watch_dog_encoding_in_binary_merger && k <= bucket_merge[i].size()) ) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:114:93: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k == bucket_merge[i].size() || (config->use_watch_dog_encoding_in_binary_merger && k <= bucket_merge[i].size()) ) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:120:26: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:127:26: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:142:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for(int j = 1; j < bucket_card[0].size(); j = j + 2) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:147:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for(int j = 1; j < bucket_merge[i].size(); j = j + 2) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:171:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < lits.size(); ++i) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:188:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:200:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:214:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:218:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:225:13: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < lits.size()) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:255:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < x.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:261:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (; i < x.size() / 2; ++i) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:263:15: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (; i < x.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:281:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < v.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:286:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < u.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:291:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < u.size() + v.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:294:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int a=0; a < u.size(); ++a) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:296:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int b=0; b < v.size(); ++b) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:302:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i=0; i < v.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:307:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i=0; i < u.size(); ++i) ~ ^ ~~~~~~~~ 37 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/commander_encoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/commander_encoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/commander_encoding.cpp:1: In file included from External/pblib/encoder/commander_encoding.h:8: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:28:34: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] while (current_literals.size() > k) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/commander_encoding.cpp:32:19: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < current_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:36:32: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (i % k == (k-1) || (i == current_literals.size() - 1) ) // is group full? ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:51:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int j = 0; j < _literals.size() - 1; ++j) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:93:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/k-product.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/k-product.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/k-product.cpp:2: In file included from External/pblib/encoder/k-product.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:18:25: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (literals.size() < minimum_lit_count) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:53:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:57:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int d = 0; d < dimensions.size(); ++d) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:67:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < dimensions.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:132:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/naive_amo_encoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/naive_amo_encoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/naive_amo_encoder.cpp:1: In file included from External/pblib/encoder/naive_amo_encoder.h:12: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:7:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:9:28: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = i + 1 ; j < literals.size(); ++j) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:46:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/SWC.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SWC.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/SWC.cpp:1: In file included from External/pblib/encoder/SWC.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:95:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:110:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:122:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/adderencoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/adderencoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/adderencoding.cpp:2: In file included from External/pblib/encoder/adderencoding.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:18:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:24:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:29:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:41:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:124:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector > >, std::__1::allocator > > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int i = 0; i < buckets.size(); i++ ) { ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:128:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if ( i == buckets.size() - 1 && buckets[i].size() >= 2 ) { ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:170:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int i = 0; i < xs.size(); ++i ) { ~ ^ ~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:178:30: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int j = i + 1; j < xs.size(); ++j ) ~ ^ ~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:236:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < result.size(); ++i) { ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:303:34: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int iVar = 0; iVar < pbconstraint.getWeightedLiterals().size(); ++iVar ) { ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:329:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:335:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:346:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/BDD_Seq_Amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BDD_Seq_Amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/BDD_Seq_Amo.cpp:1: In file included from External/pblib/encoder/BDD_Seq_Amo.h:13: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BDD_Seq_Amo.cpp:37:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BDD_Seq_Amo.cpp:60:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < literals.size() - 2; ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/bdd.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bdd.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/bdd.cpp:1: In file included from External/pblib/encoder/bdd.h:16: In file included from External/pblib/encoder/../clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/bdd.cpp:191:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bdd.cpp:250:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from External/pblib/encoder/bdd.cpp:1: External/pblib/encoder/bdd.h:41:11: warning: private field 'current_node_id' is not used [-Wunused-private-field] int32_t current_node_id = 3; ^ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/amo.cpp:2: In file included from External/pblib/encoder/amo.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/amo.cpp:93:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/binary_amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/binary_amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/binary_amo.cpp:2: In file included from External/pblib/encoder/binary_amo.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/binary_amo.cpp:87:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/sorting_merging.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/sorting_merging.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/sorting_merging.cpp:3: In file included from External/pblib/encoder/sorting_merging.h:5: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:320:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < odd_merge.size() && j < even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:320:35: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < odd_merge.size() && j < even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:323:29: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (output.size() + 2 <= c) ~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:332:20: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (output.size() == c) ~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:336:29: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (output.size() + 1 == c) ~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:345:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size() && j >= even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:345:36: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size() && j >= even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:348:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:375:7: warning: unused variable 'n' [-Wunused-variable] int n = a + b; ^ 18 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/Encoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/Encoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/Encoder.cpp:1: In file included from External/pblib/encoder/Encoder.h:6: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/bimander_amo_encoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bimander_amo_encoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/bimander_amo_encoding.cpp:3: In file included from External/pblib/encoder/bimander_amo_encoding.h:8: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:72:17: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < literals.size(); ) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:87:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < groups.size(); ++i) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:117:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:124:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:143:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:150:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:183:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/SortingNetworks.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SortingNetworks.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/SortingNetworks.cpp:1: In file included from External/pblib/encoder/SortingNetworks.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/encoder/SortingNetworks.cpp:1: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/encoder/SortingNetworks.cpp:15:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 warnings generated. g++ -bundle -undefined dynamic_lookup -L/usr/local/anaconda3/lib -arch x86_64 -L/usr/local/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_incpbconstraint.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_module.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbparser.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/aux_var_manager.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pb2cnf.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_weightedlit.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/helper.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_vectorclausedatabase.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconfig.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_statistic.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pb2cnf.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/VectorClauseDatabase.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbo2maxsat.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/preencoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/helper.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/auxvarmanager.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/formula.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/incpbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncSimplePBConstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBConfig.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBFuzzer.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/SimplePBConstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/clausedatabase.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBParser.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncrementalData.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/cardencoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BinaryMerge.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/commander_encoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/k-product.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/naive_amo_encoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SWC.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/adderencoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BDD_Seq_Amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bdd.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/binary_amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/sorting_merging.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/Encoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bimander_amo_encoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SortingNetworks.o -lc++ -o build/lib.macosx-10.7-x86_64-3.7/pypblib/pblib.cpython-37m-darwin.so clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated] ld: library not found for -lstdc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'g++' failed with exit status 1 ---------------------------------------- Failed building wheel for pypblib Running setup.py clean for pypblib Failed to build python-sat pypblib Installing collected packages: pypblib, python-sat Running setup.py install for pypblib ... error Complete output from command /usr/local/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-install-a718izzn/pypblib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-record-fac0bx_j/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/pypblib copying pypblib/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/pypblib running build_ext building 'pypblib.pblib' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/Modules creating build/temp.macosx-10.7-x86_64-3.7/Modules/pblib creating build/temp.macosx-10.7-x86_64-3.7/External creating build/temp.macosx-10.7-x86_64-3.7/External/pblib creating build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_incpbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_incpbconstraint.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_incpbconstraint.cpp:10: In file included from Modules/pblib/pblib_incpbconstraint.hpp:9: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_incpbconstraint.cpp:99:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_incpbconstraint.cpp:99:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_incpbconstraint.cpp:99:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_module.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_module.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_module.cpp:10: In file included from Modules/pblib/pblib_pbparser.hpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from Modules/pblib/pblib_module.cpp:10: Modules/pblib/pblib_pbparser.hpp:23:2: warning: struct 'PBParser' was previously declared as a class [-Wmismatched-tags] struct PBParser parser; ^ External/pblib/PBParser.h:938:7: note: previous use is here class PBParser ^ Modules/pblib/pblib_pbparser.hpp:23:2: note: did you mean class here? struct PBParser parser; ^~~~~~ class In file included from Modules/pblib/pblib_module.cpp:15: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from Modules/pblib/pblib_module.cpp:15: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ 35 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbparser.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbparser.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_pbparser.cpp:9: In file included from Modules/pblib/pblib_pbparser.hpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from Modules/pblib/pblib_pbparser.cpp:9: Modules/pblib/pblib_pbparser.hpp:23:2: warning: struct 'PBParser' was previously declared as a class [-Wmismatched-tags] struct PBParser parser; ^ External/pblib/PBParser.h:938:7: note: previous use is here class PBParser ^ Modules/pblib/pblib_pbparser.hpp:23:2: note: did you mean class here? struct PBParser parser; ^~~~~~ class 2 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/aux_var_manager.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/aux_var_manager.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pb2cnf.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pb2cnf.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_pb2cnf.cpp:8: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from Modules/pblib/pblib_pb2cnf.cpp:8: In file included from Modules/pblib/pblib_pb2cnf.hpp:9: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ 33 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_weightedlit.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_weightedlit.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/helper.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/helper.o -std=c++11 --stdlib=libc++ Modules/pblib/helper.cpp:13:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/helper.cpp:13:16: note: place parentheses around the assignment to silence this warning while(item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/helper.cpp:13:16: note: use '==' to turn this assignment into an equality comparison while(item = PyIter_Next(iter)) { ^ == Modules/pblib/helper.cpp:36:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/helper.cpp:36:16: note: place parentheses around the assignment to silence this warning while(item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/helper.cpp:36:16: note: use '==' to turn this assignment into an equality comparison while(item = PyIter_Next(iter)) { ^ == 2 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_vectorclausedatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_vectorclausedatabase.o -std=c++11 --stdlib=libc++ In file included from Modules/pblib/pblib_vectorclausedatabase.cpp:9: In file included from Modules/pblib/pblib_vectorclausedatabase.hpp:9: In file included from External/pblib/VectorClauseDatabase.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_vectorclausedatabase.cpp:60:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbconfig.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconfig.o -std=c++11 --stdlib=libc++ Modules/pblib/pblib_pbconfig.cpp:51:35: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] ss << "bimander = " << (long)((PyPBConfig*)self->config->bimander_m) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:53:20: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] (long)((PyPBConfig*)self->config->k_product_minimum_lit_count_for_splitting) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:54:38: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] ss << "K product k = " << (long)((PyPBConfig*)self->config->k_product_k) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:56:20: warning: cast to 'PyPBConfig *' from smaller integer type 'int' [-Wint-to-pointer-cast] (long)((PyPBConfig*)self->config->commander_encoding_k) << "\n"; ^ Modules/pblib/pblib_pbconfig.cpp:82:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(b) return "TRUE"; ^ Modules/pblib/pblib_pbconfig.cpp:83:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "FALSE"; ^ Modules/pblib/pblib_pbconfig.cpp:89:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:90:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:91:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "SWC"; ^ Modules/pblib/pblib_pbconfig.cpp:92:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: return "SORTINGNETWORKS"; ^ Modules/pblib/pblib_pbconfig.cpp:93:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 4: return "ADDER"; ^ Modules/pblib/pblib_pbconfig.cpp:94:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 5: return "BINARY MERGE"; ^ Modules/pblib/pblib_pbconfig.cpp:96:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:101:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:102:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:103:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "CARD"; ^ Modules/pblib/pblib_pbconfig.cpp:105:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:110:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "BEST"; ^ Modules/pblib/pblib_pbconfig.cpp:111:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "NESTED"; ^ Modules/pblib/pblib_pbconfig.cpp:112:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "BDD"; ^ Modules/pblib/pblib_pbconfig.cpp:113:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: return "BIMANDER"; ^ Modules/pblib/pblib_pbconfig.cpp:114:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 4: return "COMMANDER"; ^ Modules/pblib/pblib_pbconfig.cpp:115:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 5: return "KPRODUCT"; ^ Modules/pblib/pblib_pbconfig.cpp:116:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 6: return "BINARY"; ^ Modules/pblib/pblib_pbconfig.cpp:117:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 7: return "PAIRWISE"; ^ Modules/pblib/pblib_pbconfig.cpp:119:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:124:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: return "N_HALF"; ^ Modules/pblib/pblib_pbconfig.cpp:125:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: return "N_SQRT"; ^ Modules/pblib/pblib_pbconfig.cpp:126:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: return "FIXED"; ^ Modules/pblib/pblib_pbconfig.cpp:128:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ Modules/pblib/pblib_pbconfig.cpp:325:8: warning: variable 'bin_merge_bool' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(PyObject_IsTrue(bin_merge)) { bin_merge_bool = true; } ^~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:326:44: note: uninitialized use occurs here (self->config)->use_gac_binary_merge = bin_merge_bool; ^~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:325:5: note: remove the 'if' if its condition is always true if(PyObject_IsTrue(bin_merge)) { bin_merge_bool = true; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconfig.cpp:313:24: note: initialize the variable 'bin_merge_bool' to silence this warning bool bin_merge_bool; ^ = false 31 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_statistic.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_statistic.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c Modules/pblib/pblib_pbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconstraint.o -std=c++11 --stdlib=libc++ Modules/pblib/pblib_pbconstraint.cpp:96:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (item = PyIter_Next(iter)) { ~~~~~^~~~~~~~~~~~~~~~~~~ Modules/pblib/pblib_pbconstraint.cpp:96:17: note: place parentheses around the assignment to silence this warning while (item = PyIter_Next(iter)) { ^ ( ) Modules/pblib/pblib_pbconstraint.cpp:96:17: note: use '==' to turn this assignment into an equality comparison while (item = PyIter_Next(iter)) { ^ == 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pb2cnf.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pb2cnf.o -std=c++11 --stdlib=libc++ In file included from External/pblib/pb2cnf.cpp:6: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/pb2cnf.cpp:6: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/pb2cnf.cpp:143:64: warning: comparison of integers of different signs: 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (bdd_encoder.wasToBig() || tmpFormula.getClauses().size() > num_of_bin_merge_clauses) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:175:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:185:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:203:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:226:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:250:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weights.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:559:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < encoders.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/pb2cnf.cpp:589:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < encoders.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ 41 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/VectorClauseDatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/VectorClauseDatabase.o -std=c++11 --stdlib=libc++ In file included from External/pblib/VectorClauseDatabase.cpp:1: In file included from External/pblib/VectorClauseDatabase.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/VectorClauseDatabase.cpp:53:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < clauses->size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ In file included from External/pblib/VectorClauseDatabase.cpp:2: External/pblib/helper.h:41:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for( int i = 0 ; i < data.size(); ++ i ) ~ ^ ~~~~~~~~~~~ External/pblib/VectorClauseDatabase.cpp:55:10: note: in instantiation of function template specialization 'operator<<' requested here cout << (*clauses)[i] << " 0" << endl; ^ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pbo2maxsat.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbo2maxsat.o -std=c++11 --stdlib=libc++ In file included from External/pblib/pbo2maxsat.cpp:10: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ In file included from External/pblib/pbo2maxsat.cpp:11: In file included from External/pblib/pb2cnf.h:6: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/pbo2maxsat.cpp:11: In file included from External/pblib/pb2cnf.h:21: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/pbo2maxsat.cpp:23:10: warning: unused variable 'tstart' [-Wunused-variable] double tstart = clock(), tend; ^ External/pblib/pbo2maxsat.cpp:23:28: warning: unused variable 'tend' [-Wunused-variable] double tstart = clock(), tend; ^ 36 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/preencoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/preencoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/preencoder.cpp:1: In file included from External/pblib/preencoder.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:119:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:219:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:278:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:318:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:346:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/preencoder.cpp:394:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/helper.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/helper.o -std=c++11 --stdlib=libc++ External/pblib/helper.cpp:12:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < clause.size(); ++i) ~ ^ ~~~~~~~~~~~~~ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/auxvarmanager.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/auxvarmanager.o -std=c++11 --stdlib=libc++ External/pblib/auxvarmanager.cpp:39:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < variables.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/formula.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/formula.o -std=c++11 --stdlib=libc++ In file included from External/pblib/formula.cpp:2: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.cpp:30:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.cpp:144:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/incpbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/incpbconstraint.o -std=c++11 --stdlib=libc++ In file included from External/pblib/incpbconstraint.cpp:1: In file included from External/pblib/incpbconstraint.h:8: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/incpbconstraint.cpp:28:38: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint() : comparator(BOTH), leq(0), geq(0), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:35:163: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint(vector const & literals, Comparator comparator, int64_t less_eq, int64_t greater_eq) : weighted_literals(literals), comparator(comparator), leq(less_eq), geq(greater_eq), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:39:141: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] IncPBConstraint::IncPBConstraint(vector const & literals, Comparator comparator, int64_t bound) : weighted_literals(literals), comparator(comparator), leq(0), geq(0), init_leq(leq), init_geq(geq), isDualEncoded(false) ^ External/pblib/incpbconstraint.cpp:181:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 13 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/IncSimplePBConstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncSimplePBConstraint.o -std=c++11 --stdlib=libc++ In file included from External/pblib/IncSimplePBConstraint.cpp:1: In file included from External/pblib/IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:37:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:62:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncSimplePBConstraint.cpp:74:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBConfig.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBConfig.o -std=c++11 --stdlib=libc++ External/pblib/PBConfig.cpp:19:10: warning: unused variable 'sum_encodings' [-Wunused-variable] double sum_encodings = (num_adder_encodings + num_amo_encodings + num_bdd_clause_encodings + num_bdd_gates_encodings + num_card_encodings) / 100; ^ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBFuzzer.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBFuzzer.o -std=c++11 --stdlib=libc++ In file included from External/pblib/PBFuzzer.cpp:8: In file included from External/pblib/preencoder.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:27:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraints.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:109:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraints.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/PBFuzzer.cpp:176:7: warning: unused variable 'leq' [-Wunused-variable] int leq; ^ External/pblib/PBFuzzer.cpp:177:7: warning: unused variable 'geq' [-Wunused-variable] int geq; ^ External/pblib/PBFuzzer.cpp:182:30: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] while ( constraints.size() < number_of_constraints + 1) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/SimplePBConstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/SimplePBConstraint.o -std=c++11 --stdlib=libc++ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/clausedatabase.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/clausedatabase.o -std=c++11 --stdlib=libc++ In file included from External/pblib/clausedatabase.cpp:1: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:9:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < clauses.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:165:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < f->input_nodes.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ External/pblib/clausedatabase.cpp:174:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < f->input_nodes.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/PBParser.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBParser.o -std=c++11 --stdlib=libc++ In file included from External/pblib/PBParser.cpp:1: External/pblib/PBParser.h:675:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/pbconstraint.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbconstraint.o -std=c++11 --stdlib=libc++ External/pblib/pbconstraint.cpp:56:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weighted_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pbconstraint.cpp:66:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < weighted_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/pbconstraint.cpp:96:33: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint() : comparator(LEQ), leq(0), geq(0) ^ External/pblib/pbconstraint.cpp:101:157: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint(vector const & literals, Comparator comparator, int64_t less_eq, int64_t greater_eq) : weighted_literals(literals), comparator(comparator), leq(less_eq), geq(greater_eq) ^ External/pblib/pbconstraint.cpp:105:135: warning: field 'comparator' will be initialized after field 'leq' [-Wreorder] PBConstraint::PBConstraint(vector const & literals, Comparator comparator, int64_t bound) : weighted_literals(literals), comparator(comparator), leq(0), geq(0) ^ External/pblib/pbconstraint.cpp:174:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 6 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/IncrementalData.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncrementalData.o -std=c++11 --stdlib=libc++ In file included from External/pblib/IncrementalData.cpp:1: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:32:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:56:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/IncrementalData.cpp:68:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/cardencoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/cardencoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/cardencoding.cpp:4: In file included from External/pblib/encoder/cardencoding.h:5: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:20:22: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (outlits.size() < newGeq) ~~~~~~~~~~~~~~ ^ ~~~~~~ External/pblib/encoder/cardencoding.cpp:26:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:35:22: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (outlits.size() > newLeq) ~~~~~~~~~~~~~~ ^ ~~~~~~ External/pblib/encoder/cardencoding.cpp:38:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:88:21: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (output.size() > leq) // if not, the constraint is always satisfiable (initially) ~~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/cardencoding.cpp:94:23: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare] if (output.size() < pbconstraint->getGeq()) ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:101:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint->getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:132:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/cardencoding.cpp:159:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/BinaryMerge.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BinaryMerge.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/BinaryMerge.cpp:3: In file included from External/pblib/encoder/BinaryMerge.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:55:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:69:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < buckets.size(); ++i) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:79:11: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k <= buckets[i].size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:86:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:93:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:114:10: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k == bucket_merge[i].size() || (config->use_watch_dog_encoding_in_binary_merger && k <= bucket_merge[i].size()) ) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:114:93: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (k == bucket_merge[i].size() || (config->use_watch_dog_encoding_in_binary_merger && k <= bucket_merge[i].size()) ) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:120:26: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:127:26: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:142:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for(int j = 1; j < bucket_card[0].size(); j = j + 2) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:147:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for(int j = 1; j < bucket_merge[i].size(); j = j + 2) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:171:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < lits.size(); ++i) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:188:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:200:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:214:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < lits.size(); ++j) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:218:24: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < constraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:225:13: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < lits.size()) ~ ^ ~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:255:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < x.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:261:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (; i < x.size() / 2; ++i) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:263:15: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (; i < x.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:281:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < v.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:286:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < u.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:291:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < u.size() + v.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:294:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int a=0; a < u.size(); ++a) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:296:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int b=0; b < v.size(); ++b) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:302:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i=0; i < v.size(); ++i) ~ ^ ~~~~~~~~ External/pblib/encoder/BinaryMerge.cpp:307:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i=0; i < u.size(); ++i) ~ ^ ~~~~~~~~ 37 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/commander_encoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/commander_encoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/commander_encoding.cpp:1: In file included from External/pblib/encoder/commander_encoding.h:8: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:28:34: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] while (current_literals.size() > k) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/commander_encoding.cpp:32:19: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < current_literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:36:32: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (i % k == (k-1) || (i == current_literals.size() - 1) ) // is group full? ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:51:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int j = 0; j < _literals.size() - 1; ++j) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/commander_encoding.cpp:93:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/k-product.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/k-product.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/k-product.cpp:2: In file included from External/pblib/encoder/k-product.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:18:25: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (literals.size() < minimum_lit_count) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:53:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:57:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int d = 0; d < dimensions.size(); ++d) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:67:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < dimensions.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/k-product.cpp:132:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/naive_amo_encoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/naive_amo_encoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/naive_amo_encoder.cpp:1: In file included from External/pblib/encoder/naive_amo_encoder.h:12: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:7:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < literals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:9:28: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = i + 1 ; j < literals.size(); ++j) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/naive_amo_encoder.cpp:46:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/SWC.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SWC.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/SWC.cpp:1: In file included from External/pblib/encoder/SWC.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:95:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:110:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/SWC.cpp:122:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/adderencoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/adderencoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/adderencoding.cpp:2: In file included from External/pblib/encoder/adderencoding.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:18:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:24:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:29:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:41:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < conditionals.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:124:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector > >, std::__1::allocator > > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int i = 0; i < buckets.size(); i++ ) { ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:128:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if ( i == buckets.size() - 1 && buckets[i].size() >= 2 ) { ~ ^ ~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:170:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int i = 0; i < xs.size(); ++i ) { ~ ^ ~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:178:30: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int j = i + 1; j < xs.size(); ++j ) ~ ^ ~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:236:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < result.size(); ++i) { ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:303:34: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for ( int iVar = 0; iVar < pbconstraint.getWeightedLiterals().size(); ++iVar ) { ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:329:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:335:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < kBits.size(); ++i) // negate everythink ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/adderencoding.cpp:346:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/BDD_Seq_Amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BDD_Seq_Amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/BDD_Seq_Amo.cpp:1: In file included from External/pblib/encoder/BDD_Seq_Amo.h:13: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/BDD_Seq_Amo.cpp:37:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/BDD_Seq_Amo.cpp:60:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < literals.size() - 2; ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/bdd.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bdd.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/bdd.cpp:1: In file included from External/pblib/encoder/bdd.h:16: In file included from External/pblib/encoder/../clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/bdd.cpp:191:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bdd.cpp:250:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from External/pblib/encoder/bdd.cpp:1: External/pblib/encoder/bdd.h:41:11: warning: private field 'current_node_id' is not used [-Wunused-private-field] int32_t current_node_id = 3; ^ 12 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/amo.cpp:2: In file included from External/pblib/encoder/amo.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/amo.cpp:93:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/binary_amo.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/binary_amo.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/binary_amo.cpp:2: In file included from External/pblib/encoder/binary_amo.h:7: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/binary_amo.cpp:87:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/sorting_merging.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/sorting_merging.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/sorting_merging.cpp:3: In file included from External/pblib/encoder/sorting_merging.h:5: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:320:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < odd_merge.size() && j < even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:320:35: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i < odd_merge.size() && j < even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:323:29: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (output.size() + 2 <= c) ~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:332:20: warning: comparison of integers of different signs: 'std::__1::vector >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (output.size() == c) ~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:336:29: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (output.size() + 1 == c) ~~~~~~~~~~~~~~~~~ ^ ~ External/pblib/encoder/sorting_merging.cpp:345:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size() && j >= even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:345:36: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size() && j >= even_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:348:11: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (i >= odd_merge.size()) ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/encoder/sorting_merging.cpp:375:7: warning: unused variable 'n' [-Wunused-variable] int n = a + b; ^ 18 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/Encoder.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/Encoder.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/Encoder.cpp:1: In file included from External/pblib/encoder/Encoder.h:6: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/bimander_amo_encoding.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bimander_amo_encoding.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/bimander_amo_encoding.cpp:3: In file included from External/pblib/encoder/bimander_amo_encoding.h:8: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:72:17: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < literals.size(); ) ~ ^ ~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:87:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >, std::__1::allocator > > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < groups.size(); ++i) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:117:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:124:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:143:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:150:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int g = 0; g < groups[index].size(); ++g) ~ ^ ~~~~~~~~~~~~~~~~~~~~ External/pblib/encoder/bimander_amo_encoding.cpp:183:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 warnings generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/include -arch x86_64 -I/usr/local/anaconda3/include -arch x86_64 -IExternal/pblib -IModules/pblib -I/usr/local/anaconda3/include/python3.7m -c External/pblib/encoder/SortingNetworks.cpp -o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SortingNetworks.o -std=c++11 --stdlib=libc++ In file included from External/pblib/encoder/SortingNetworks.cpp:1: In file included from External/pblib/encoder/SortingNetworks.h:3: In file included from External/pblib/encoder/../IncSimplePBConstraint.h:5: In file included from External/pblib/IncrementalData.h:5: In file included from External/pblib/clausedatabase.h:9: External/pblib/formula.h:163:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:184:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 2; i < conjuncts.size(); ++i) { ~ ^ ~~~~~~~~~~~~~~~~ External/pblib/formula.h:191:25: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:196:22: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < it->second[i]->input_nodes.size(); ++j) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ External/pblib/formula.h:223:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:249:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:290:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:325:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ External/pblib/formula.h:362:20: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < it->second.size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~ In file included from External/pblib/encoder/SortingNetworks.cpp:1: External/pblib/encoder/SortingNetworks.h:38:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:47:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 0; i < fs.size() / 2; i++){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:67:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (int i = 1; i < tmp.size() - 1; i += 2) ~ ^ ~~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:69:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < tmp.size(); i++) ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:80:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] int sz; for (sz = 1; sz < fs.size(); sz *= 2); ~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:82:19: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (fs.size() < sz) ~~~~~~~~~ ^ ~~ External/pblib/encoder/SortingNetworks.h:86:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 1; i < fs.size(); i *= 2) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:87:33: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j + 2*i <= fs.size(); j += 2*i) ~~~~~~~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:101:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < seq.size(); i++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:133:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < seq.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:146:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < rhs.size(); j++){ ~ ^ ~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:191:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < ps.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:201:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++) ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:214:18: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] if (digit_no == base.size()){ ~~~~~~~~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:217:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:231:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < Cs.size(); i++){ ~ ^ ~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:245:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < carry.size(); i++) ~ ^ ~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:255:29: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = B-1; i < result.size(); i += B) ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:261:31: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < result.size(); j += B){ ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:263:27: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] if (j + i < result.size()) ~~~~~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:264:59: warning: comparison of integers of different signs: 'int' and 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') [-Wsign-compare] out = OR(out, AND(result[j + i] , ((n >= result.size()) ? _true_ : ~result[n]))); ~ ^ ~~~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:284:23: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < base.size(); i++){ ~ ^ ~~~~~~~~~~~ External/pblib/encoder/SortingNetworks.h:305:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] Formula gt = (digit.size() > dig) ? digit[dig] : _false_; // This digit is greater than the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~ External/pblib/encoder/SortingNetworks.h:307:36: warning: comparison of integers of different signs: 'std::__1::vector, std::__1::allocator > >::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] (digit.size() > dig-1) ? digit[dig-1] : _false_; // This digit is greater than or equal to the "dig" of 'num'. ~~~~~~~~~~~~ ^ ~~~~~ External/pblib/encoder/SortingNetworks.cpp:15:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vector >::size_type' (aka 'unsigned long') [-Wsign-compare] for (int i = 0; i < pbconstraint.getConditionals().size(); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 warnings generated. g++ -bundle -undefined dynamic_lookup -L/usr/local/anaconda3/lib -arch x86_64 -L/usr/local/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_incpbconstraint.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_module.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbparser.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/aux_var_manager.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pb2cnf.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_weightedlit.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/helper.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_vectorclausedatabase.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconfig.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_statistic.o build/temp.macosx-10.7-x86_64-3.7/Modules/pblib/pblib_pbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pb2cnf.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/VectorClauseDatabase.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbo2maxsat.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/preencoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/helper.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/auxvarmanager.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/formula.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/incpbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncSimplePBConstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBConfig.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBFuzzer.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/SimplePBConstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/clausedatabase.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/PBParser.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/pbconstraint.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/IncrementalData.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/cardencoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BinaryMerge.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/commander_encoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/k-product.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/naive_amo_encoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SWC.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/adderencoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/BDD_Seq_Amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bdd.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/binary_amo.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/sorting_merging.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/Encoder.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/bimander_amo_encoding.o build/temp.macosx-10.7-x86_64-3.7/External/pblib/encoder/SortingNetworks.o -lc++ -o build/lib.macosx-10.7-x86_64-3.7/pypblib/pblib.cpython-37m-darwin.so clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated] ld: library not found for -lstdc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'g++' failed with exit status 1 ---------------------------------------- Command "/usr/local/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-install-a718izzn/pypblib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-record-fac0bx_j/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/cy/bwkh61td0dl34kq4z3glqwww0000gn/T/pip-install-a718izzn/pypblib/ MacBook-Pro-2:~ wphun1$