From nobody Wed Mar 08 10:42:22 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 4PWpmy4QjJz3wF8Q for ; Wed, 8 Mar 2023 10:42:58 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWpmy3fy5z46SN; Wed, 8 Mar 2023 10:42:58 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 390ED10A1E97; Wed, 8 Mar 2023 11:42:57 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 9B92310A1E98; Wed, 8 Mar 2023 11:42:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1678272175; 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=liJl7L1HSod8z2Nip9TRhT8v5gaQaPLlWrHnVXgTa78=; b=bNq4/pOtwbpqtUurfElt1CLNvxbNR3VANG2PMMxDDu0IxCsiBttJrKwoIVoj56dSxyrHA4 iYqbfybK96KcELyOIGyCB0+E0E4fI26TopB6GiHxgfjGOcUTmmygGvRvxYv/YSzD7PxqJp 3QgIT/kCRsVkUOXrXW09sDgvnWInn7sKzGFOdIsJWRiW4R9rBHQlADBwrkliiNLVn5vMaq ouOIM6Rc5XR4v9BJv3o6lf01S1CbWKuOOxIcuiVTc8OYnuu1iPPSMfBCqfh4EWf/ObGTXL TK7UBAMlaPiRpTqoOuK80Mz+sFp8D1BkeiI4Vlhv0q4AU9/XRiXFKPkJ+WJLEQ== Received: from thor.intern.walstatt.dynvpn.de (dynamic-089-012-081-131.89.12.pool.telefonica.de [89.12.81.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 69B2710A1E96; Wed, 8 Mar 2023 11:42:55 +0100 (CET) Date: Wed, 8 Mar 2023 11:42:22 +0100 From: FreeBSD User To: Dimitry Andric Cc: FreeBSD CURRENT Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <20230308114249.7cc1f363@thor.intern.walstatt.dynvpn.de> In-Reply-To: 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> Organization: walstatt-de.de 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 Content-Type: multipart/signed; boundary="Sig_/YR=M6/ZEE4Pqet7fJubf2eA"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: dd0f94 X-Rspamd-UID: bc6e10 X-Rspamd-Queue-Id: 4PWpmy3fy5z46SN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Sig_/YR=M6/ZEE4Pqet7fJubf2eA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Wed, 8 Mar 2023 11:28:11 +0100 Dimitry Andric schrieb: > 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] > > [...] =20 >=20 > 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: >=20 > ... > .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D "amd64" > _agp=3D agp > _an=3D an >=20 > -Dimitry >=20 Oh, I'm sorry, my fault in logic! Is there a "knob" to explicitely disable that specific module from being bu= ilt from a point of view of a user like me (not touching the base build system)? --=20 O. Hartmann --Sig_/YR=M6/ZEE4Pqet7fJubf2eA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZAhmqQAKCRCxzvs8Oqok r/vqAP9c1ZArFARNzo4kOaXuEgVvXx2eICevZCDD1ZyFE9NYFQD6AiXERFovtPPs LXS7NkqUJ9QD9EtTQqi4MNRP60Q5awo= =38UB -----END PGP SIGNATURE----- --Sig_/YR=M6/ZEE4Pqet7fJubf2eA--