This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c/448] <stdint.h>-related issues (C99 issues)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]