Date: Tue, 28 Dec 2010 14:27:04 +0100 From: "Pietro Cerutti" <gahr@gahr.ch> To: freebsd-sparc64@freebsd.org Subject: [patch] rename macro parameter list in cpufunc.h Message-ID: <20101228132703.GC68770@gahrfit.gahr.ch>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101228132703.GC68770>