Date: Sun, 22 Sep 2002 21:24:38 -0400 (EDT) From: Wesley Morgan <morganw@chemikals.org> To: Bruce Evans <bde@zeta.org.au> Cc: current@FreeBSD.ORG Subject: Re: i386 machine/endian.h Message-ID: <20020922211821.C80622-100000@volatile.chemikals.org> In-Reply-To: <20020923112155.Y16025-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As far as I can tell there are no __bswap* macros in the libraries; they are defined as bswap*. Whatever should be happening, the network byte swapping functions are creeping in using the __hton* and __ntoh* macros. These are pulling in the __bswap* functions that are of course undefined. Unless I'm doing something completely wrong here... Just dropping in icc to replace gcc/g++. On Mon, 23 Sep 2002, Bruce Evans wrote: > On Sun, 22 Sep 2002, Wesley Morgan wrote: > > > I've been playing around with lang/icc a bit, and find it quite vexing > > that machine/endian.h has macros that are ifdef'd around __GNUC__. The > > intel compiler does not like the macros, partly because they are split > > across multiple lines and possibly for other reasons. > > The Intel compiler shouldn't see these macros, so it should emit calls > to the corresponding library functions. The macros work correctly with > Tendra because it doesn't see them. > > Bruce > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@chemikals.org _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020922211821.C80622-100000>