[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] strptime not in MinGW time.h
From: |
Stephen Leake |
Subject: |
[Monotone-devel] strptime not in MinGW time.h |
Date: |
Tue, 18 May 2010 04:49:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
I'm getting a compilation error on Windows MinGW:
../monotone/dates.cc: In static member function `static date_t
date_t::from_formatted_localtime(const std::string&, const std::string&)':
../monotone/dates.cc:446: error: `strptime' was not declared in this scope
On Debian, 'strptime' is in time.h; on MinGW, it is not; it isn't
anywhere in c:/MinGW/include
Upgrading to the latest MinGW 5.1.6 didn't help.
A web search turned up this reference:
which identifies 'strptime' as an "XSI"; "X/Open System Interfaces
Extension". So apparently MinGW doesn't support that.
Annotate says 'strptime' was added recently, as part of the
changelog-editor work:
f67e1dea.. by derek 2010-03-14
Can this be rewritten using more standard libraries?
--
-- Stephe
- [Monotone-devel] strptime not in MinGW time.h,
Stephen Leake <=
- Re: [Monotone-devel] strptime not in MinGW time.h, Derek Scherger, 2010/05/18
- Re: [Monotone-devel] strptime not in MinGW time.h, Thomas Moschny, 2010/05/19
- Re: [Monotone-devel] strptime not in MinGW time.h, Stephen Leake, 2010/05/20
- Re: [Monotone-devel] strptime not in MinGW time.h, Derek Scherger, 2010/05/20
- Re: [Monotone-devel] strptime not in MinGW time.h, Stephen Leake, 2010/05/21