On Sat, Sep 14, 2013 at 01:56:27PM +0200, Joerg Sonnenberger wrote: > > > Modified Files: > > > src/games/backgammon/common_source: subs.c > > > src/games/backgammon/teachgammon: teach.c > > > > > > Log Message: > > > GC descr and helpm. > > > > What did we break in gcc WARNS such that it didn't catch these? It > > normally (for me) has no trouble detecting unused file-static objects > > and I don't see anything obvious in the build line. > > I don't know, this detection was recently added to clang.
[experiments] It appears that declaring static variables const prevents gcc from warning about them being unused. lame. -- David A. Holland dholl...@netbsd.org