[PATCH] stdlib/tst-strtod-round.c: Fix build on ARM
Joseph S. Myers
joseph@codesourcery.com
Wed Sep 24 15:13:00 GMT 2014
On Wed, 24 Sep 2014, Siddhesh Poyarekar wrote:
> On Wed, Sep 24, 2014 at 08:29:15PM +0530, Siddhesh Poyarekar wrote:
> > On Tue, Sep 16, 2014 at 02:32:50PM -0700, Will Newton wrote:
> > > Building this test on ARM fails because the prototypes for the long
> > > double variants of the math functions are unavailable.
> > >
> > > Add an additional include guard to math.h that enables long double math
> > > function declarations if _LIBC_TEST is defined and define _LIBC_TEST in
> > > stdlib/tst-strtod-round.c.
> > >
> > > ChangeLog:
> > >
> > > 2014-09-16 Will Newton <will.newton@linaro.org>
> > >
> > > * math/math.h: Define long double math functions if
> > > _LIBC_TEST is defined.
> > > * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
>
> Oh, and this needs a BZ.
I don't see why - it's not a bug that was user-visible in a release.
User programs, which should never define _LIBC or _LIBC_TEST, will have
got the required declarations anyway.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list