Broken i386 + Python 3 build #1548

Closed
takluyver opened this Issue Dec 2, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

takluyver commented Dec 2, 2012

Commit 21f248e appears to have broken the build on Linux 32 bit, for Python 3. Specifically, these lines. The error is:

src/image.cpp: In member function 'Py::Object Image::resize(const Py::Tuple&, const Py::Dict&)':
src/image.cpp:374:37: error: conversion from 'Py::Int {aka Py::Long}' to 'size_t {aka unsigned int}' is ambiguous
src/image.cpp:374:37: note: candidates are:
./CXX/Python3/Objects.hxx:754:9: note: Py::Long::operator long long unsigned int() const
./CXX/Python3/Objects.hxx:744:9: note: Py::Long::operator long long int() const
./CXX/Python3/Objects.hxx:733:9: note: Py::Long::operator double() const
./CXX/Python3/Objects.hxx:723:9: note: Py::Long::operator long unsigned int() const
./CXX/Python3/Objects.hxx:712:9: note: Py::Long::operator int() const
./CXX/Python3/Objects.hxx:707:9: note: Py::Long::operator long int() const
src/image.cpp:375:37: error: conversion from 'Py::Int {aka Py::Long}' to 'size_t {aka unsigned int}' is ambiguous
src/image.cpp:375:37: note: candidates are:
./CXX/Python3/Objects.hxx:754:9: note: Py::Long::operator long long unsigned int() const
./CXX/Python3/Objects.hxx:744:9: note: Py::Long::operator long long int() const
./CXX/Python3/Objects.hxx:733:9: note: Py::Long::operator double() const
./CXX/Python3/Objects.hxx:723:9: note: Py::Long::operator long unsigned int() const
./CXX/Python3/Objects.hxx:712:9: note: Py::Long::operator int() const
./CXX/Python3/Objects.hxx:707:9: note: Py::Long::operator long int() const

See https://launchpad.net/~takluyver/+archive/matplotlib-daily/+build/4029684

Owner

mdboom commented Dec 3, 2012

This should be fixed in master by 35ee218. Can you confirm?

@takluyver takluyver closed this Dec 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment