[parisc-linux] new gcc-snapshot problem [was: new gcc-default for hppa]

Matthew Wilcox willy@debian.org
Tue, 14 Jan 2003 14:16:29 +0000


On Tue, Jan 14, 2003 at 08:54:22AM -0500, John David Anglin wrote:
> > I have a look and in drivers/ide/ide-cd.h line 440 I found well:
> >     __u8 short slot_tabelen;
> > 
> > Any idea?
> 
> Look at the code after preprocessing with "-E" option.  This will
> show you the actual code where the fault occurs.

well, yeah, but the actual error's pretty clear.  you can't specify
two types for the same variable (__u8 is typedeffed to unsigned char).
unfortunately, gcc used to not even warn about this ;-(

the question is, what size is really wanted here?  i dunno, ask the
maintainer of that file.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk