http://llvm.org/bugs/show_bug.cgi?id=10606

Paul Eremeeff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Paul Eremeeff <[email protected]> 2011-08-08 07:15:53 CDT 
---
(In reply to comment #1)
> Clang's behavior is correct. Lexically, 'and' is not an identifier but an
> operator, and one cannot define a macro for an operator.

This sample is based on code found in Boost library. This code compiles with
other compilers (VisualC++ for instance). I think there must be some
compatibility in Clang with such specific issues?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to