[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: |
Sat, 17 Oct 2009 23:10:20 -0400 |
FWIW, clang uses ranges for a lot of things other than arguments.
We already support ranges in error messages. The issue here is to
include more than one range. These two examples need only one:
$ clang -fsyntax-only t.c
t.c:12:8: error: called object type 'int' is not a function or function
pointer
(P-Q)();
~~~~~^
$ clang t.c
t.c:5:28: warning: use of GNU old-style field designator extension
struct point origin = { x: 0.0, y: 0.0 };
~~ ^
.x =
However, my proposal is not limited to indicating the arguments.
It could be used to convey multiple ranges for any purpose.
- Re: error messages with ranges, (continued)
- Re: error messages with ranges, Richard Stallman, 2009/10/14
- Re: error messages with ranges, Manuel López-Ibáñez, 2009/10/14
- Re: error messages with ranges, Richard Stallman, 2009/10/15
- Re: error messages with ranges, Manuel López-Ibáñez, 2009/10/15
- Re: error messages with ranges, Richard Stallman, 2009/10/16
- Re: error messages with ranges, Gabriel Dos Reis, 2009/10/16
- Re: error messages with ranges, Chris Lattner, 2009/10/16
- Re: error messages with ranges, Joseph S. Myers, 2009/10/16
- Re: error messages with ranges, Gabriel Dos Reis, 2009/10/16
- Re: error messages with ranges, Richard Stallman, 2009/10/17
- Re: error messages with ranges,
Richard Stallman <=
- Re: error messages with ranges, Richard Stallman, 2009/10/17
- Re: error messages with ranges, Manuel López-Ibáñez, 2009/10/17
- Re: error messages with ranges, Richard Stallman, 2009/10/18