Opened 9 months ago

Closed 3 weeks ago

#25278 closed defect (fixed)

clean up torint.h

Reported by: Hello71 Owned by: Hello71
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Minor Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

  1. these shims do not produce ISO C compliant types, since (u)intN_t are specified to have no padding bits (and that intN_t uses two's complement). the limit macros would also be incorrect in such a case.
  2. C99 requires that if the implementation does provide such standard integer types, it must also define the intN_t types.
  3. (u)intx_t are available almost everywhere now anyways

Child Tickets

Change History (1)

comment:1 Changed 3 weeks ago by Hello71

Resolution: fixed
Status: assignedclosed

done in #26626

Note: See TracTickets for help on using tickets.