Hi Alan, my old MSVC compiler is complaining about a few things with Terrence's patch - nothing I can not resolve, but the worst is that the testlib program stops immediately:
sizeof(time_t) = 4 tests abandoned because time_t too small on this platform to run this programme What is the way forward here? Will the qsastime library fail altogether then? Output from qsastime_test does not look bad (see below). Regards, Arjen Start date/time components: 2004-1-23 13:39: 2.345678901 date/time components: 2004-1-23 13:39: 2.345678901 MJD = 53027, seconds = 49142.345678901 MJD = 53027.5687771491 JD = 2453028.0687771491 ISO string = '2004-01-23 13:39:02.3456789010' strfMJD:ISO equiv: '2004-01-23 13:39:02.345678901' strfMJD:ISO equiv: '2004-01-23T13:39:02.3456Z' difference MJD (month/day) - MJD(doy) '0' difference MJD (d-1, h+24) - MJD(d, h) '-8.42125e-017' CDF epoch sec 63242084342345.680 from CDF ISO string (CDF epoch is accurate to msec only) = '2004-01-23T13:39:02.3456802368Z' Day of week is/was Fri ISO string = '2004-01-23 13:39:02.3456789010' for 2004-01-23 13:39:02.3456789010, MJD = 53027, seconds = 49142.345679 ISO string = '2004-01-23T13:39:02.3456789010Z' for 2004-01-23T13:39:02.3456789010Z, MJD = 53027, seconds = 49142.345679 Gregorian = '1752-09-15 00:39:02.3456789010' 1752-09-26T00:39:02.3456789010Z Julian = '1752-09-15 00:39:02.3456789010' Gregorian, (give us back our 11 days) chars 154 for strfMJD(): -------- 'Fri Jan 23 13:39:02 UTC 2004' Fri Jan 23 13:39:02 2004 01/23/04 2004-01-23 023 01:39:02 PM 1074865142 23-Jan-2004 strftime(): (invalid before 1970) ------ 'Fri Jan 23 13:39:02 UTC 2004' 01/23/04 13:39:02 01/23/04 2004-01-23 023 01:39:02 PM %s not implemented 23-Jan-2004 Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and parts of Rijkswaterstaat have joined forces in a new independent institute for delta technology, Deltares. Deltares combines knowledge and experience in the field of water, soil and the subsurface. We provide innovative solutions to make living in deltas, coastal areas and river basins safe, clean and sustainable. DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel