Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C11 Standard docs

Starting from this SO protected question I'm trying to understand what the difference between those documents:

  1. 9899 2012 costs $60
  2. 9899 2011 costs $265

As you can see those documents have very different prices and I don't know if the cheaper one is valid or is something like draft or cut copy of the real standard.

Did someone buy the INCITS one?


EDIT

As @Chqrlie pointed out: What is the difference between the ANSI and ISO official documents available for a free and the final draft freely accessible from the official website at open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

like image 683
LPs Avatar asked Aug 03 '16 10:08

LPs


2 Answers

I finally got answers from:

  • Ansi

    The ISO/IEC 9899:2011 is the original ISO standard published by ISO.
    The INCITS/ISO/IEC 9899-2012 is the domestic U.S. adoption of the ISO.

  • INCITS

    Technically, the two standards are identical. The US version has additional front matter to add a U.S. cover and adoption date details. Once we adopt the international standard, we can set the price based on our fee schedule, which generally results in a lesser fee than buying the ISO version.

    To provide more background on this, most INCITS technical committees hold U. S. Technical Advisory Group (TAG) relationships to ISO/IEC JTC 1 subcommittees and working groups and, to some ISO technical committees, subcommittees and working groups.
    Subject to a few exceptions, INCITS adopts all ISO/IEC or ISO standards that fall within its program of work as “Identical” American National Standards in accordance with the ANSI “Expedited Procedures for the Identical Adoption of an ISO or IEC standard as an American National Standard”.

    Similarly, INCITS will generally withdraw any such adopted American National Standard that has been withdrawn as an ISO/IEC or ISO International Standard.

like image 57
LPs Avatar answered Oct 02 '22 22:10

LPs


What is the difference between the ANSI and ISO official documents available for a free and the final draft freely accessible from the official website at open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

There were several erroneous sentences in n1570 mentioning _Alignof for expressions, which doesn't exist. So _Alignof was removed from 6.3.2.1p2, p3, p4, fn. 65; and 6.7.1 fn. 121.

Note that since C11 we had a (very trivial) technical corrigendum and a whole lot of accepted defect reports that a conforming C11 compiler may implement ahead of a new TC or standard.

like image 27
Cubbi Avatar answered Oct 02 '22 21:10

Cubbi