May 10, 2017
1:33 p.m.
Robert Elz said:
The following patch was recently added to NetBSD, to appease GCC 8 (apparently) ... "hit" is a bool, and it seems gcc 8 does not like ++ operators applied to one of those.
Hmm. It's legal, but it suggests dubious thinking on the part of whoever wrote it. It's exactly equivalent to "q = true". ("q--" is equivalent to "q = !q".) -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646