From owner-freebsd-current Sun Sep 22 17:59:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D00AE37B401 for ; Sun, 22 Sep 2002 17:59:52 -0700 (PDT) Received: from volatile.chemikals.org (cae57-176-076.sc.rr.com [66.57.176.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F6643E65 for ; Sun, 22 Sep 2002 17:59:52 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.5/8.12.5) with ESMTP id g8N0xpQU080540 for ; Sun, 22 Sep 2002 20:59:51 -0400 (EDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost) by volatile.chemikals.org (8.12.6/8.12.6/Submit) with ESMTP id g8N0xpIw080537 for ; Sun, 22 Sep 2002 20:59:51 -0400 (EDT) X-Authentication-Warning: volatile.chemikals.org: morganw owned process doing -bs Date: Sun, 22 Sep 2002 20:59:51 -0400 (EDT) From: Wesley Morgan To: current@freebsd.org Subject: i386 machine/endian.h Message-ID: <20020922205448.A80510-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. It seems to me that making a header actually _require_ gcc-isms is something that the FreeBSD team should be working away from... Would it not be possible to put make some more generic macros available as well? I'm sure it's not the only instance of similar issues, but making one header less gcc-dependent is a step in the right direction is it not? WNM -- _ __ ___ ____ ___ ___ ___ 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