[LLVMbugs] [Bug 10606] C++ operator cannot be used as a macro name
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 20 23:14:10 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=10606
Alp Toker <alp at nuanti.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
CC| |alp at nuanti.com
Resolution|--- |FIXED
--- Comment #12 from Alp Toker <alp at nuanti.com> ---
(In reply to comment #11)
> To clarify my previous comment: while this bug indeed had been resolved,
> there is still one issue with the following code.
>
> #define and "test"
>
> #if defined (and)
> int a;
> #endif
>
> This code still triggers the error "operator 'defined' requires an
> identifier". Now, replacing '#if defined' with '#ifdef' solves the issue, so
> "#if defined" is still somehow unsupported.
Thanks for the report!
Fixed in r209276.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140521/c4c3ea13/attachment.html>
More information about the llvm-bugs
mailing list