Skip to content

Does not install in Max OS X Mavericks #5

@simonhughes22

Description

@simonhughes22

Get 3 errors during pip install pyqpbo:

Downloading/unpacking pyqpbo
Running setup.py egg_info for package pyqpbo

Installing collected packages: pyqpbo
Running setup.py install for pyqpbo
building 'pyqpbo.pyqpbo' extension
gcc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -DNDEBUG -g -O3 -arch x86_64 -IQPBO-v1.3.src -I/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include -I/Applications/Canopy.app/appdata/canopy-1.2.0.1610.macosx-x86_64/Canopy.app/Contents/include/python2.7 -c src/pyqpbo.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/pyqpbo.o -fpermissive
In file included from src/pyqpbo.cpp:257:
In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:
/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
In file included from src/pyqpbo.cpp:259:
In file included from QPBO-v1.3.src/QPBO.h:113:
QPBO-v1.3.src/block.h:124:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!next) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/block.h:223:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!first) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
3 warnings generated.
gcc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -DNDEBUG -g -O3 -arch x86_64 -IQPBO-v1.3.src -I/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include -I/Applications/Canopy.app/appdata/canopy-1.2.0.1610.macosx-x86_64/Canopy.app/Contents/include/python2.7 -c QPBO-v1.3.src/QPBO.cpp -o build/temp.macosx-10.6-x86_64-2.7/QPBO-v1.3.src/QPBO.o -fpermissive
In file included from QPBO-v1.3.src/QPBO.cpp:7:
In file included from QPBO-v1.3.src/QPBO.h:113:
QPBO-v1.3.src/block.h:124:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!next) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/block.h:223:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!first) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:333:34: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
fprintf(fp, "1 %d %d\n", i+1, delta);
~~ ^~~~~
%f
QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::Save' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:338:42: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10);
~~ ^~~~~~~~~~~~~~~~~~~~~
%f
QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char _' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0] || !arcs[0]) { if (error_function) (_error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::QPBO' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:333:34: warning: format specifies type 'int' but the argument has type 'double' [-Wformat]
fprintf(fp, "1 %d %d\n", i+1, delta);
~~ ^~~~~
%f
QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::Save' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:338:42: warning: format specifies type 'int' but the argument has type 'double' [-Wformat]
fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10);
~~ ^~~~~~~~~~~~~~~~~~~~~
%f
QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char ' is deprecated [-Wdeprecated-writable-strings]
if (!nodes[0]) { if (error_function) (error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here
template class QPBO;
^
QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char ' is deprecated [-Wdeprecated-writable-strings]
if (!arcs[0]) { if (error_function) (error_function)("Not enough memory!"); exit(1); }
^
QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here
template class QPBO;
^
QPBO-v1.3.src/instances.inc:14:25: error: explicit specialization of 'get_type_information' after instantiation
inline void QPBO::get_type_information(char
& type_name, char
& type_format)
^
QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here
get_type_information(type_name, type_format);
^
In file included from QPBO-v1.3.src/QPBO.cpp:943:
QPBO-v1.3.src/instances.inc:16:14: warning: conversion from string literal to 'char ' is deprecated [-Wdeprecated-writable-strings]
type_name = "int";
^
QPBO-v1.3.src/instances.inc:17:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
type_format = "d";
^
QPBO-v1.3.src/instances.inc:21:27: error: explicit specialization of 'get_type_information' after instantiation
inline void QPBO::get_type_information(char
& type_name, char
& type_format)
^
QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here
get_type_information(type_name, type_format);
^
In file included from QPBO-v1.3.src/QPBO.cpp:943:
QPBO-v1.3.src/instances.inc:23:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
type_name = "float";
^
QPBO-v1.3.src/instances.inc:24:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
type_format = "f";
^
QPBO-v1.3.src/instances.inc:28:28: error: explicit specialization of 'get_type_information' after instantiation
inline void QPBO::get_type_information(char& type_name, char*& type_format)
^
QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here
get_type_information(type_name, type_format);
^
In file included from QPBO-v1.3.src/QPBO.cpp:943:
QPBO-v1.3.src/instances.inc:30:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
type_name = "double";
^
QPBO-v1.3.src/instances.inc:31:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
type_format = "Lf";
^
28 warnings and 3 errors generated.
error: command 'gcc' failed with exit status 1
Complete output from command /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/bin/python -c "import setuptools;file='/Users/simon.hughes/GitHub/NlpResearch/build/pyqpbo/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /var/folders/97/_9xfnqln35vb6b1ng9czmr2d4x97nt/T/pip-VpwVwb-record/install-record.txt:
running install

running build

running build_py

creating build

creating build/lib.macosx-10.6-x86_64-2.7

creating build/lib.macosx-10.6-x86_64-2.7/pyqpbo

copying pyqpbo/init.py -> build/lib.macosx-10.6-x86_64-2.7/pyqpbo

running build_ext

building 'pyqpbo.pyqpbo' extension

creating build/temp.macosx-10.6-x86_64-2.7

creating build/temp.macosx-10.6-x86_64-2.7/src

creating build/temp.macosx-10.6-x86_64-2.7/QPBO-v1.3.src

gcc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -DNDEBUG -g -O3 -arch x86_64 -IQPBO-v1.3.src -I/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include -I/Applications/Canopy.app/appdata/canopy-1.2.0.1610.macosx-x86_64/Canopy.app/Contents/include/python2.7 -c src/pyqpbo.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/pyqpbo.o -fpermissive

In file included from src/pyqpbo.cpp:257:

In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:

In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:

In file included from /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:

/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]

warning "Using deprecated NumPy API, disable it by " \

^

In file included from src/pyqpbo.cpp:259:

In file included from QPBO-v1.3.src/QPBO.h:113:

QPBO-v1.3.src/block.h:124:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

                            if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                               ^

QPBO-v1.3.src/block.h:223:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

                    if (!first) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                        ^

3 warnings generated.

gcc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -DNDEBUG -g -O3 -arch x86_64 -IQPBO-v1.3.src -I/Users/simon.hughes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include -I/Applications/Canopy.app/appdata/canopy-1.2.0.1610.macosx-x86_64/Canopy.app/Contents/include/python2.7 -c QPBO-v1.3.src/QPBO.cpp -o build/temp.macosx-10.6-x86_64-2.7/QPBO-v1.3.src/QPBO.o -fpermissive

In file included from QPBO-v1.3.src/QPBO.cpp:7:

In file included from QPBO-v1.3.src/QPBO.h:113:

QPBO-v1.3.src/block.h:124:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

                            if (!next) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                               ^

QPBO-v1.3.src/block.h:223:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

                    if (!first) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                        ^

QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                           ^

QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                          ^

QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                           ^

QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                          ^

QPBO-v1.3.src/instances.inc:9:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:333:34: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]

                    fprintf(fp, "1 %d %d\n", i+1, delta);

                                      ~~          ^~~~~

                                      %f

QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::Save' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:338:42: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]

                    fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10);

                                         ~~               ^~~~~~~~~~~~~~~~~~~~~

                                         %f

QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                           ^

QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                          ^

QPBO-v1.3.src/instances.inc:10:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:27:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:79:69: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0] || !arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                                       ^

QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::QPBO' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:333:34: warning: format specifies type 'int' but the argument has type 'double' [-Wformat]

                    fprintf(fp, "1 %d %d\n", i+1, delta);

                                      ~~          ^~~~~

                                      %f

QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::Save' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:338:42: warning: format specifies type 'int' but the argument has type 'double' [-Wformat]

                    fprintf(fp, "2 %d %d %d\n", i+1, j+1, E00 + E11 - E01 - E10);

                                         ~~               ^~~~~~~~~~~~~~~~~~~~~

                                         %f

QPBO-v1.3.src/QPBO.cpp:179:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!nodes[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                           ^

QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::reallocate_nodes' requested here

template class QPBO;

           ^

QPBO-v1.3.src/QPBO.cpp:211:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    if (!arcs[0]) { if (error_function) (*error_function)("Not enough memory!"); exit(1); }

                                                          ^

QPBO-v1.3.src/instances.inc:11:16: note: in instantiation of member function 'QPBO::reallocate_arcs' requested here

template class QPBO;

           ^

QPBO-v1.3.src/instances.inc:14:25: error: explicit specialization of 'get_type_information' after instantiation

    inline void QPBO<int>::get_type_information(char*& type_name, char*& type_format)

                           ^

QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here

            get_type_information(type_name, type_format);

            ^

In file included from QPBO-v1.3.src/QPBO.cpp:943:

QPBO-v1.3.src/instances.inc:16:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_name = "int";

                ^

QPBO-v1.3.src/instances.inc:17:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_format = "d";

                  ^

QPBO-v1.3.src/instances.inc:21:27: error: explicit specialization of 'get_type_information' after instantiation

    inline void QPBO<float>::get_type_information(char*& type_name, char*& type_format)

                             ^

QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here

            get_type_information(type_name, type_format);

            ^

In file included from QPBO-v1.3.src/QPBO.cpp:943:

QPBO-v1.3.src/instances.inc:23:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_name = "float";

                ^

QPBO-v1.3.src/instances.inc:24:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_format = "f";

                  ^

QPBO-v1.3.src/instances.inc:28:28: error: explicit specialization of 'get_type_information' after instantiation

    inline void QPBO<double>::get_type_information(char*& type_name, char*& type_format)

                              ^

QPBO-v1.3.src/QPBO.cpp:278:3: note: implicit instantiation first required here

            get_type_information(type_name, type_format);

            ^

In file included from QPBO-v1.3.src/QPBO.cpp:943:

QPBO-v1.3.src/instances.inc:30:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_name = "double";

                ^

QPBO-v1.3.src/instances.inc:31:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]

    type_format = "Lf";

                  ^

28 warnings and 3 errors generated.

error: command 'gcc' failed with exit status 1


Command /Users/simon.hughes/Library/Enthought/Canopy_64bit/User/bin/python -c "import setuptools;file='/Users/simon.hughes/GitHub/NlpResearch/build/pyqpbo/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /var/folders/97/_9xfnqln35vb6b1ng9czmr2d4x97nt/T/pip-VpwVwb-record/install-record.txt failed with error code 1
Storing complete log in /Users/simon.hughes/.pip/pip.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions