[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile problems
From: |
Andrew Clausen |
Subject: |
Re: compile problems |
Date: |
Sat, 1 Sep 2001 09:26:46 +1000 |
User-agent: |
Mutt/1.2.5i |
On Fri, Aug 31, 2001 at 05:36:09PM +0200, Arvin Schnell wrote:
>
> Dear parted authors,
>
> I just want to say you that you shouldn't define
> any variables beginning with two underscores, as
> it is the case in parted 1.4.14 with all these
> __s16, __u32 and so on.
They are not variables ;)
If libc defines __s16, or whatever, I hope it defines them
correctly ;) I personally find uint64_t, etc. difficult to read.
(Imagine you want to calculate the offset of a field quickly in
your head...) __u64 is easy.
Should I define them as u64_t or _u64 instead?
> Those names are reserved
> for libc internal variables (and used on ia64).
> I suggest to include <stdint.h> and use the
> types defined there.
I don't see how that could cause any problems.
Thanks,
Andrew
- compile problems, Arvin Schnell, 2001/08/31
- Re: compile problems,
Andrew Clausen <=