[Bug libc/10990] Inconsistent definition of int64_t in sys/types and stdint.h
john at johnmaddock dot co dot uk
sourceware-bugzilla@sourceware.org
Sun Nov 22 17:36:00 GMT 2009
------- Additional Comments From john at johnmaddock dot co dot uk 2009-11-22 17:35 -------
The point here is that stdint.h behaves differently depending upon what has been
#included previously, for example:
#include <sys/types.h> // possibly included from some deep dependency
#include <stdint.h>
May *NOT* result in int64_t being defined if __GLIBC_HAVE_LONG_LONG
is not set, where as had stdint.h been the first include then it *would* have
been defined.
In other words stdint.h may not follow the C99 std depending upon what has
happened to be included previously.
Still think it's not a bug?
IMO stdint.h should always define int64_t no matter what other headers may have
been included first.
John Maddock.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |john at johnmaddock dot co
| |dot uk
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=10990
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list