https://bugs.llvm.org/show_bug.cgi?id=37200
Nico Weber <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
CC| |[email protected]
--- Comment #1 from Nico Weber <[email protected]> ---
`and` is a keyword in C++, and using it as a macro name isn't supported.
$ out/gn/bin/clang -c test3.cc
test3.cc:1:9: error: C++ operator 'and' (aka '&&') used as a macro name
#define and(x, y) 4
^
$ out/gn/bin/clang-cl -c test3.cc -Wall
test3.cc(1,9): warning: C++ operator 'and' (aka '&&') used as a macro name
[-Wmicrosoft-cpp-macro]
#define and(x, y) 4
^
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs