[splint-discuss] Parse Error on variable declaration in the middleof a function.
Michael.Wojcik at MicroFocus.com
Sun Mar 22 09:53:51 PST 2009
> From: splint-discuss-bounces at cs.virginia.edu [mailto:splint-discuss-
> bounces at cs.virginia.edu] On Behalf Of Johan
> Sent: Saturday, 21 March, 2009 11:20
> Michael Wojcik wrote:
> > Splint is mostly a C90 implementation, and in C90 declarations can
> > only appear at the beginning of a block. Support for some parts of
> > have been added, but this one is (apparently) not one of them, at
> > least in the version you have.
> > Patches to Splint to allow variable declarations elsewhere in a
> > have been posted to this list at least as far back as 2006; you can
> > check the archives.
> I guess that this means that it is a known issue and there is no point
> in adding a bug report on this one.
In any event, it's not a bug; adding full C99 support would be an
> But is there any plan to maybe add flags (-c90, -c99) to select set of
> rule to use?
I have no idea. I don't even know what the status of Splint development
is today. You'd have to track down the maintainer, if there currently is
Principal Software Systems Developer, Micro Focus
More information about the splint-discuss