This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] initial location support for C parser


On Wed, Sep 03, 2008 at 12:29:48AM +0200, Manuel López-Ibáñez wrote:
> 2008/9/3 Jakub Jelinek <jakub@redhat.com>:
> >
> > Why do you need it?  Isn't %H, %J and %K in error/warning format string
> > sufficient?  Wonder why warning_at has been added too.
> 
> No, those are going to be deprecated. All diagnostics functions will
> take an explicit location (such as pedwarn, inform and permerror do
> right now). I was working to get this done before we entered stage3
> but I did not have enough time to finish the transition.

But you have no way to encode the %H vs. %K distinction.  Is error_at
supposed to print inline backtrace or not?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]