Opened 17 years ago
Closed 17 years ago
#1829 closed defect (fixed)
GSG: Use the actual C headers rather than the C++ wrappers
Reported by: | pvachon | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | gsg |
Cc: |
Description
The GSG drivers made use of the C++ "wrappers" around the standard C headers, such as:
- #include <cassert>
- #include <cmath>
- #include <cstdlib>
etc...
This is an issue for older compilers, such as MIPSpro. As such, this patch replaces these headers with the actual standard library header:
- #include <assert.h>
- #include <math.h>
- #include <stdlib.h>
etc...
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | gsg_fixes.patch added |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The patch for the GSG driver. To apply, copy to the frmts/gsg/ directory and run patch -p1 < gsg_fixes.patch