Build fails with an error in setlocale.h

Corinna Vinschen vinschen@redhat.com
Tue Aug 16 17:04:00 GMT 2016


On Aug 16 16:14, Matthew Wahab wrote:
> On 16/08/16 15:28, Corinna Vinschen wrote:
> > On Aug 16 14:59, Matthew Wahab wrote:
> > > Thanks for that. The patches worked but now there are failures to do with
> > > _C_monetary_locale, _C_numeric_locale, _C_time_locale and
> > > _C_messages_locale. e.g.
> > > ----
> > > newlib-cygwin/newlib/libc/stdlib/../locale/setlocale.h: In function
> > > '__get_monetary_locale':
> > > newlib-cygwin/newlib/libc/stdlib/../locale/setlocale.h:329:10: error:
> > > incompatible types when returning type 'const struct lc_monetary_T' but
> > > 'const struct lc_monetary_T *' was expected
> > >     return _C_monetary_locale;
> > >            ^~~~~~~~~~~~~~~~~~
> > > ----
> > > There are a number of these, it looks like they're all in setlocale.h.
> > 
> > Forgot the &.  Should be fixed now.
> 
> Yes, cross-compiled aarch64-none-elf now builds.

Thanks for your feedback.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160816/a1374066/attachment.sig>


More information about the Newlib mailing list