On Jun 25, 2011, at 1:38 AM, Campbell Barton wrote:
Since blender already built on MSVC/ICC/GCC getting clang working wasn't so hard but it seems inkscape is GCC only and uses a few features not supported in other compilers, Even so, since clang has gcc compatibility it may not be too much work.
Quite so.
Josh and I were just discussing this the past week.
Our goal is to have clean code. However many might lower the priority of building under various commercial compilers (the most common non-gcc compilers to be considered). There are some legitimate philosophical issues to be considered on the point.
On the other hand I had pointed out LLVM as a viable non-gcc, pro-free compiler that we would need to be compatible with. It certainly now seems that this point has moved from the theoretical to the practical and immediate.
So to summarize, in light of having better code (and hence fewer bugs), clang support is a good thing. Additionally if you would like to lend a hand, Coverity had been running analysis on our codebase and it would be good to coordinate with them on viewing the results and getting issues addressed.
Thanks for the contributions.