This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x] <date_time> implementation
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Pedro Lamarão <pedro dot lamarao at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 03 Mar 2008 16:39:24 +0100
- Subject: Re: [c++0x] <date_time> implementation
- References: <d9cb29060803030718n405dea16w4bf775dd54d26287@mail.gmail.com>
Hi Pedro,
> Here is the start of an implementation of <date_time>.
>
Many thanks for your help in this area.
> I'm not sure about the implementation of get_system_time -- is
> clock_gettime acceptable? I'm not very familiar with these interfaces.
>
Remember that the library must build on *any* supported target. Among
other things, this implies that generic code can only assume C89 as the
underlying C library facilities. Anything beyond that needs configury
checks. Therefore, I would ask you to work a bit on that, and also make
sure that new symbols defined in src/ files are properly exported with
the right sysver (in practice, adjust config/abi/pre/gnu.ver).
As a general rule, new facilities need accompanying testcases and
successful regression testing of the entire testsuite.
Thanks again,
Paolo.