Changes between Initial Version and Version 1 of Ticket #59650


Ignore:
Timestamp:
Nov 9, 2019, 12:50:11 AM (5 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The log shows the error is:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/mymoney/mymoneyreport.cpp:822:29: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build   return (list.contains(id) > 0);
:info:build           ~~~~~~~~~~~~~~~~~ ^ ~
:info:build 1 error generated.
:info:build make[2]: *** [kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/mymoneyreport.cpp.o] Error 1

Ordered comparisons between pointers and zero are always a developer mistake, but clang has only started reporting it as an error in recent versions.

Duplicate of #58364.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59650

    • Property Status changed from new to closed
    • Property Resolution changed from to duplicate
    • Property Summary changed from kmymoney-devel fails after port rev-upgrade to kmymoney-devel: error: ordered comparison between pointer and zero
  • Ticket #59650 – Description

    initial v1  
    1 Following port self update, port upgrade outdated consistently ends with
     1Following port self update, `port upgrade outdated` consistently ends with
     2{{{
    23--->  Scanning binaries for linking errors
    34--->  Found 2 broken files, matching files to ports     
     
    89port installed kmymon* returns
    910  kmymoney4-devel @4.8.1-20171206_2 (active)
     11}}}
    1012
    11 an excerpt of the main.log is attached.
     13an excerpt of the main.log is attached.\\
    1214OS X 10.14.6