From nobody Wed Mar 08 10:28:11 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWpSK4VsDz3wDBB for ; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWpSK3sQ1z44sZ; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678271313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iRUzPScMp5UTWkoe4nrn8bG6ZGn1LVwodV8GKFn+g88=; b=txkL298S3ubZ3rnzUUEh/cbxolCOFNofpS2Qu40XsfyyfGU6kPHKJrkUpV8ikBcE0NDTAG d+/Vpv3vcOBhzeIv+eAoHImJ6HAXn/tYN15Z81SThU34ZzIoCtfVeNez2Fx+Eog5QFzpJH zEhcLpRUlhlj9vHD+0QUpGDAlLH916is5FXwfNPJ4IU+FKXkmWRcJunoQMF6Nf5WjzJB1m awUPtdxrsaAUsTpWqmfR+CGgTRHSUE6K0t5MzIGO92OwsS3QaLB5UJCGzWcip/i+2c8K+y CxmwQFgzNbjHRrvAauVFWt8D2RxKgQWpw/GvJo0pLvLWBuB9cWqDT/RayFhm3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678271313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iRUzPScMp5UTWkoe4nrn8bG6ZGn1LVwodV8GKFn+g88=; b=gMTDTzY4pXovuY8dMPbosL+56PYXvN+DzdC5vQJjiREmuiyoX0uiSuTpx882ocxeO69yQQ b44JYP2+NzsMSA+TvmlrtPpd//SsiqaknwRZStWBsWgU3BlpYclRC4vFTAH+H5eCTqNhbd AcQRq3hX5wbIPALIeygwoftY7YpmUtJQcmaOAiVcSWE2BtFj8ZQiQ3TgI+75R1VfIZjBwk w6ADl+8xG8kz2elcb+SeDcF2nZFZ6H7P7T37HPKQ6afCtCNlGWKLeFkc88r8xR1tVeNkv8 jWZxVTwataZuLHhiVslGQNaacP2igxzJwUqeJjx3ZiiCoh5RH7FCthJw7nbJ6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678271313; a=rsa-sha256; cv=none; b=cJT9jvUMXgIlAI+Why3dyjJo56XLKwDCpbK69u7595gk0y0L2LZBFx+NtmbdT+X8ClXK07 vwAmHKKfphzh+EjlTryBY05SC9E7cbVbv3U+3FHVew0zThopAGEL2q3mro67WUgeDbu3Te OFHJdDl0ubsKoLdyB39z2UTKhqTtqD+LiuATGf7aEu+rPATE5ONH+JIWpEkkpcnlnL6nfc 4pQ13UKKK4BdSqHEI9D6eCyxLrpflyIwzGtLm9RkP76bFzDuvlSmZikmWwEaCetcTWMQnH OA+4KPbHmlr/Co+PAe82ogXaiE+x9E8iqK/WahQs0UuIsKkgrDFDlz7P16Bw/Q== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PWpSK29mCzyw7; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (92-111-45-100.static.v4.ziggozakelijk.nl [92.111.45.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 3D254405FA; Wed, 8 Mar 2023 11:28:31 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C From: Dimitry Andric In-Reply-To: <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> Date: Wed, 8 Mar 2023 11:28:11 +0100 Cc: FreeBSD CURRENT Message-Id: References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> To: FreeBSD User X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 8 Mar 2023, at 11:19, FreeBSD User wrote: ... > But I don't understand why the make environment is trying to compile a = piece of code that is > disabled via "nodevice" as shown in my initial report herein: >=20 > [...] > src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without = a prototype is > deprecated in all versions of C and is not supported in C2x > [-Werror,-Wdeprecated-non-prototype] > [...] The "nodevice" is for your custom kernel configuration, but as far as I can see an(4) is still built as a module, see sys/modules/Makefile: ... .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D = "amd64" _agp=3D agp _an=3D an -Dimitry --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZAhjPAAKCRCwXqMKLiCW ozr3AKCcFaXFhgNGcaCMvCKcIyogByzUEgCgm95h6YS2/Oz+8xbEnTzgFDe8Sqk= =JH9G -----END PGP SIGNATURE----- --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520--