From nobody Sun Jun 12 15:14:14 2022 X-Original-To: bugs@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 6598283F800 for ; Sun, 12 Jun 2022 15:14:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LLdX60gVjz3rBj for ; Sun, 12 Jun 2022 15:14:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E57CD23A2B for ; Sun, 12 Jun 2022 15:14:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25CFEDDJ023246 for ; Sun, 12 Jun 2022 15:14:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25CFEDo9023245 for bugs@FreeBSD.org; Sun, 12 Jun 2022 15:14:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264635] Including headers from multicast(4) causes compilation failure: use of undeclared identifier 'NBBY' Date: Sun, 12 Jun 2022 15:14:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655046854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VOZJ26SA7D8JNUgtPn8aRgXEkgZkFPzxXppHriL1Om8=; b=QCPh13BJoNj/D1O+lgTg7NJAMKAvKLHX1w55+KwIIh/NNLOGH6JKkH6XfLVKZBOErqGAu1 pA4RoVCvn1FlUx2ia8bMq1yeBs0vBU0Jxu+aIW5q5uXFC1Q+eVHMzDN2T8VFMrxqs8GP2e PBIoyoCp3pK/Z/03y5sIfDNqzivAd+mZzQFZ+beywiY7hNhhloSWmKq1h3rDcU+vezZw6d l0zcyPrJWt12XRAuBJ1RnuGTS40zpphUREyHRThPMoOy40FNbFJEumGuCWoMKLyQT21XV/ uz/Wzxn0Tl4t08rfbuKQvIYOCeZK5/AMFwwwg4nAi+qZLONUF/+80alNzO3bbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655046854; a=rsa-sha256; cv=none; b=Y9cEmzJ3wr5dGXR4g06A8dqACXzLfcOXKEsqlYoZc0JTeubaCK6tfwNtk/r98bCLJABbVM BH1ZAMB2Mw0oz0SpRgZ2lIY46XdHnms9AXvnJdfd6CPgp4nXhbVSskZMLdcnAue4VhX2co /v5zp+ErAqGtmil61ubXbn2jvPfaqtRgrijE06THHmwTbxhL8rFleJL7DioJShhsIHDmRS gIKpg33wL16VToS/FHqV5XwxdYsSgEYN7IB9cfKel2EYvOf6+tFemxsrNRcezInXDwfywW y3k6Mxyzeckabg8rW3PNITx8n5Agx8s9XSurZtrySFwsBBm80cIcI+lVF24r2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264635 Bug ID: 264635 Summary: Including headers from multicast(4) causes compilation failure: use of undeclared identifier 'NBBY' Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org These headers alone fail: #include #include #include #include #include Failure: In file included from x.c:6: /usr/include/netinet6/ip6_mroute.h:92:39: error: use of undeclared identifi= er 'NBBY' if_mask ifs_bits[howmany(IF_SETSIZE, NIFBITS)]; ^ /usr/include/netinet6/ip6_mroute.h:85:36: note: expanded from macro 'NIFBIT= S' #define NIFBITS (sizeof(if_mask) * NBBY) /* bits per mask */ ^ /usr/include/netinet6/ip6_mroute.h:92:39: error: use of undeclared identifi= er 'NBBY' /usr/include/netinet6/ip6_mroute.h:85:36: note: expanded from macro 'NIFBIT= S' #define NIFBITS (sizeof(if_mask) * NBBY) /* bits per mask */ ^ 2 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=