Opened 5 years ago
Closed 5 years ago
#59650 closed defect (duplicate)
kmymoney-devel: error: ordered comparison between pointer and zero
Reported by: | StanSanderson | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | kmymoney4-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Following port self update, port upgrade outdated
consistently ends with
---> Scanning binaries for linking errors ---> Found 2 broken files, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: kmymoney4-devel @4.8.1-20171206 port installed kmymon* returns kmymoney4-devel @4.8.1-20171206_2 (active)
an excerpt of the main.log is attached.
OS X 10.14.6
Attachments (1)
Change History (2)
Changed 5 years ago by StanSanderson
Attachment: | excerpt_main.log added |
---|
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Summary: | kmymoney-devel fails after port rev-upgrade → kmymoney-devel: error: ordered comparison between pointer and zero |
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.
Note: See
TracTickets for help on using
tickets.
excerpt of main.log