ISO C 90 standard

F

filox

does anyone have any links to this standard? i've tried google and i can't
find it anywhere, which is i think pretty strange...
anyway, i'd appreciate it...and also if you have some links on some C++
standard (don't know which one is in effect) don't hesitate :)
 
G

Giannis Papadopoulos

filox said:
does anyone have any links to this standard? i've tried google and i can't
find it anywhere, which is i think pretty strange...
anyway, i'd appreciate it...and also if you have some links on some C++
standard (don't know which one is in effect) don't hesitate :)

If an ISO C99 standard (the draft to be exact) covers you, then the
place is http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf

In every other occasion, should you wish to spare some money you can buy
the paper edition.

--
one's freedom stops where others' begin

Giannis Papadopoulos
Computer and Communications Engineering dept. (CCED)
University of Thessaly
http://dop.freegr.net/
 
S

santosh

filox said:
does anyone have any links to this standard? i've tried google and i can't
find it anywhere, which is i think pretty strange...
anyway, i'd appreciate it...and also if you have some links on some C++
standard (don't know which one is in effect) don't hesitate :)

ISO/IEC 9899:1990, i.e., the C89 standard is available only by
purchase. Moreover, it's been superceded by the C99 standard. Have a
look at the following page:

http://clc-wiki.net/wiki/The_C_Standard

This document is the latest draft standard incorporating C99 in it's
entirerity and adding a couple of Technical Corrigenda.

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf

For C++ look here:

http://www.open-std.org/jtc1/sc22/wg21/
 
R

Richard Heathfield

santosh said:
ISO/IEC 9899:1990, i.e., the C89 standard is available only by
purchase. Moreover, it's been superceded by the C99 standard.

Only in the fond imaginings of ISO. The Real World has largely ignored C99.
 
D

Dann Corbit

Richard Heathfield said:
santosh said:


Only in the fond imaginings of ISO. The Real World has largely ignored
C99.

That's only partly true. The latest versions of compilers are adopting more
and more C99 features. Eventually, they'll have the full set. Of course,
by that time we'll have a new standard.
 
J

Jordan Abel

does anyone have any links to this standard? i've tried google and i can't
find it anywhere, which is i think pretty strange...
anyway, i'd appreciate it...and also if you have some links on some C++
standard (don't know which one is in effect) don't hesitate :)

A draft of ANSI c89, the same standard with different section numbering,
can be found at http://danpop.home.cern.ch/danpop/ansi.c (not a C source
file, despite the filename)
 
S

Scott W

Dann said:
That's only partly true. The latest versions of compilers are adopting more
and more C99 features. Eventually, they'll have the full set. Of course,
by that time we'll have a new standard.
iirc, GCC fully supports the C99 standard. it's mostly MS who refuse to
follow (something about nobody wanting to use it). if i can dig up
linkage i will post it.
 
M

Michael Mair

Scott said:
iirc, GCC fully supports the C99 standard.

You do not remember correctly:
http://gcc.gnu.org/c99status.html
-- and this is not the full list of defects.
This page probably will state the same defects for some more
years.

it's mostly MS who refuse to follow (something about nobody wanting
to use it). if i can dig up linkage i will post it.

I am not a friend of the Redmond Moloch but this is not true.
VC++2005 supports a very small part of C99; see for example
<[email protected]>
Many embedded compilers do not support C99 at all -- for the same
reason: No (or not sufficiently many) customer requests.


Cheers
Michael
 
C

CBFalconer

Michael said:
Scott W schrieb:
.... snip ...

You do not remember correctly:
http://gcc.gnu.org/c99status.html
-- and this is not the full list of defects.
This page probably will state the same defects for some more
years.

IIRC that list largely specifies 'library' problems. GCC proper
does not supply the library. This is something system providers
have to handle.

--
"Our enemies are innovative and resourceful, and so are we.
They never stop thinking about new ways to harm our country
and our people, and neither do we." -- G. W. Bush.
"The people can always be brought to the bidding of the
leaders. All you have to do is tell them they are being
attacked and denounce the pacifists for lack of patriotism
and exposing the country to danger. It works the same way
in any country." --Hermann Goering.
 
R

Richard Heathfield

CBFalconer said:
IIRC that list largely specifies 'library' problems. GCC proper
does not supply the library. This is something system providers
have to handle.

The following non-library issues remain:

Variable-length arrays: broken
Complex and imaginary support: broken
Extended identifiers: missing
Extended integer types: missing
IEC 60559 support: broken
Inline functions: broken
Additional predefined macro names: missing
Standard pragmas: missing

Note that "broken" doesn't necessarily mean what it implies. In some cases,
it might simply mean that the gcc guys don't agree with the Standard on how
that feature should work.
 
M

Mark F. Haigh

Richard Heathfield wrote:
Only in the fond imaginings of ISO. The Real World has largely ignored C99.

I often look at C99 as a "if you're going to do it, please do it like
this" document. In some aspects, I think C89 was as well. In the same
spirit, I strongly believe that ISO should not produce another major
standard revision until most of C99 has been adopted in the wild, and
complete C99 implementations are widely available.

C99-isms are gradually seeping into the industry: C99 exact width
types. The C99 printf format specifiers. Restrict. Wide character
handling. Locale handling. Different floating point guarantees
specific to embedded domains. It's not so terrible. I'd almost be
shocked if a C standard really "sunk in" in less than 10 years. Given
the amount of stuff built on top of C, it's almost a miracle it moves
at all.


Mark F. Haigh
(e-mail address removed)
 
D

Dann Corbit

Richard Bos said:
No, that's C99. The OP asked for C90. (I'd like one of those, too, for
that matter.)

I was referring to this:
"If an ISO C99 standard (the draft to be exact) covers you, then the"

Since you can get the official version for only $30, the draft copy is only
for desperate people.
 
K

Keith Thompson

Dann Corbit said:
Richard Bos said:
Dann Corbit said:
news:[email protected]... [...]
If an ISO C99 standard (the draft to be exact) covers you, then the
place is http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf

In every other occasion, should you wish to spare some money you
can buy the paper edition.

The official document is $30:
http://webstore.ansi.org/ansidocstore/product.asp?sku=INCITS/ISO/IEC+9899-1999

No, that's C99. The OP asked for C90. (I'd like one of those, too, for
that matter.)

I was referring to this:
"If an ISO C99 standard (the draft to be exact) covers you, then the"

Since you can get the official version for only $30, the draft copy is only
for desperate people.

The n1124.pdf draft includes the C99 standard plus the two technical
corrigenda, with changes marked with change bars. I generally use it
in preference to the standard itself, though I have both (I paid $18
for my copy of the standard).
 
D

Dann Corbit

Keith Thompson said:
Dann Corbit said:
Richard Bos said:
news:[email protected]... [...]
If an ISO C99 standard (the draft to be exact) covers you, then the
place is http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf

In every other occasion, should you wish to spare some money you
can buy the paper edition.

The official document is $30:
http://webstore.ansi.org/ansidocstore/product.asp?sku=INCITS/ISO/IEC+9899-1999

No, that's C99. The OP asked for C90. (I'd like one of those, too, for
that matter.)

I was referring to this:
"If an ISO C99 standard (the draft to be exact) covers you, then the"

Since you can get the official version for only $30, the draft copy is
only
for desperate people.

The n1124.pdf draft includes the C99 standard plus the two technical
corrigenda, with changes marked with change bars. I generally use it
in preference to the standard itself, though I have both (I paid $18
for my copy of the standard).

I downloaded the corrigenda. I also paid $18. The reason I suggest buying
it is not just because it is cheap. It supports future generations of the
standard and also in the format I desire the most (PDF).
 
R

Randy Howard

Dann Corbit wrote
(in article said:
That's only partly true. The latest versions of compilers are adopting more
and more C99 features. Eventually, they'll have the full set. Of course,
by that time we'll have a new standard.

Be sure and let us know when the gcc crowd gives in and supports
the C99 style VLA's.
 
G

Guest

Randy said:
Dann Corbit wrote


Be sure and let us know when the gcc crowd gives in and supports
the C99 style VLA's.

Could you give an example where current gcc versions miscompile or
refuse to compile a program with a valid use of VLA's? I'm aware that
the gcc folks themselves say their VLA support is broken, so I don't
doubt that there are examples, but I'm curious and don't know of any.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,529
Latest member
JaclynShum

Latest Threads

Top