cvs newlib build issue

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Oct 15 08:28:00 GMT 2009


Please:

http://cygwin.com/acronyms/#TOFU


On Oct 14 18:46, Stan Moore wrote:
>> -----Original Message-----
>> From: Stan Moore [mailto:BLAH]

Please #2:

http://cygwin.com/acronyms/#PCYMTNQREAIYR


>> Actually this is specifically a newlib issue. Apparently sometime back in
>> March Corinna added 
>> 
>> size_t  _EXFUN(wcsftime, (wchar_t *, size_t, const wchar_t *, const struct
>> tm *));
>> 
>> But forgot to add time.h to the header so the struct tm is a problem. It
>> doesn't seem to get pulled in anywhere else so a top level build is broke
>> right now. 
>> 
>> It's not a big problem, but I don't have any direct dealings with newlib and
>> lack a better communication channel to point this out.

You "direct dealings" are no requirement to send stuff like this to
the newlib list.  Actually, there's no reason *not* to send this to
the newlib list.

> Sorry, and yes before anyone asks - yes I am stupid. The header in question
> is wchar.h. So wchar.h is missing time.h :)

No, it's missing a declaration of struct tm.  POSIX requires it.
I fixed that in CVS.  Thanks for the report.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list