An example of Clang error messages

Jacob Carlborg doob at me.com
Fri Mar 5 03:49:22 PST 2010


On 3/5/10 11:54, Walter Bright wrote:
> Jacob Carlborg wrote:
>> Why would you remove such a useful feature if it's already
>> implemented? I think too often people just complain when they don't
>> like something and when they do like something they just sit silently.
>> Perhaps they use IDEs when compiling that take them directly to the
>> file and line number when they get a compiler error.
>
> It really didn't add much of any useful value, likely because one line
> of source code all by itself just doesn't give enough context. And yes,
> people do use IDEs or editors that parse the error message and put the
> cursor on the correct line, which is far more useful.
>
> One annoying problem with it is each error consumes 3 lines instead of
> one, and stuff you wanted to see got scrolled off the top of the window.
>
> It's still in the DMC C and C++ compiler, try it out. I just didn't
> implement it for the D compiler.

Oh, I got the impression that you first implemented it in the DMC 
compiler and then removed it, also form the DMC compiler. Now I understand.



More information about the Digitalmars-d mailing list