From owner-freebsd-current Sat Mar 25 4:23:39 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 35B1E37B6AA for ; Sat, 25 Mar 2000 04:23:34 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id XAA18497; Sat, 25 Mar 2000 23:31:11 +1100 Date: Sat, 25 Mar 2000 23:22:59 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Yoshinobu Inoue Cc: bmah@CA.Sandia.GOV, nnd@mail.nsk.ru, current@FreeBSD.ORG Subject: Re: 'machine/param.h' required for 'sys/socket.h' In-Reply-To: <20000325202906C.shin@nd.net.fujitsu.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Mar 2000, Yoshinobu Inoue wrote: > > Instead, CMSG* should use _ALIGN() and _ALIGN() should be implemented > > somewhere that doesn't add any namespace pollution. We currently > > use for things like this, but it is already too > > overloaded. > OK, then how about creating machine/align.h? That approach in general would give too many headers. is more wrongly loaded than overloaded. It is used to avoid certain namespace problems in general, not just ones in ANSI headers. It is mainly used to avoid namespace problems with typedefs. Typedefs should all be handled in , but currently aren't because would give namespace pollution in ANSI headers. I think headers like and should define only names in the implementation namespace, so that they can be used in standard headers. The standard headers then export precisely the names specified by the applicable standard, if any. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message