Re: fix games/dungeon-crawl when char is unsigned

2019-02-20 Thread George Koehler
On Sat, 26 Jan 2019 22:25:11 -0700 "Theo de Raadt" wrote: > -fsigned-char is really the wrong solution. Every time. > > The right solution is to go into the code, and fix it there. > > C is complex enough as it is, without solving the architectural > problems with variation "flags". When I re

Re: fix games/dungeon-crawl when char is unsigned

2019-01-26 Thread Theo de Raadt
-fsigned-char is really the wrong solution. Every time. The right solution is to go into the code, and fix it there. C is complex enough as it is, without solving the architectural problems with variation "flags". > games/dungeon-crawl 4.0.0b26 has problems on platforms where char is > unsigned

fix games/dungeon-crawl when char is unsigned

2019-01-26 Thread George Koehler
games/dungeon-crawl 4.0.0b26 has problems on platforms where char is unsigned. The attached diff copies CXXFLAGS += -fsigned-char from FreeBSD, which fixes basic gameplay at my powerpc machine. I can start new game, move my @ in all 8 directions, save and restore, and get killed. The attached di