Opened 14 years ago

Closed 14 years ago

#3400 closed defect (fixed)

Compile without --with-gdal is broken / type GDALDatasetH used outside ifdef USE_GDAL

Reported by: relet Owned by: warmerdam
Priority: low Milestone:
Component: GDAL Support Version: svn-trunk (development)
Severity: blocker Keywords:
Cc:

Description

Index: mapraster.c =================================================================== --- mapraster.c (revision 9997) +++ mapraster.c (working copy) @@ -337,7 +337,9 @@

char *pszTmp = NULL; char tiAbsFilePath[MS_MAXPATHLEN]; char *tiAbsDirPath = NULL;

+#if USE_GDAL

GDALDatasetH hDS;

+#endif

double adfGeoTransform[6]; const char *close_connection;

Change History (2)

in reply to:  description comment:1 by relet, 14 years ago

sorry for the formatting

Index: mapraster.c
===================================================================
--- mapraster.c (revision 9997)
+++ mapraster.c (working copy)
@@ -337,7 +337,9 @@
   char *pszTmp = NULL;
   char tiAbsFilePath[MS_MAXPATHLEN];
   char *tiAbsDirPath = NULL;
+#if USE_GDAL
   GDALDatasetH  hDS;
+#endif
   double       adfGeoTransform[6];
   const char *close_connection;
 

comment:2 by warmerdam, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for the report. I have corrected this in trunk as part of r9998.

Note: See TracTickets for help on using tickets.