NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb



The following reply was made to PR standards/58601; it has been noted by GNATS.

From: matthew green <mrg%eterna23.net@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: re: standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
Date: Fri, 16 Aug 2024 18:01:14 +1000

 > +typedef unsigned char		char8_t;
 
 could / should this check CHAR_BIT == 8 before defining?
 
 sure, true on all netbsd platforms today and likely for
 the future, but just in case?
 
 i like how there's a lot of tests that someone else wrote :)
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index