Ticket #2909 (closed defect: invalid)
GDAL fails to compile on RHEL4U2 64-bit with gcc 4.3.2
| Reported by: | fagom | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Patch attached. Fails to compile otherwise. Some description:
Compiling gdal 1.5.2 on RHEL4U2 64-bit with gcc 4.3.2 fails on ogrgeojsonlayer.cpp with errors related to a "min" macro, etc.
A simple fix is to move:
#include<algorithm>
to be the first include in the file. I've checked that this has not yet been fixed in svn trunk. Additionally, in the same file, it seems that:
#include <jsonc/json.h>
should really use quotes rather than "<>"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

