Hi Terrence,

with this patch in hand, I can concentrate on adding a test to the CMake 
files.

Thanks,

Arjen

On 2009-02-18 15:11, trc wrote:
> Hi,
> 
> 
> Arjen Markus wrote:
> 
>> I have found the same problem with setenv() and unsetenv() on my
>> venerable platform (Windows XP, 32 bits, with MSVC 6.0). I will create
>> a workaround using putenv(), because right now building PLplot stops
>> on the QSAS test program.
>>
> 
> In case you haven't created the work round (and apologies for not sending it 
> earlier) please find a limited patch for implementing setenv for MSVC. 
>  
> This patch does not use CMake to configure the optional code instead relying 
> on Compiler and in source Macros for configuration.
> 
> With this patch MSVC 2008 version of qsastime produces 
> 
> 
> sizeof(time_t) = 8
> sizeof(int) = 4
> 0xffff
> Test 01 of calendar dates in the vicinity of the JD epoch
> 
> Start of Julian proleptic inner test
> input and output (strfMJD) date/time
> -4717-01-01T12:00:00.000000000000000Z
> -4717-01-01T12:00:00.0Z
> setFromUT JD =    -1826.0000000000000000 days
> Start of Gregorian proleptic inner test
> input and output (strftime), and output (strfMJD) date/time
> -4717-01-01T12:00:00.000000000000000Z
> setFromUT secs_past_epoch = -211021243200 seconds
> my_timegm secs_past_epoch = -1 seconds
> delta secs_past_epoch = -567845695 seconds
> test failed with inconsistency between setFromUT and my_timegm
> 
> 
> 
> Terrence
> 
> 
>       


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

Reply via email to