This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Apr 13 08:07, Sebastian Huber wrote: > Hello, > > the default (non-Linux) __loff_t definition is currently > > #ifdef __GNUC__ > __extension__ typedef long long int __loff_t; > #else > typedef long int __loff_t; > #endif > > this is probably a bug, since structure layouts should be independent of the > actual compiler especially for a C library. Indeed. We should fix that since loff_t is supposed to be always a 64 bit type afaics. > For example _off64_t is defined like this: > > #ifndef __off64_t_defined > __extension__ typedef long long _off64_t; > #endif > > In glibc __loff_t is defined via __quad_t. We could introduce __quad_t as well. Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |