https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61632

--- Comment #23 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #22)

> 
> (1) my understanding of 
> 
>   offset = (j > 60) ? j - 40 : 0;
>  
>   j -= offset;
>   width = dtp->format_len - offset;
> 
> is to set j to 40 and to decrease width by j-40 if j>60.
> 
> This part is now removed, should not we limit offset to something?
> 
Yes, I would like to first commit the patch and then work on this additional
part.  Ideally, if we have a long format string and the error occurs beyond a
typical line length of 80 we should 'slide' the view of the format string and
the carat along so the user can see where and in what context. Very doable, now
that we have the other problem taken care of.

Your other question I am still thinking about. ;)

Reply via email to