I have a patch to provide stdint.h on HP-UX that I have been testing. I have resolved the consistency issues with inttypes.h although there are some slightly wierd aspects. For example, I found "signed char" and "char" are inconsistent, yet characters are signed. The specification of some types differs from that in inttypes.h for some types but gcc doesn't object. For example, I specify "long long int" instead of just "long long".
I have to define __STDC_EXT__ under all circumstances to get consistency of the long long types in the 32-bit runtime. Previously, gcc for hpux tried to mirror the behavior of the HP C compiler wrt long long types. I think the patch chould work for most HP-UX versions except perhaps 11.31 and later. These systems may provide stdint.h. I don't have access to a machine with 11.31 or later. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)