On Thu, 5 Feb 2009 12:54:51 +0000 (GMT)
  trc <keats73-plp...@yahoo.co.uk> wrote:
>> 
> The changes required are all in qsastime- 
> 1. qsastime/CMakeLists.txt
>   1.1 Remove qsastime.h and qsastimedll.h from 
>qsastime_LIB_SRCS
>       If these are included the qsastime library is not 
>built by MSVC
> 
>       Looking at other CMake examples add_library 
>specifications 
>       do not include header files, so I don't think this 
>is MSVC 
>       specific.
> 
>   1.2 Add extra install command to install the headers. 
> 
> 2. qsastime.c
>   2.1 Add #include <ctype.h> for isdigit. This is a 
>standard header
>       so I have not made it MSVC specific.
> 
>   2.2 fmtlen = strlen(format)
>       while(i<fmtlen) ....
> 
>       This is basically to remove a warning from MSVC.
> 
>   2.3 The rest of the changes are to move variable 
>declarations to the 
>       beginning of each function.
> 
> 3. qsastime.h
>   3.1 Add include guard on header file.         
>        
> 4. qsastime_extra.c 
>   4.1 Move variable declarations to the beginning of 
>each function.
>   4.2 In passing note that the function getISOString is 
>not thread safe.
> 
> 5. qsastime_extra.h
>   5.1 Add include guard on header file.
>   5.2 In passing note that the function getISOString is 
>not thread safe.
> 
> 6. qsastime_test.c
>   6.1 Move variable declarations to the beginning of 
>each function.
> 
>   6.2 The MSVC version of strftime does not support all 
>the linux 
>       strftime format options. Using the original 
>options raises 
>       a runtime exception in the MSVC 2008 Debug 
>Configuration.
> 
>       Where possible I put in equivalent more basic 
>(MSVC) options 
>       when compling with MSVC
> 
>   6.3 Note that cygwin supports all the linux options 
>except %s
> 

I have used MSVC 6.0 on Windows XP and I find largely the
same issues. Terrence has clearly looked deeper than I
have - I merely responded to the compiler messages.

I am not sure I can incorporate his patches in the source
code today, but I will try.

Regards,

Arjen


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.





------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to