[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: Tue, 13 Oct 2009 20:43:58 -0400

    The goal here is to work towards supporting caret information in GCC

What is "caret information"?

        exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands
    to binary expression ('int *' and '_Complex float')
           P = (P-42) + Gamma*4;
               ~~~~~~ ^ ~~~~~~~

Is that what "caret information" means?

I can see how this

           P = (P-42) + Gamma*4;
               ~~~~~~ ^ ~~~~~~~

is useful for humans, and making GCC output that information
seems like a good feature.  But why is it useful to include
the location range information for the operands?

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

reply via email to

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