<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 28, 2015 at 11:25 AM, Daniel Dilts via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Using both --driver-mode=cl and -fms-compatibility-version=19 I still get the errors about invalid token in macro parameter list.</div></blockquote><div><br></div><div>What version of clang and VS 2015 are you using? I've tried with clang-tidy and your sources, and I'm not able to reproduce this.</div><div><br></div><div>Furthermore, I don't understand why clang is rejecting this macro definition. Clang accepts this on Linux:</div><div><div>#define _mm256_set_m128i(/* __m128i */ hi, /* __m128i */ lo) \</div><div>  (a + b)</div><div>int main() {</div><div>  int a, b;</div><div>  _mm256_set_m128i(a, b);</div><div>}</div></div><div><br></div><div>There doesn't seem to be MS-specific behavior around '#define foo(/*comment*/ argname)', so far as I can tell.</div></div></div></div>