bug-grub
[Top][All Lists]
Advanced

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

Re: Maybe a bug in fsys_reiserfs.c, GRUB 0.93


From: nospam
Subject: Re: Maybe a bug in fsys_reiserfs.c, GRUB 0.93
Date: Mon, 19 Jan 2004 03:39:14 -0500

DervishD recommended changing this:

>   __u32 long j_mount_id;

to this:

>   __u32 j_mount_id ;

because:

> That's because you cannot declare 'unsigned int
> long' but 'unsigned long int' variables.

According to the C 1999 standard, it is still legal to
declare 'unsigned int long' variables.

The compilation failure appears to be a bug in GCC 3.3.
Please report this to GCC maintainers if you can.

Of course legality doesn't require maximum ugliness.
I also like the appearance better without the 'long'.


Sincerely,
Spam victim who doesn't want more spam, but who
knows how to read the C standard.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]