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

Re: shs.cc won't build on Solaris 2.5/sparc



Alexandre Oliva <aoliva@redhat.com> writes:
> uint32_t and uint8_t are only available on Solaris 2.5 when pthread.h
> is included (!!!).

Sorry, I broke this.

Can somebody enlighten me on this? Most of my experience is in
Java/Perl/ML/Haskell... I was under the impression that if you're
programming in C, and you want an integer that's 32 bits wide,
uint32_t is the 'official' way to do it. If your platform doesn't
provide that, then your platform is broken, and you need to generate a
header to define those ints.

If this is not correct, what is the universal way to get a 32-bit wide
int?

  - a

-- 
"If I put copyrighted material into the 'chewy nougat center', I can
 claim the crunchy chocolate coating is an 'Access Control
 Mechanism'."                                     --lynx_user_abroad


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