declaration specifiers wooziness

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

 



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...

-
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