Changes between Version 24 and Version 25 of GDAL20Changes
- Timestamp:
- Nov 9, 2012, 12:49:52 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GDAL20Changes
v24 v25 10 10 11 11 CPL_STDCALL is a windows only macro marking parts of the GDAL C API as using standard call rather than cdecl calling conventions on windows. This was done to make these functions easier to call from traditional VB. It is not clear that this offers useful value, and it might be prudent to just strip all reference to CPL_STDCALL from the GDAL/OGR tree. 12 13 == Do not alias VSILFILE* to FILE* in release mode == 14 15 Since GDAL 1.8 ?, when DEBUG is defined, VSILFILE is defined as "typedef struct _VSILFILE VSILFILE;", whereas in release mode it is defined as "typedef FILE VSILFILE;". This was done as a soft way of transitionning old code to using VSILFILE* when appropriate instead of using FILE* improperly. But this can be confusing in some situations ( see http://lists.osgeo.org/pipermail/gdal-dev/2012-November/034610.html ), so it is better to enforce strict typing in all situations. User code that would still improperly used FILE* in VSILFILE* context should be adapted. The GDAL base code itself is ready for that. 16 17 This transition was anticipated in http://trac.osgeo.org/gdal/wiki/rfc7_vsilapi . 12 18 13 19 == Fix const correctness ==