Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken i386 + Python 3 build #1548

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

Broken i386 + Python 3 build #1548

takluyver opened this issue Dec 2, 2012 · 2 comments

Comments

@takluyver
Copy link
Contributor

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

@mdboom
Copy link
Member

mdboom commented Dec 3, 2012

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

@takluyver
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants