2019-07-14T06:16:51 Created temporary directory: /tmp/pip-ephem-wheel-cache-ki6a3rlb 2019-07-14T06:16:51 Created temporary directory: /tmp/pip-req-tracker-x_vwhxw5 2019-07-14T06:16:51 Created requirements tracker '/tmp/pip-req-tracker-x_vwhxw5' 2019-07-14T06:16:51 Created temporary directory: /tmp/pip-wheel-1ri72vxf 2019-07-14T06:16:51 Collecting pyqpbo==0.1.2 2019-07-14T06:16:51 1 location(s) to search for versions of pyqpbo: 2019-07-14T06:16:51 * https://pypi.org/simple/pyqpbo/ 2019-07-14T06:16:51 Getting page https://pypi.org/simple/pyqpbo/ 2019-07-14T06:16:51 Analyzing links from page https://pypi.org/simple/pyqpbo/ 2019-07-14T06:16:51 Found link https://files.pythonhosted.org/packages/cd/cb/17736c340348131cf9a320afeb2c308dcfacc0f516084264c22694e47433/pyqpbo-0.1.tar.gz#sha256=6af1d64795c83eed5485dd88ef2ceff9956dcc616c41c3592b1d6648897e5180 (from https://pypi.org/simple/pyqpbo/), version: 0.1 2019-07-14T06:16:51 Found link https://files.pythonhosted.org/packages/5a/46/7533a8e8948a055cade60293ff1d167d160f38284f451abcab012e372ac1/pyqpbo-0.1.1.tar.gz#sha256=b85f23af753b499f19426831e6058480ee06cb893dd70c8856be3982d8cd1fcf (from https://pypi.org/simple/pyqpbo/), version: 0.1.1 2019-07-14T06:16:51 Found link https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz#sha256=558c1827313608aa8c006a2dcc4059021b380ab8684f88ae842d0d70d60c8a7b (from https://pypi.org/simple/pyqpbo/), version: 0.1.2 2019-07-14T06:16:51 Using version 0.1.2 (newest of versions: 0.1.2) 2019-07-14T06:16:51 Created temporary directory: /tmp/pip-unpack-zc5s_nxn 2019-07-14T06:16:51 Downloading https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz (79kB) 2019-07-14T06:16:51 Downloading from URL https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz#sha256=558c1827313608aa8c006a2dcc4059021b380ab8684f88ae842d0d70d60c8a7b (from https://pypi.org/simple/pyqpbo/) 2019-07-14T06:16:51 Added pyqpbo==0.1.2 from https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz#sha256=558c1827313608aa8c006a2dcc4059021b380ab8684f88ae842d0d70d60c8a7b to build tracker '/tmp/pip-req-tracker-x_vwhxw5' 2019-07-14T06:16:51 Running setup.py (path:/tmp/pip-wheel-1ri72vxf/pyqpbo/setup.py) egg_info for package pyqpbo 2019-07-14T06:16:51 Running command python setup.py egg_info 2019-07-14T06:16:53 running egg_info 2019-07-14T06:16:53 creating pip-egg-info/pyqpbo.egg-info 2019-07-14T06:16:53 writing pip-egg-info/pyqpbo.egg-info/PKG-INFO 2019-07-14T06:16:53 writing dependency_links to pip-egg-info/pyqpbo.egg-info/dependency_links.txt 2019-07-14T06:16:53 writing top-level names to pip-egg-info/pyqpbo.egg-info/top_level.txt 2019-07-14T06:16:53 writing manifest file 'pip-egg-info/pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:16:54 reading manifest file 'pip-egg-info/pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:16:54 writing manifest file 'pip-egg-info/pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:16:54 Source in /tmp/pip-wheel-1ri72vxf/pyqpbo has version 0.1.2, which satisfies requirement pyqpbo==0.1.2 from https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz#sha256=558c1827313608aa8c006a2dcc4059021b380ab8684f88ae842d0d70d60c8a7b 2019-07-14T06:16:54 Removed pyqpbo==0.1.2 from https://files.pythonhosted.org/packages/f7/86/35818de7036945c533f1fec0e8af0949e7a469f986a4310c639d4da20182/pyqpbo-0.1.2.tar.gz#sha256=558c1827313608aa8c006a2dcc4059021b380ab8684f88ae842d0d70d60c8a7b from build tracker '/tmp/pip-req-tracker-x_vwhxw5' 2019-07-14T06:16:54 Building wheels for collected packages: pyqpbo 2019-07-14T06:16:54 Created temporary directory: /tmp/pip-wheel-zicqww7d 2019-07-14T06:16:54 Building wheel for pyqpbo (setup.py): started 2019-07-14T06:16:54 Destination directory: /tmp/pip-wheel-zicqww7d 2019-07-14T06:16:54 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-1ri72vxf/pyqpbo/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 /tmp/pip-wheel-zicqww7d 2019-07-14T06:16:56 running bdist_wheel 2019-07-14T06:16:56 running build 2019-07-14T06:16:56 running build_py 2019-07-14T06:16:56 creating build 2019-07-14T06:16:56 creating build/lib.linux-armv7l-3.7 2019-07-14T06:16:56 creating build/lib.linux-armv7l-3.7/pyqpbo 2019-07-14T06:16:56 copying pyqpbo/__init__.py -> build/lib.linux-armv7l-3.7/pyqpbo 2019-07-14T06:16:56 running build_ext 2019-07-14T06:16:57 building 'pyqpbo.pyqpbo' extension 2019-07-14T06:16:57 creating build/temp.linux-armv7l-3.7 2019-07-14T06:16:57 creating build/temp.linux-armv7l-3.7/src 2019-07-14T06:16:57 creating build/temp.linux-armv7l-3.7/QPBO-v1.3.src 2019-07-14T06:16:57 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -IQPBO-v1.3.src -I/home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c src/pyqpbo.cpp -o build/temp.linux-armv7l-3.7/src/pyqpbo.o -fpermissive 2019-07-14T06:16:57 In file included from /home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822, 2019-07-14T06:16:57 from /home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2019-07-14T06:16:57 from /home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, 2019-07-14T06:16:57 from src/pyqpbo.cpp:314: 2019-07-14T06:16:57 /home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 2019-07-14T06:16:57 #warning "Using deprecated NumPy API, disable it with " \ 2019-07-14T06:16:57 ^~~~~~~ 2019-07-14T06:17:27 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -IQPBO-v1.3.src -I/home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c QPBO-v1.3.src/QPBO.cpp -o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO.o -fpermissive 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:943: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = int]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:16:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_name = "int"; 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:17:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_format = "d"; 2019-07-14T06:17:28 ^~~ 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:23:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_name = "float"; 2019-07-14T06:17:28 ^~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:24:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_format = "f"; 2019-07-14T06:17:28 ^~~ 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:30:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_name = "double"; 2019-07-14T06:17:28 ^~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:31:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 type_format = "Lf"; 2019-07-14T06:17:28 ^~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(int, int, void (*)(char*)) [with REAL = int]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:27:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(QPBO&) [with REAL = int]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:79:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_nodes(int) [with REAL = int]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:179:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_arcs(int) [with REAL = int]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:211:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(int, int, void (*)(char*)) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:27:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(QPBO&) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:79:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘bool QPBO::Save(char*, int) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:333:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘double’ [-Wformat=] 2019-07-14T06:17:28 fprintf(fp, "1 %d %d\n", i+1, delta); 2019-07-14T06:17:28 ^~~~~~~~~~~ ~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:338:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘double’ [-Wformat=] 2019-07-14T06:17:28 fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10); 2019-07-14T06:17:28 ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_nodes(int) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:179:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_arcs(int) [with REAL = float]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:211:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(int, int, void (*)(char*)) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:11:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(int node_num_max, int edge_num_max, void (*err_function)(char *)) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:27:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘QPBO::QPBO(QPBO&) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:539:22: warning: ‘QPBO::fix_node_info_list’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 Block* fix_node_info_list; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:498:6: warning: ‘int QPBO::stage’ [-Wreorder] 2019-07-14T06:17:28 int stage; // 0: maxflow is solved only for nodes in [nodes[0],node_last[0]). 2019-07-14T06:17:28 ^~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 In file included from QPBO-v1.3.src/QPBO.cpp:7: 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:502:7: warning: ‘QPBO::all_edges_submodular’ will be initialized after [-Wreorder] 2019-07-14T06:17:28 bool all_edges_submodular; 2019-07-14T06:17:28 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.h:480:31: warning: ‘void (* QPBO::error_function)(char*)’ [-Wreorder] 2019-07-14T06:17:28 void (*error_function)(char *); // this function is called if a error occurs, 2019-07-14T06:17:28 ^ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:62:2: warning: when initialized here [-Wreorder] 2019-07-14T06:17:28 QPBO::QPBO(QPBO& q) 2019-07-14T06:17:28 ^~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:79:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘bool QPBO::Save(char*, int) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:333:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘double’ [-Wformat=] 2019-07-14T06:17:28 fprintf(fp, "1 %d %d\n", i+1, delta); 2019-07-14T06:17:28 ^~~~~~~~~~~ ~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:338:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘double’ [-Wformat=] 2019-07-14T06:17:28 fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10); 2019-07-14T06:17:28 ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_nodes(int) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:179:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp: In instantiation of ‘void QPBO::reallocate_arcs(int) [with REAL = double]’: 2019-07-14T06:17:28 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:28 QPBO-v1.3.src/QPBO.cpp:211:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:28 if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:28 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:37 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -IQPBO-v1.3.src -I/home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c QPBO-v1.3.src/QPBO_extra.cpp -o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_extra.o -fpermissive 2019-07-14T06:17:37 In file included from QPBO-v1.3.src/QPBO_extra.cpp:1234: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = int]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:16:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_name = "int"; 2019-07-14T06:17:37 ^~~~~ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:17:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_format = "d"; 2019-07-14T06:17:37 ^~~ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = float]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:23:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_name = "float"; 2019-07-14T06:17:37 ^~~~~~~ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:24:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_format = "f"; 2019-07-14T06:17:37 ^~~ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = double]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:30:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_name = "double"; 2019-07-14T06:17:37 ^~~~~~~~ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:31:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 type_format = "Lf"; 2019-07-14T06:17:37 ^~~~ 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp: In instantiation of ‘bool QPBO::AddDirectedConstraint1(QPBO::Arc*, int, int) [with REAL = int]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:459:6: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 2019-07-14T06:17:37 int x; // 0 if current edge is submodular, 1 otherwise 2019-07-14T06:17:37 ^ 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp: In instantiation of ‘bool QPBO::AddDirectedConstraint1(QPBO::Arc*, int, int) [with REAL = float]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:459:6: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp: In instantiation of ‘bool QPBO::AddDirectedConstraint1(QPBO::Arc*, int, int) [with REAL = double]’: 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:459:6: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 2019-07-14T06:17:37 In file included from QPBO-v1.3.src/QPBO.h:113, 2019-07-14T06:17:37 from QPBO-v1.3.src/QPBO_extra.cpp:7: 2019-07-14T06:17:37 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::FixNodeInfo]’: 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:1191:7: required from ‘bool QPBO::Improve(int, int*, int*) [with REAL = int]’ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:37 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:37 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::FixNodeInfo]’: 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:1191:7: required from ‘bool QPBO::Improve(int, int*, int*) [with REAL = float]’ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:37 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::FixNodeInfo]’: 2019-07-14T06:17:37 QPBO-v1.3.src/QPBO_extra.cpp:1191:7: required from ‘bool QPBO::Improve(int, int*, int*) [with REAL = double]’ 2019-07-14T06:17:37 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:37 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -IQPBO-v1.3.src -I/home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c QPBO-v1.3.src/QPBO_maxflow.cpp -o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_maxflow.o -fpermissive 2019-07-14T06:17:54 In file included from QPBO-v1.3.src/QPBO_maxflow.cpp:708: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = int]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:16:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_name = "int"; 2019-07-14T06:17:54 ^~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:17:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_format = "d"; 2019-07-14T06:17:54 ^~~ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = float]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:23:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_name = "float"; 2019-07-14T06:17:54 ^~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:24:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_format = "f"; 2019-07-14T06:17:54 ^~~ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = double]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:30:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_name = "double"; 2019-07-14T06:17:54 ^~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:31:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 type_format = "Lf"; 2019-07-14T06:17:54 ^~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_source_orphan(QPBO::Node*) [with REAL = int]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:372:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_sink_orphan(QPBO::Node*) [with REAL = int]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:449:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_source_orphan(QPBO::Node*) [with REAL = float]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:372:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_sink_orphan(QPBO::Node*) [with REAL = float]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:449:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_source_orphan(QPBO::Node*) [with REAL = double]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:372:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp: In instantiation of ‘void QPBO::process_sink_orphan(QPBO::Node*) [with REAL = double]’: 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:449:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T06:17:54 if (i->parent = a0_min) 2019-07-14T06:17:54 ^~ 2019-07-14T06:17:54 In file included from QPBO-v1.3.src/QPBO.h:113, 2019-07-14T06:17:54 from QPBO-v1.3.src/QPBO_maxflow.cpp:5: 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* DBlock::New() [with Type = QPBO::nodeptr]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:78:5: required from ‘void QPBO::set_orphan_front(QPBO::Node*) [with REAL = int]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:223:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!first) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::Node*]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:107:11: required from ‘void QPBO::add_to_changed_list(QPBO::Node*) [with REAL = int]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:9:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* DBlock::New() [with Type = QPBO::nodeptr]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:78:5: required from ‘void QPBO::set_orphan_front(QPBO::Node*) [with REAL = float]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:223:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!first) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::Node*]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:107:11: required from ‘void QPBO::add_to_changed_list(QPBO::Node*) [with REAL = float]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:10:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* DBlock::New() [with Type = QPBO::nodeptr]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:78:5: required from ‘void QPBO::set_orphan_front(QPBO::Node*) [with REAL = double]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:223:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!first) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:17:54 QPBO-v1.3.src/block.h: In instantiation of ‘Type* Block::New(int) [with Type = QPBO::Node*]’: 2019-07-14T06:17:54 QPBO-v1.3.src/QPBO_maxflow.cpp:107:11: required from ‘void QPBO::add_to_changed_list(QPBO::Node*) [with REAL = double]’ 2019-07-14T06:17:54 QPBO-v1.3.src/instances.inc:11:16: required from here 2019-07-14T06:17:54 QPBO-v1.3.src/block.h:124:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:17:54 if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); } 2019-07-14T06:17:54 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T06:18:01 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -IQPBO-v1.3.src -I/home/piwheels/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c QPBO-v1.3.src/QPBO_postprocessing.cpp -o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_postprocessing.o -fpermissive 2019-07-14T06:18:01 In file included from QPBO-v1.3.src/QPBO_postprocessing.cpp:171: 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = int]’: 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:16:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_name = "int"; 2019-07-14T06:18:01 ^~~~~ 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:17:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_format = "d"; 2019-07-14T06:18:01 ^~~ 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = float]’: 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:23:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_name = "float"; 2019-07-14T06:18:01 ^~~~~~~ 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:24:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_format = "f"; 2019-07-14T06:18:01 ^~~ 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc: In member function ‘void QPBO::get_type_information(char*&, char*&) [with REAL = double]’: 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:30:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_name = "double"; 2019-07-14T06:18:01 ^~~~~~~~ 2019-07-14T06:18:01 QPBO-v1.3.src/instances.inc:31:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-14T06:18:01 type_format = "Lf"; 2019-07-14T06:18:01 ^~~~ 2019-07-14T06:18:03 arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/src/pyqpbo.o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO.o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_extra.o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_maxflow.o build/temp.linux-armv7l-3.7/QPBO-v1.3.src/QPBO_postprocessing.o -LQPBO-v1.3.src -o build/lib.linux-armv7l-3.7/pyqpbo/pyqpbo.cpython-37m-arm-linux-gnueabihf.so 2019-07-14T06:18:04 installing to build/bdist.linux-armv7l/wheel 2019-07-14T06:18:04 running install 2019-07-14T06:18:04 running install_lib 2019-07-14T06:18:04 creating build/bdist.linux-armv7l 2019-07-14T06:18:04 creating build/bdist.linux-armv7l/wheel 2019-07-14T06:18:04 creating build/bdist.linux-armv7l/wheel/pyqpbo 2019-07-14T06:18:04 copying build/lib.linux-armv7l-3.7/pyqpbo/__init__.py -> build/bdist.linux-armv7l/wheel/pyqpbo 2019-07-14T06:18:04 copying build/lib.linux-armv7l-3.7/pyqpbo/pyqpbo.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/pyqpbo 2019-07-14T06:18:04 running install_egg_info 2019-07-14T06:18:04 running egg_info 2019-07-14T06:18:04 creating pyqpbo.egg-info 2019-07-14T06:18:04 writing pyqpbo.egg-info/PKG-INFO 2019-07-14T06:18:04 writing dependency_links to pyqpbo.egg-info/dependency_links.txt 2019-07-14T06:18:04 writing top-level names to pyqpbo.egg-info/top_level.txt 2019-07-14T06:18:04 writing manifest file 'pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:18:04 reading manifest file 'pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:18:04 writing manifest file 'pyqpbo.egg-info/SOURCES.txt' 2019-07-14T06:18:04 Copying pyqpbo.egg-info to build/bdist.linux-armv7l/wheel/pyqpbo-0.1.2-py3.7.egg-info 2019-07-14T06:18:04 running install_scripts 2019-07-14T06:18:04 creating build/bdist.linux-armv7l/wheel/pyqpbo-0.1.2.dist-info/WHEEL 2019-07-14T06:18:04 creating '/tmp/pip-wheel-zicqww7d/pyqpbo-0.1.2-cp37-cp37m-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2019-07-14T06:18:04 adding 'pyqpbo/__init__.py' 2019-07-14T06:18:05 adding 'pyqpbo/pyqpbo.cpython-37m-arm-linux-gnueabihf.so' 2019-07-14T06:18:05 adding 'pyqpbo-0.1.2.dist-info/METADATA' 2019-07-14T06:18:05 adding 'pyqpbo-0.1.2.dist-info/WHEEL' 2019-07-14T06:18:05 adding 'pyqpbo-0.1.2.dist-info/top_level.txt' 2019-07-14T06:18:05 adding 'pyqpbo-0.1.2.dist-info/RECORD' 2019-07-14T06:18:05 removing build/bdist.linux-armv7l/wheel 2019-07-14T06:18:05 Building wheel for pyqpbo (setup.py): finished with status 'done' 2019-07-14T06:18:05 Stored in directory: /tmp/tmp4ae2w3cv 2019-07-14T06:18:05 Successfully built pyqpbo 2019-07-14T06:18:05 Cleaning up... 2019-07-14T06:18:05 Removing source in /tmp/pip-wheel-1ri72vxf/pyqpbo 2019-07-14T06:18:05 Removed build tracker '/tmp/pip-req-tracker-x_vwhxw5'