On Wed, 14 Sep 2016, Paul Eggert wrote: > > (There are other feature test macros for > > ISO C extensions as well.) > > Thanks, is there a list of these new macros somewhere? I might as well add > them all now.
ISO 24747 defines __STDC_WANT_MATH_SPEC_FUNCS__ (must be defined to expand to the integer constant 1). TR 24732 defines __STDC_WANT_DEC_FP__ (only needs to be defined, expansion doesn't matter). This has since been superseded by TS 18661-2, which defines __STDC_WANT_IEC_60559_DFP_EXT__ instead (again, expansion doesn't matter). TS 18661-5 defines __STDC_WANT_IEC_60559_ATTRIBS_EXT__ (expansion doesn't matter). TR 18037 does not define any feature test macros. -- Joseph S. Myers jos...@codesourcery.com