[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiboot2.h includes stdint.h - not good
From: |
Vesa Jääskeläinen |
Subject: |
Re: multiboot2.h includes stdint.h - not good |
Date: |
Mon, 23 Mar 2009 20:43:35 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
Pavel Roskin wrote:
> By the way, I already noticed that the inclusion of stdint.h from
> multiboot2.h is one of the problems preventing cross-compilation of GRUB
> without the libc for the target. Perhaps GRUB should provide its
> replacement for stdint.h when compiling for the target. Alternatively,
> multiboot2.h should use GRUB types.
In grub ecosystem grub_* types should be used to specify arch dependent
types. Where as I favor stdint.h types like uint8_t for many things, the
idea for grub's own replacement is to easily detect wrong types used on
compilation process.
So... stdint.h out... grub types in..