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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 12 11:56:25 UTC 2018


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

            Bug ID: 229723
           Summary: games/dungeoncrawl: unbreak on clang6 (use c++98) /
                    unbreak on aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: greg at unrelenting.technology

Created attachment 195074
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195074&action=edit
dungeoncrawl.patch

C++17 mode by default implies -Wc++11-narrowing, which results in an error
(itemname.cc:2788) on amd64, plus a ton of errors related to chars being
unsigned on aarch64.

Add -std=c++98 to fix in general, and -fsigned-char to make it work with the
assumption that chars are signed. (Though the game actually works on aarch64
even without -fsigned-char lol.)

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


More information about the freebsd-ports-bugs mailing list