The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1799 
====================================================================== 
Reported By:                steffen
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1799
Category:                   Base Definitions and Headers
Type:                       Error
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       steffen 
Organization:                
User Reference:              
Section:                    endian.h 
Page Number:                240, 661 
Line Number:                8462-8467, 23136-23139, 23151 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-01-23 22:25 UTC
Last Modified:              2024-01-23 22:25 UTC
====================================================================== 
Summary:                    endian.h unconditionally requires 64-bit integers
Description: 
Optional for stdint.h, but not endian.h.
Desired Action: 
At the very location, change

  8462           uint64_t     htobe64(uint64_t);
  8463           uint64_t     htole64(uint64_t);
  8464           uint64_t     be64toh(uint64_t);
  8465           uint64_t     le64toh(uint64_t);
  8466           The <endian.h> header shall define the uint16_t, uint32_t,
and  uint64_t types as described in
  8467           <stdint.h>.

accordingly.  (Ie refer to "Integer types" of stdint.h.)

On page 661, lines 23136-23139, change

  23136           uint64_t htobe64(uint64_t host_64bits);
  23137           uint64_t htole64(uint64_t host_64bits);
  23138           uint64_t be64toh(uint64_t big_endian_64bits);
  23139           uint64_t le64toh(uint64_t little_endian_64bits);

in the same way, and on line 23151, change

  For each of the sizes 16, 32 and 64

to

  For each of the sizes 16 and 32, and if supported 64
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-01-23 22:25 steffen        New Issue                                    
2024-01-23 22:25 steffen        Name                      => steffen         
2024-01-23 22:25 steffen        Section                   => endian.h        
2024-01-23 22:25 steffen        Page Number               => 240, 661        
2024-01-23 22:25 steffen        Line Number               => 8462-8467,
23136-23139, 23151
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [Is... Steffen Nurpmeso via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to