Discussion:
Current C standard
(too old to reply)
Hans-Peter Diettrich
2017-05-18 02:06:22 UTC
Permalink
I'm about to update my ToPas C-to-Pascal converter. Until now I only
have a copy of a C99 draft, and some older versions of CygWin/MinGW, VS
Express and BCB for the headers, for which my converter was working
perfectly.

Now I found in the RadStudio Windows headers significant changes, so
that I search for a more current version of the C standard and Windows
header files. The handling of the gcc headers also is not perfect right
now, another reason for updating my converter.

So the question is, where can I find a newer or final C specification,
and a set of Windows headers?

Free versions were fine, as I'm retired and use C for studies only.
ToPas is an open source project, but the published copies from 2004 seem
to have vanished. Now I plan to publish the sources on SourceForge or
GitHub, for better persistence. But don't hold your breath, it's Delphi
7 code only <gd&r>

TIA
DoDi
James Kuyper
2017-05-18 02:27:01 UTC
Permalink
Post by Hans-Peter Diettrich
I'm about to update my ToPas C-to-Pascal converter. Until now I only
have a copy of a C99 draft, and some older versions of CygWin/MinGW, VS
Express and BCB for the headers, for which my converter was working
perfectly.
Now I found in the RadStudio Windows headers significant changes, so
that I search for a more current version of the C standard and Windows
header files. The handling of the gcc headers also is not perfect right
now, another reason for updating my converter.
So the question is, where can I find a newer or final C specification,
and a set of Windows headers?
Free versions were fine, as I'm retired and use C for studies only.
ToPas is an open source project, but the published copies from 2004 seem
to have vanished. Now I plan to publish the sources on SourceForge or
GitHub, for better persistence. But don't hold your breath, it's Delphi
7 code only <gd&r>
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf> is almost
exactly the same as the official C2011 standard.
Keith Thompson
2017-05-18 03:16:15 UTC
Permalink
Hans-Peter Diettrich <***@aol.com> writes:
[...]
Post by Hans-Peter Diettrich
So the question is, where can I find a newer or final C specification,
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

is a free draft of the latest edition of the ISO C standard (2011).
The differences between it and the published standard (which is
not free) are minimal.

(n1256.pdf is a draft of the C99 standard; it includes the standard
itself with the three Technical Corrigenda merged into it.)
Post by Hans-Peter Diettrich
and a set of Windows headers?
I don't know. Perhaps a Windows-oriented newsgroup could help with
that.

[...]
--
Keith Thompson (The_Other_Keith) kst-***@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Noob
2017-05-18 08:23:15 UTC
Permalink
Post by James Kuyper
Post by Hans-Peter Diettrich
So the question is, where can I find a newer or final C specification,
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
is a free draft of the latest edition of the ISO C standard (2011).
The differences between it and the published standard (which is
not free) are minimal.
IMO, this HTML version is handy:

http://port70.net/~nsz/c/c11/n1570.html

Regards.

Loading...