Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 31 Mar 2016 20:34:22 +0900
From: Masanori Ogino <>
Subject: Defining __STDC_ISO_10646__, __STDC_IEC_559__ and so on with musl?


The C standard specifies some predefined macros to determine
implementation-dependent characteristics, e.g. __STDC_ISO_10646__.
However, it seems that those macros are omitted with musl-based
toolchains. (I read cross-musl patches and tested with Gentoo's musl

glibc handles them using a small header file named stdc-predef.h and a
hook to GCC. (glibc has the header separately and GCC treats it
specially since the macros should be defined even if the source code
doesn't include any headers.)

Could we provide the macros with similar approaches or patches to GCC
to just define them?

Masanori Ogino

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.