[Bug 216076] editors/madedit: fails to build with clang 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 1 05:26:07 UTC 2017


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

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

Author: jbeich
Date: Wed Feb  1 05:25:42 UTC 2017
New revision: 432971
URL: https://svnweb.freebsd.org/changeset/ports/432971

Log:
  editors/madedit: unbreak with clang 4.0

  src/MadOptionsDialog.cpp:1179:56: error: ordered comparison between pointer
and zero
        ('const wxChar *' (aka 'const wchar_t *') and 'int')
          if(g_SelectedCommandItem->cmddata->menuid_name > 0)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  src/MadOptionsDialog.cpp:1277:42: error: ordered comparison between pointer
and zero
        ('const wxChar *' (aka 'const wchar_t *') and 'int')
              if(tid->cmddata->menuid_name > 0)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

  PR:           216076
  Reported by:  antoine (via exp-run)

Changes:
  head/editors/madedit/files/patch-src_MadOptionsDialog.cpp

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


More information about the freebsd-ports-bugs mailing list