Bug Report

Brian Geisel (briang@microlite.com)
Fri, 8 Jan 1999 13:48:33 -0500


While using linux/genhd.h I received several compiler errors. I wasn't
sure who to mail, I figured Linus probably wouldn't want this clutter in
his mail box, but maybe I'm wrong - who cares. Here's the problem. (kernel
2.2.0pre5)
After the struct partition (ending on line ~56) there is an
} __attribute__((packed));

My gcc definitely doesn't like this. (gcc 2.7.2.1, I think 2.8.1 hates it
also):

/usr/include/linux/genhd.h:56: semicolon missing after declaration of
`partition'

Then it gives me a ton of errors regarding the lack of linux/types.h. I
don't know if these are my problems or if linux/types.h is a prerequisite
for genhd.h. I just figured I'd lay it out there and hopefully someone
much more informed than myself can add these lines, or hopefully correct my
error.

thanx
Brian Geisel

Please CC to me, thanx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/