Re: declaration specifiers wooziness

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

 



On Wed, 2007-06-27 at 14:33 +0400, Alexey Dobriyan wrote:
> sparse silently accepts some peculiar combinations of declaration
> specifiers:
> 
> "typedef extern;" passes.
> 
> "void char a;" errors about void declaration, however,
> "extern void char a;" passes. Hey, "extern void a;" passes!
> 
> "char short a;" passes too. Ditto for "char float a;" and
> "char long a".
> 
> "typedef inline a;" passes.
> 
> Not sure how many different bugs there are here, though...

Several more:

int;
void;
int *;
void *;
static;
extern;
volatile;
static foo;
extern foo;
volatile foo;
int volatile;

- Josh Triplett


-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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