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 #11 received at 59267 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 59267 <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 08:28:02 +0800
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!




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.