clang error display in XCode

This is not an issue with clang proper but considering the significant number of clang developers working at Apple, I thought my remark would have a better chance to be noticed here.

One of clang greatest strength is its meaningful formatting of errors. Especially invaluable is its using a marker

return this->def(init<typename asu_parameter::scatterer_type *>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

put to pinpoint the exact position of the error in the faulty line. However XCode uses a proportional font for the “Build Results” pane, and therefore the positioning of that marker is always wrong with respect to the quoted line of code, using that very example

return this->def(init<typename asu_parameter::scatterer_type *>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Only those of you sing an email client aware of rich text would see a difference of course! but you should see the point.

That’s using XCode 3.2.2 and using a script build phase to issue compilation but the same problem would happen with any other target type I think.

Sorry for the noise,

Luc Bourhis

Hi Luc,

Feel free to report this through bugreporter.apple.com, but most focus now is on Xcode 4.

-Chris

Feel free to report this through bugreporter.apple.com, but most focus now is on Xcode 4.

I am more than happy if XCode 4 were to address that issue.

Luc