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 mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel