This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch] libstdc++/14608 Add C++-conforming wrappers for stdlib.h and math.h


On Tue, Jan 19, 2016 at 09:43:59PM +0000, Jonathan Wakely wrote:
> On 08/01/16 19:18 +0000, Jonathan Wakely wrote:
> >This resolves the longstanding issue that #include <math.h> uses the C
> >library header, which on most targets doesn't declare the additional
> >overloads required by C++11 26.8 [c.math], and similarly for
> ><stdlib.h>.
> >
> >With this patch libstdc++ provides its own <math.h> and <stdlib.h>
> >wrappers, which are equivalent to <cmath> or <cstdlib> followed by
> >using-directives for all standard names. This means there are no more
> >inconsistencies in the contents of the <cxxx> and <xxx.h> headers.
> 
> Tested x86_64-linux, powerpc64le-linux, powerpc-aix,
> x86_64-freebsd10.2, x86_64-dragonfly4.2
> 
> Committed to trunk.

I think this fix is incomplete.  There are still some test errors
because of missing signatures in the Plumhall testsuite.  Please
check the information I've added to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


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