[cfe-commits] r51317 - in /cfe/trunk/lib/Headers: iso646.h stddef.h
Mike Stump
mrs at apple.com
Tue May 20 14:07:08 PDT 2008
On May 20, 2008, at 6:34 AM, Eli Friedman wrote:
> Author: efriedma
> Date: Tue May 20 08:34:26 2008
> New Revision: 51317
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51317&view=rev
> Added:
> cfe/trunk/lib/Headers/iso646.h
Oh, hey, these are keywords in C++, so, we need to avoid the entire
content of this header for C++. I'll have to ask Chris for an account
so I can just fix these sorts of things... but for now, could you
check this in for me?
Doing diffs in lib:
--- lib/Headers/iso646.h.~1~ 2008-05-20 10:30:09.000000000 -0700
+++ lib/Headers/iso646.h 2008-05-20 14:04:43.000000000 -0700
@@ -26,6 +26,7 @@
#ifndef __ISO646_H
#define __ISO646_H
+#ifndef __cplusplus
#define and &&
#define and_eq &=
#define bitand &
@@ -37,5 +38,6 @@
#define or_eq |=
#define xor ^
#define xor_eq ^=
+#endif
#endif /* __ISO646_H */
--------------
More information about the cfe-commits
mailing list