Opened 13 years ago

Last modified 13 years ago

#3850 closed defect

VSIL_STRICT_ENFORCE macro and debug applications — at Version 1

Reported by: rprinceley Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: ConfigBuild Version: svn-trunk
Severity: normal Keywords:
Cc:

Description (last modified by rprinceley)

Debug builds of Windows applications define _DEBUG (not DEBUG), the check in cpl_vsi.h should include _DEBUG so linking against debug version of GDAL uses correct VSILFILE definition.

/* Make VSIL_STRICT_ENFORCE active in DEBUG builds */
#ifdef DEBUG
#define VSIL_STRICT_ENFORCE
#endif

Change History (1)

comment:1 by rprinceley, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.