By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,234 Members | 1,872 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,234 IT Pros & Developers. It's quick & easy.

stdint.h

P: n/a
stdint.h exists on my Solaris 10(sparc) system but not on my Solaris
9(sparc) system.

How do I rectify this situation?

Thanks
Mar 21 '07 #1
Share this Question
Share on Google+
10 Replies


P: n/a
"Mikail Dellovich" <fo*@foo.comwrote in message
news:13*************@news.supernews.com...
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?
Mar 21 '07 #2

P: n/a
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.
Mar 21 '07 #3

P: n/a
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.
Mar 21 '07 #4

P: n/a
"Jim Langston" <ta*******@rocketmail.comwrites:
"Mikail Dellovich" <fo*@foo.comwrote in message
news:13*************@news.supernews.com...
>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.his 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) ks***@mib.org <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"
Mar 21 '07 #5

P: n/a
Mikail Dellovich <fo*@foo.comwrites:
>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
Mar 21 '07 #6

P: n/a
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.
Mar 21 '07 #7

P: n/a
Casper H.S. Dik <Ca********@Sun.COMwrites:
Mikail Dellovich <fo*@foo.comwrites:
>>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) ks***@mib.org <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"
Mar 21 '07 #8

P: n/a
On Mar 20, 10:59 pm, Mikail Dellovich <f...@foo.comwrote:
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/

Mar 21 '07 #9

P: n/a
Mikail Dellovich <fo*@foo.comwrites 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 * al***@alum.calberkeley.org * Al**************@Sun.COM
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.
Mar 27 '07 #10

P: n/a
["Followup-To:" header set to comp.unix.solaris.]
On 2007-03-27, Alan Coopersmith <al***@alum.calberkeley.orgwrote:
Mikail Dellovich <fo*@foo.comwrites 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.
On solaris 9 you can use "<inttypes.h>".

regards,

--
staf wagemakers
Mar 28 '07 #11

This discussion thread is closed

Replies have been disabled for this discussion.