Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#163 closed defect (fixed)

std::tolower is not a valid template in XMLTester.cpp

Reported by: mloskot Owned by: mloskot
Priority: major Milestone:
Component: XML Tests Version: 2.2.3
Severity: Significant Keywords: tolower c c++
Cc:

Description

John Cartwright reported on the gdal-devel list problems with GEOS compilation using GCC on latest Mac OS 10.5.

Change History (4)

comment:1 by mloskot, 16 years ago

Milestone: 3.0.0
Owner: set to mloskot
Severity: UnassignedSignificant
Status: newassigned

comment:2 by mloskot, 16 years ago

Fix proposal is to replace the line 66 in file XMLTester.cpp with following line:

std::transform(str.begin(), str.end(), str.begin(), (int(*)(int))std::tolower);

It's been already confirmed as well working on Mac OS 10.5.

comment:3 by mloskot, 16 years ago

Resolution: fixed
Status: assignedclosed

I've applied this patch to the trunk (r2044)

comment:4 by (none), 15 years ago

Milestone: 3.0.0

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.