Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 19:13:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216356] devel/py-ice: fails to build with clang 4.0
Message-ID:  <bug-216356-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216356

            Bug ID: 216356
           Summary: devel/py-ice: fails to build with clang 4.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd@grem.de
            Blocks: 216008
             Flags: maintainer-feedback?(freebsd@grem.de)
                CC: freebsd@grem.de

Operation.cpp:1685:70: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
                if(PyTuple_SET_ITEM(results.get(), info->pos, Unset) < 0)
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2549:75: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(result.get(), 0, ok ? incTrue() : incFalse()) <=
 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^=
 ~
Operation.cpp:2589:56: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(result.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2830:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2870:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2913:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:2961:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3129:73: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, ok ? incTrue() : incFalse()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3177:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 1, op.get()) < 0)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3305:80: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
                    if(PyTuple_SET_ITEM(args.get(), info->pos + offset, Uns=
et)
< 0)
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~
^ ~
Operation.cpp:3332:83: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), PyTuple_GET_SIZE(args.get()) - 1,
curr.get()) < 0)
=20=20=20=20=20=20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =
^ ~
Operation.cpp:3350:60: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, (PyObject*)obj) < 0) //
PyTuple_SET_ITEM steals a reference.
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3701:54: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), start, ip.get()) < 0)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3713:56: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
    if(PyTuple_SET_ITEM(args.get(), start, curr.get()) < 0)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Operation.cpp:3733:60: error: ordered comparison between pointer and zero
('PyObject *' (aka '_object *') and 'int')
        if(PyTuple_SET_ITEM(args.get(), 0, (PyObject*)obj) < 0) //
PyTuple_SET_ITEM steals a reference.
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

build log: http://sprunge.us/aUGD
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216356-13>