This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ISO C99 support in <math.h> for C++98


On 2016-03-22 13:53, Yaakov Selkowitz wrote:
There's nothing wrong with -std=gnu++98.  The problem is with configure
testing C99 macros with -std=c++98, which makes no sense and only works
on glibc because they use -D_GNU_SOURCE indiscriminately with g++.  Fix
those configure tests to use -std=c++11, as we did on Cygwin, and the
features should be enabled.

The attached patches for GCC enable _GLIBCXX_USE_C99 support with the current feature test macros.

--
Yaakov

Attachment: 5.3-c99-in-cxx.patch
Description: Text document

Attachment: 5.3-newlib-funcs.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]