On Thu, 22 Nov 2018 10:09:42 -0700 (MST)
[email protected] wrote:
> http://build-failures.rhaalovely.net/aarch64/2018-11-18/games/dungeon-crawl.log
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 };
^~
I guess char is unsigned on arm, like it is on powerpc. The last
powerpc bulk failed earlier...
On Sat, 17 Nov 2018 05:25:33 -0700 (MST)
[email protected] wrote:
> http://build-failures.rhaalovely.net//powerpc/2018-11-01/games/dungeon-crawl.log
describe.cc: In function 'void randart_descpr(std::string&, const item_def&)':
describe.cc:325:26: error: 'strlen' was not declared in this scope
if (strlen( desc ) > 0)
^
...but if someone fixed the strlen, there would be char problems. I
have not played dungeon-crawl for several years. If my memory is
correct, the game assumes that char is signed (as on i386), and the
build was using gcc -fsigned-char if char was unsigned, but it was
probably a build of stone-soup.
OpenBSD has a newer version of games/dungeon-crawl as
games/stone-soup. (Both ports have no maintainers.) I see snapshot
packages of stone-soup on aarch64 and powerpc, so it might be possible
to play stone-soup on platforms where dungeon-crawl is broken.
--
George Koehler <[email protected]>