https://llvm.org/bugs/show_bug.cgi?id=25984
Bug ID: 25984 Summary: Clang-cl does not support /DMYDEF#value Product: clang Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Driver Assignee: unassignedclangb...@nondot.org Reporter: jva...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Ref https://msdn.microsoft.com/en-us/library/hhzbb5c8.aspx 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 name [-Wc99-extensions] #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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs