URL: <https://savannah.gnu.org/bugs/?68221>
Summary: [troff] make `units` a real type (a `struct`
wrapping `int)
Group: GNU roff
Submitter: gbranden
Submitted: Thu 09 Apr 2026 05:21:15 AM UTC
Category: Core
Severity: 1 - Wish
Item Group: Refactoring
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 09 Apr 2026 05:21:15 AM UTC By: G. Branden Robinson <gbranden>
C/C++'s `typedef` (really a type aliasing declarator) elides static type
checking that could otherwise be done.
Make `units` a real type and work through the consequences for conversions to
and from `int` where it is employed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68221>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
