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: Build fails with an error in setlocale.h


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

Attachment: signature.asc
Description: PGP signature


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