473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

stdint.h

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
10 6811
"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
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
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
"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
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
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
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
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
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
["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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Scott David Daniels | last post by:
I am trying to figure out how to get 2.4a2 to build a python extension. GCC 2.2.95 does not have a stdint.h, but 3.2.3 does. These two are the only gcc versions I have on my box. Does anyone...
6
by: J. Campbell | last post by:
I'm wondering if there are any compelling reasons NOT to use the types defined in stdint.h in c-programms? Please refer to this thread:...
8
by: phil-news-nospam | last post by:
I have some code where I am using certain literal values cast to stdint types like uint32_t, uint64_t, etc. In gcc versions below 3.3 it's working OK. Here's an example: (uint64_t)...
1
by: shaun roe | last post by:
Is there a c++ version of the old stdint.h header? I naively tried <cstdint>, and looking quickly on the web I find only discussion but no real answer... cheers shaun
4
by: copx | last post by:
I wonder how portable the exact width types defined by stdint.h are. I guess target platforms are not required to actually have all those types, right? What happens in that case?
11
by: santosh | last post by:
Hello all, Conversion macros along the name of INT8_C, INT16_C etc, are defined in stdint.h to convert their argument into suitable representations for their corresponding types, i.e. int8_t,...
10
by: Mikail Dellovich | last post by:
stdint.h exists on my Solaris 10(sparc) system but not on my Solaris 9(sparc) system. How do I rectify this situation? Thanks
130
by: euler70 | last post by:
char and unsigned char have specific purposes: char is useful for representing characters of the basic execution character set and unsigned char is useful for representing the values of individual...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.