[Bug 229723] games/dungeoncrawl: unbreak on clang6 (use c++98) / unbreak on aarch64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 18 02:57:47 UTC 2018


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

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

Author: jbeich
Date: Wed Jul 18 02:56:42 UTC 2018
New revision: 474831
URL: https://svnweb.freebsd.org/changeset/ports/474831

Log:
  MFH: r474830

  games/dungeoncrawl: unbreak with Clang 6

  direct.cc:47:32: error: constant expression evaluates to -1 which cannot be
narrowed to type 'char' [-Wc++11-narrowing]
  static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
                                 ^~
  describe.cc:216:28: warning: result of comparison of constant -2 with
expression of type 'char' is always false
[-Wtautological-constant-out-of-range-compare]
      if (proprt[ RAP_FIRE ] < -2)
          ~~~~~~~~~~~~~~~~~~ ^ ~~

  PR:           229723
  Submitted by: Greg V
  Reported by:  pkg-fallout
  Approved by:  ports-secteam blanket

Changes:
_U  branches/2018Q3/
  branches/2018Q3/games/dungeoncrawl/Makefile

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


More information about the freebsd-ports-bugs mailing list