Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 31 May 2023 10:45:47 +0200
From: Jens Gustedt <Jens.Gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: [C23 feature tests 0/4] Needed by other changes in C23

C23 introduces new attribute syntax and uses some of the attributes in
the header specification of some functions. If musl is not compiled in
C23 mode (which it will be for some time) we have to emulate or ignore
these attributes with some macro tricks.

Other features include support for new integer types, some of them
mandatory such as _BitInt types. musl itself doesn't use these
features for the compilation of the library itself, for example all
functionality for 128 bit types will be emulated.  But feature test
will be needed on the application side to detect full support of
[u]int128_t types such that musl and compilers that support the types
can work together.

Jens Gustedt (4):
  C23: provide fallbacks for the use of C attributes
  C23: add a feature test for the [u]int128_t
  Add a feature test for the _BitInt types.
  C23: add an internal interface for the new unsequenced attribute

 include/features.h | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

-- 
2.34.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.