Re: [PATCH] AC_USE_SYSTEM_EXTENSIONS: port to recent ISO C

2016-09-14 Thread Joseph Myers
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

Re: [PATCH] AC_USE_SYSTEM_EXTENSIONS: port to recent ISO C

2016-09-14 Thread Paul Eggert
On 09/14/2016 05:55 AM, Joseph Myers wrote: Why not __STDC_WANT_IEC_60559_TYPES_EXT__ (which makes GCC 7's declare limits for _FloatN and _FloatNx types; not yet anything in glibc, until the float128 work is in)? Sorry, I didn't know about __STDC_WANT_IEC_60559_TYPES_EXT__. I don't have

Re: [PATCH] AC_USE_SYSTEM_EXTENSIONS: port to recent ISO C

2016-09-14 Thread Joseph Myers
On Tue, 13 Sep 2016, Paul Eggert wrote: > * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): > Also define __STDC_WANT_IEC_60559_BFP_EXT__, > __STDC_WANT_IEC_60559_FUNCS_EXT__, and __STDC_WANT_LIB_EXT2__. Why not __STDC_WANT_IEC_60559_TYPES_EXT__ (which makes GCC 7's declare limits for

[PATCH] AC_USE_SYSTEM_EXTENSIONS: port to recent ISO C

2016-09-13 Thread Paul Eggert
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Also define __STDC_WANT_IEC_60559_BFP_EXT__, __STDC_WANT_IEC_60559_FUNCS_EXT__, and __STDC_WANT_LIB_EXT2__. * NEWS, doc/autoconf.texi (Posix Variants): Document this. Also, document other changes in this area that were not properly documented