Tuesday 2 January 2018

visual c++ - Use Clang with MSVC 2010

itemprop="text">

First of all, I want to ask if Clang
compiler is better than MSVC's default compiler? And how can I use Clang with MSVC? For
example, I write code in MSVC then when I hit Build, it call Clang to build the
project.



Answer




href="https://github.com/ishani/ClangVSx"
rel="noreferrer">https://github.com/ishani/ClangVSx



AddIn
for Visual Studio 2010 that allows use of the Clang C/C++ compiler in place of MSVC++.
Translates VC project and build settings into gcc-friendly command line arguments, along
with existing platform tools (MSVC Linker, Librarian, RC) to complete the build
chain.


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...