On Wed, Jun 27, 2007 at 04:16:29PM +0100, Derek M Jones wrote:

> These are all permitted by the syntax of C.
> 
> 6.7 Declarations, the init-declarator-list is optional.

See 6.7[2]; the things like
        int ;
violate the constraint.
 
> >>"typedef extern;" passes.
> ...
> >>Not sure how many different bugs there are here, though...
> 
> Sparse might flag the usage as suspicious, but it is not a bug.

See 6.7.1[2]; no more than one storage class specifier in a declaration.

> >Several more:
> 
> The syntax permits:
> 
> signed unsigned short long double int;

See 6.7.2[2]; the set you've given is not in the list given there.
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to