Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2023 15:00:00 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        current@freebsd.org
Subject:   builworld fails due to error in af_inet.c
Message-ID:  <20230522170000.25468c5f@ernst.home>

next in thread | raw e-mail | index | archive | help
I just ran buildworld using the latest current source.

It dies due to this error in line 385 of /usr/src/sbin/ifconfig/af_inet.c:

static void
warn_nomask(ifflags)

The compiler really doesn't like not seeing a type for ifflags and bails
out as the result.

Strangely enough, in_proc() a few lines later clearly has int ifflags in
its list of variables.

Setting ifflags to int in warn_nomask() fixes the build.

Wasn't this compile tested before it was committed?

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230522170000.25468c5f>