git: CCVER=gcc46: Now builds world and kernel cleanly
John Marino
marino at crater.dragonflybsd.org
Sun Feb 5 00:00:49 PST 2012
commit e9523ed2520fb65086837f8a407d1a61c5076e35
Author: John Marino <draco at marino.st>
Date: Sun Feb 5 08:00:44 2012 +0100
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
Summary of changes:
sbin/restore/interactive.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e9523ed2520fb65086837f8a407d1a61c5076e35
--
DragonFly BSD source repository
More information about the Commits
mailing list