[llvm-bugs] [Bug 25984] New: Clang-cl does not support /DMYDEF#value
llvm-bugs at lists.llvm.org
Thu Dec 31 09:11:30 PST 2015
Bug ID: 25984
Summary: Clang-cl does not support /DMYDEF#value
Assignee: unassignedclangbugs at nondot.org
Reporter: jvapen at gmail.com
CC: llvm-bugs at lists.llvm.org
The syntax of defining constants via the command line of MSVC supports both
/DMYDEF=0 as /DMYDEF#0
Clang-cl only supports the first one.
If you use the second one, I get the following warning.
Error given by clang-cl of version 3.5:
<command line>(10,14): warning : ISO C99 requires whitespace after the macro
#define MYDEF#0 1
Note: I have also noticed this already in the latest builds of 3.8, though for
this reproduction, I have not yet upgraded my compiler.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs