GNU bug report logs - #59267
CC Mode 5.35.2 (C/*l); implicit int declaration recognized as type

Previous Next

Package: cc-mode;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Mon, 14 Nov 2022 23:16:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 59267-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 59267-done <at> debbugs.gnu.org
Subject: Re: bug#59267: CC Mode 5.35.2 (C/*l); implicit int declaration
 recognized as type
Date: Thu, 17 Nov 2022 10:49:25 +0000
Hello, Po.

On Thu, Nov 17, 2022 at 08:28:02 +0800, Po Lu wrote:
> Alan Mackenzie <acm <at> muc.de> writes:

> > Yes.  I think this would be very rare in modern code, depending on an
> > implicit type, int, following a specifier such as "register".  At least,
> > I hope so!

> > This was actually quite tricky to fix.  As well as "register", the code
> > should now handle the implicit int following (all of the?) other
> > specifiers, too.

> > Would you please try out the attached patch on your real code, and let
> > me know how well it works.  Thanks!

> This works fine, thanks!

OK, that's good, thanks!  I've committed the patch, and I'm closing the
bug with this post.

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 2 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.