CCVER=gcc46: Now builds world and kernel cleanly
authorJohn Marino <draco@marino.st>
Sun, 5 Feb 2012 07:00:44 +0000 (08:00 +0100)
committerJohn Marino <draco@marino.st>
Sun, 5 Feb 2012 08:00:04 +0000 (09:00 +0100)
commite9523ed2520fb65086837f8a407d1a61c5076e35
tree1050d8d569298f0fcec6a06e88081420dc181d79
parent7e1d2825717ccf4a77edc0de7cf1ae109928db1f
CCVER=gcc46: Now builds world and kernel cleanly

Starting with gcc 4.5, sbin/restore would break on interactive.c with
the complaint that the designated length of the storage array within
the adirent union structure was not constant.  After three previous
proposals on the best way to fix it, this is the one requiring the
least code change.  (Don't count the spelling correction!)

This was the last place the breaks using WORLD_CCVER=gcc46.  The
kernel builds cleanly.  Both the gcc46-built world and kernel load
and function normally.

suggested-by: vsrinivas
sbin/restore/interactive.c