[patch] rename macro parameter list in cpufunc.h
Pietro Cerutti
gahr at gahr.ch
Tue Dec 28 14:05:16 UTC 2010
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
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20101228/653ec3d1/attachment.pgp
More information about the freebsd-sparc64
mailing list