This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/448] <stdint.h>-related issues (C99 issues)
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2004 16:33:19 -0000
- Subject: [Bug c/448] <stdint.h>-related issues (C99 issues)
- References: <20000807074601.448.jsm-gccbugs@polyomino.org.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-08-02 16:33 -------
Subject: Re: <stdint.h>-related issues (C99 issues)
On Mon, 2 Aug 2004, papadopo at shfj dot cea dot fr wrote:
> For what it's worth some systems provide the functionality in a header with a
> different name. For example Solaris 8 provides a file <sys/int_types.h> and
> <sys/int_limits.h> that seem to define all of the types and constants of needed
> by <stdint.h>.
Those headers are included by Solaris's <inttypes.h>. An implementation
of <stdint.h> in GCC of course needs to be compatible with such pre-C99
system libraries providing <inttypes.h> but not <stdint.h>, and allow for
user programs to include both, probably by fixincluding <inttypes.h> to
use GCC's header rather than the internal ones.
See <http://gcc.gnu.org/ml/gcc/2003-10/msg00397.html> for my current
thinking on the implementation of <stdint.h>. The volunteer in that
instance seems to have disappeared.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=448