linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fun with Linux 2.6.21-rc1
@ 2007-02-23 17:25 Pavel Roskin
  2007-02-23 19:59 ` Pavel Roskin
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Roskin @ 2007-02-23 17:25 UTC (permalink / raw)
  To: linux-sparse

Hello!

The current sparse reports many errors with Linux 2.6.21-rc1.  There are
screenfuls of errors for every file.  I have reduced one of them to this
simple file:

struct st {
	char c;
} __attribute__ ((aligned(2)));
struct st s1;
struct st s2;

$ sparse test.c 
test.c:5:18: error: Expected ( after asm
test.c:5:18: error: got s2
test.c:5:20: error: Expected ) after asm
test.c:5:20: error: got ;
builtin:0:0: error: expected declaration

The strange thing is that there is no "asm" here at all.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-26 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 17:25 Fun with Linux 2.6.21-rc1 Pavel Roskin
2007-02-23 19:59 ` Pavel Roskin
2007-02-23 22:30   ` [PATCH] " Christopher Li
2007-02-24  1:53     ` Pavel Roskin
2007-02-25 22:45     ` exposing __attribute__ portability macros in lib.h; any objections? Josh Triplett
2007-02-26 10:43       ` Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).