Public Comment Number PC-UK0053 ISO/IEC CD 9899 (SC22N2620) Public Comment =========================================== Date: 1998-01-17 Author: Clive D.W. Feather Author Affiliation: Self Postal Address: Demon Internet Limited 322 Regents Park Road London N3 2QQ United Kingdom E-mail Address: Telephone Number: +44 181 371 1138 Fax Number: +44 181 371 1037 Number of individual comments: 1 Comment 1. Category: Feature that should be included Committee Draft subsection: 7.4 Title: Require consistency if an implementation adds to Detailed description: 7.20.3 reserves all names such as int11_t and uint_least22_t. This allows implementations to define them in , but does not require these names to be handled consistently. Adding such a requirement would aid portability. This proposal does not require any types other than those already required by the header. [The following is a minimal change. If requested, I can rewrite the header to integrate the changes better.] Append to 7.4 as a new paragraph 5: For each typedef name listed as /optional/ and which can be defined as a type existing in the implementation, it is unspecified whether or not the type is defined, but if it is provided, so shall the corresponding limit and /fprintf/ macros (as with all the types in this header, the /fscanf/ macros are optional). Append to 7.4.1.1, 7.4.1.2, and 7.4.1.3 as a new paragraph 4: Any other typedef name of these two forms is an optional type. Append to 7.4.2 as a new paragraph 3: Any optional types shall have /MAX/ and, if signed, /MIN/ macros with the appropriate name and value as if explicitly included in the following subclauses. For example, if the type /uint14_t/ is provided, then the macro UINT14_MAX shall be provided with value exactly 16383. Append to 7.4.4p1: Any optional types shall have /fprintf/ and /fscanf/ macros with the appropriate name and value as if explicitly included in the following lists. For example, if the type /uint14_t/ is provided, then the macros /PRIo14/, /PRIu14/, /PRIx14/, /PRIX14/, /SCNo14/, /SCNu14/, and /SCNx14/ should be added to the lists below.