Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > stdint.h

Reply
Thread Tools

stdint.h

 
 
Mikail Dellovich
Guest
Posts: n/a
 
      03-21-2007
stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
9(sparc) system.

How do I rectify this situation?

Thanks
 
Reply With Quote
 
 
 
 
Jim Langston
Guest
Posts: n/a
 
      03-21-2007
"Mikail Dellovich" <> wrote in message
news:...
> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
> 9(sparc) system.
>
> How do I rectify this situation?


I don't know what stdint.h is, but are you sure it's not <stdint> ?


 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      03-21-2007
Mikail Dellovich wrote:
> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
> 9(sparc) system.
>
> How do I rectify this situation?
>

Upgrade and/or install Studio 11.

Follow-up set.

--
Ian Collins.
 
Reply With Quote
 
Martin Ambuhl
Guest
Posts: n/a
 
      03-21-2007
Mikail Dellovich wrote:
> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
> 9(sparc) system.
>
> How do I rectify this situation?


By writing your own.
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      03-21-2007
"Jim Langston" <> writes:
> "Mikail Dellovich" <> wrote in message
> news:...
>> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
>> 9(sparc) system.
>>
>> How do I rectify this situation?

>
> I don't know what stdint.h is, but are you sure it's not <stdint> ?


<stdint.h> is a standard C header, introduced by the C99 standard.
(Note that the question was cross-posted to comp.unix.solaris,
comp.lang.c, and comp.lang.c++.)

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 
Reply With Quote
 
Casper H.S. Dik
Guest
Posts: n/a
 
      03-21-2007
Mikail Dellovich <> writes:

>stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
>9(sparc) system.


>How do I rectify this situation?


You don't; there's no stdint.h for Solaris 9.

Casper
 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      03-21-2007
Mikail Dellovich said:

> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
> 9(sparc) system.
>
> How do I rectify this situation?


The easiest way is simply not to write code that requires stdint.h -
then it doesn't matter whether it's there or not.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      03-21-2007
Casper H.S. Dik <> writes:
> Mikail Dellovich <> writes:
>>stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
>>9(sparc) system.

>
>>How do I rectify this situation?

>
> You don't; there's no stdint.h for Solaris 9.


But it's easy enough to write your own equivalent header. See, for
example, <http://www.lysator.liu.se/c/q8/index.html>.

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 
Reply With Quote
 
websnarf@gmail.com
Guest
Posts: n/a
 
      03-21-2007
On Mar 20, 10:59 pm, Mikail Dellovich <f...@foo.com> wrote:
> stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
> 9(sparc) system.
>
> How do I rectify this situation?


Can you try this:

http://www.pobox.com/~qed/pstdint.h

I am not aware of the status with respect to testing on older Sparc
systems. I'd be curious to know how it turns out. Hopefully, even if
its not quite right, it should be fairly easy to whip it into shape.

--
Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/

 
Reply With Quote
 
Alan Coopersmith
Guest
Posts: n/a
 
      03-27-2007
Mikail Dellovich <> writes in comp.unix.solaris:
|stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
|9(sparc) system.
|
|How do I rectify this situation?

If you need C99 compliance, the solution is easy - upgrade to Solaris
10 on all your systems.

--
Alan Coopersmith * *
http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments