NetBSD Problem Report #57808
From www@netbsd.org Mon Jan 1 19:45:18 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 00E601A923A
for <gnats-bugs@gnats.NetBSD.org>; Mon, 1 Jan 2024 19:45:17 +0000 (UTC)
Message-Id: <20240101194516.7CDC91A923C@mollari.NetBSD.org>
Date: Mon, 1 Jan 2024 19:45:16 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: #include cycle between sys/types.h, machine/endian.h, and sys/endian.h
X-Send-Pr-Version: www-1.0
>Number: 57808
>Category: lib
>Synopsis: #include cycle between sys/types.h, machine/endian.h, and sys/endian.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 01 19:50:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current
>Organization:
The Header Cycle
>Environment:
>Description:
- sys/types.h includes machine/endian.h
- machine/endian.h includes sys/endian.h on most (all?) machines
- sys/endian.h includes sys/types.h
>How-To-Repeat:
Try to disentangle PR standards/57806 and PR standards/57807, trip over this rope in the process.
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.