Re: [PATCH] improve diagnostic message about wrong redeclaration

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

 



On Sun, Dec 15, 2019 at 07:29:32PM +0000, Ramsay Jones wrote:
> 
> 
> On 15/12/2019 16:28, Luc Van Oostenryck wrote:
> > The current message is very long (in most cases the position
> > of the previous declaration is past the 80th column) and,
> > while saying that the types differ, doesn't show these types.
> > 
> > Change this by splitting the message in 2 parts:
> > - first, on the current position, the main message
> >   and the type of the current declaration.
> > - then the type of the previous declaration on its
> >   own position.
> 
> Hmm, this loses information and, thus, is not necessarily an
> improvement. The first test, below, illustrates this ...

Absolutely. It wasn't intentional to drop the typediff.

Thank you very much to noticing this!
-- Luc 



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux