From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 28 14:05:16 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346FE106564A for ; Tue, 28 Dec 2010 14:05:16 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel05.rubas-s05.net (cpanel05.rubas-s05.net [195.182.222.75]) by mx1.freebsd.org (Postfix) with ESMTP id DDE0F8FC15 for ; Tue, 28 Dec 2010 14:05:15 +0000 (UTC) Received: from 4-221.198-178.cust.bluewin.ch ([178.198.221.4] helo=gahrfit.gahr.ch) by cpanel05.rubas-s05.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PXZda-0003FS-L0 for freebsd-sparc64@freebsd.org; Tue, 28 Dec 2010 14:30:51 +0100 Received: by gahrfit.gahr.ch (sSMTP sendmail emulation); Tue, 28 Dec 2010 14:27:04 +0100 From: "Pietro Cerutti" Date: Tue, 28 Dec 2010 14:27:04 +0100 To: freebsd-sparc64@freebsd.org Message-ID: <20101228132703.GC68770@gahrfit.gahr.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yVhtmJPUSI46BTXb" Content-Disposition: inline X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel05.rubas-s05.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Subject: [patch] rename macro parameter list in cpufunc.h X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 14:05:16 -0000 --yVhtmJPUSI46BTXb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear all, sys/sparc64/include/cpufunc.h defines macro having a parameter named 'xor'. This is a reserved keyword in C++. For this reason, it is impossible to use this header in C++ (e.g., by including machine/atomic.h). This patch [1] renames these parameters to _xor. Please review and/or approve (I need an explicit approval in order to commit to src). Thanks! Best Regards, [1] http://people.freebsd.org/~gahr/cpufunc.h.diff --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --yVhtmJPUSI46BTXb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0Z5aYACgkQwMJqmJVx946QLQCfU41eeejc9PWbl4u/u+gTRel1 guoAoJbuHF1DjwpOw/IgmrdgwmTm4NAh =hKhR -----END PGP SIGNATURE----- --yVhtmJPUSI46BTXb--