[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error messages with ranges

From: Richard Stallman
Subject: Re: error messages with ranges
Date: Thu, 15 Oct 2009 00:17:44 -0400

    In principle the location range information would be only internal for
    GCC. The option that enables it to be shown in the output would allow
    external programs (like emacs, IDEs, a custom wrapper, or GCC's
    regression tester) to parse the output of GCC. In fact, what such
    programs would do is to turn OFF the caret information and turn ON the
    location range information, in order to provide their own custom caret

Given that plan, why not output the arg location information
in separate lines distinguished by some special prefix?

Standardizing its format could be useful at some point,
but it need not be part of the error message standard.

    > How exactly do people propose to use that location range information?

    As far as I know, at least one IDE is using it to parse the output of
    Clang and provide custom caret information in the IDE interface.

Are you saying that clang already outputs the argument range information
in this format?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]