Changes between Initial Version and Version 1 of Ticket #2216


Ignore:
Timestamp:
Feb 11, 2008, 9:33:39 AM (16 years ago)
Author:
warmerdam
Comment:

Patches applied in trunk (r13758) and 1.5 branch (r13759).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2216

    • Property Status newclosed
    • Property Resolutionfixed
  • Ticket #2216 – Description

    initial v1  
    331) The redefinitions of copysign, copysignf and copysignl to _copysign in cpl_config.h.vc causes syntax errors while including the mingw math.h.  The solution is to only redefine them if the compiler in use is MS VC++.
    44
    5 2) Currently CPL_STDCALL is only being redefined to __stdcall for VC++ compilers.  This means that an MinGW app build against a VC++ built GDAL does not use stdcall where appropriate.  The solution is for cpl_config.h.vc to always define CPL_STDCALL to __stdcall as long as CPL_DISABLE_STDCALL is not defined. 
     52) Currently CPL_STDCALL is only being redefined to _ _stdcall for VC++ compilers.  This means that an MinGW app build against a VC++ built GDAL does not use stdcall where appropriate.  The solution is for cpl_config.h.vc to always define CPL_STDCALL to _ _stdcall as long as CPL_DISABLE_STDCALL is not defined. 
    66