Skip to content

Broken i386 + Python 3 build #1548

Closed
Closed
@takluyver

Description

@takluyver

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

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