<div dir="ltr">I don't think that's very well supported currently. Clang on Windows activates a bunch of switches by default, and we don't currently support turning them off:<div><br><div>- -std=c++11: This could easily be overridden if we make -std=c++03 work from the clang-cl command line. You can get this today by adding "-Xclang -std=c++03" to bypass clang-cl.</div><div><br></div><div>- -fms-extensions: This controls __declspec and other types of conforming extensions. These are typically necessary to parse the Visual C++ STL. You probably can't turn this off.</div><div><br></div><div>- -fms-compatibility: This controls weird C++ corner cases that are typically not encountered by the STL. If your code is portable and only uses the STL, then you might be able to turn this off.</div><div><br></div><div>- -fdelayed-template-parsing: Similar to -fms-compatibility, this is needed for ATL and other system headers that you might not use.</div></div><div><br></div><div>Anyway, different combinations here are not well tested yet.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 5:33 AM, Dennis Luehring <span dir="ltr"><<a href="mailto:dl.soluz@gmx.net" target="_blank">dl.soluz@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">im using the Clang VS2010-Plugin for the first time and its absolutely amazing<br>
<br>
im using Clang for pre-port a Windows app to Linux by removing unwanted/hidden<br>
use of microsoft extensions and check for C++03 only standards in Code<br>
<br>
is it possible to archive that with the Clang-Plugin?<br>
<br>
dennis<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>