[Bug 230462] x11/kdelibs-kde4: fails to build with clang 7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 23 22:29:50 BST 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230462

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: adridg
Date: Thu Aug 23 21:29:11 UTC 2018
New revision: 477926
URL: https://svnweb.freebsd.org/changeset/ports/477926

Log:
  Massage strange comparison for clang7

  kdecore/localization/klocale_kde.cpp:2441:59: error: ordered comparison
between pointer and zero ('const void *' and 'int')
      if ((timeFormat().contains(QString::fromLatin1("%I")) > 0) ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

  contains() returns bool or QBool, so this was weird to begin with.

  PR:           230462
  Reported by:  jbeich

Changes:
  head/x11/kdelibs-kde4/Makefile
  head/x11/kdelibs-kde4/files/patch-kdecore_localization_klocale__kde.cpp

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list