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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>

-- 
                                           _ __ ___ ____  ___ ___ ___
          Wesley N Morgan                       _ __ ___ | _ ) __|   \
          [EMAIL PROTECTED]                     _ __ | _ \._ \ |) |
          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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to