Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#34 closed defect (fixed)

isspace is not a member of std in XMLTester.cpp

Reported by: mloskot Owned by: strk@…
Priority: major Milestone:
Component: XML Tests Version: main
Severity: Significant Keywords: imported, phpbugtracker
Cc:

Description

In file geos/tests/xmltester/xmltester.cpp, line 184, std::isspace function is called using fully qualified name, with namespace. But this function is declared in std namespace only when including from C++ version of <ctype.h> -> <cctype>.

Second, in C language, isspace function is declared in ctype.h which also is not included. So, I'd like to remind about well-known issue in libstdc++, reported here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6257

It needs attention!

Fixed in patch attached to this report. The patch only adds one line:

#include <cctype>

Attachments (1)

xmltester.cpp-isspace-mloskot-20060228.3.patch (471 bytes ) - added by mateusz@… 18 years ago.
Patch proposal created using cvs diff -Nua

Download all attachments as: .zip

Change History (9)

by mateusz@…, 18 years ago

Patch proposal created using cvs diff -Nua

comment:1 by strk@…, 18 years ago

Resolution: nonefixed

comment:2 by mloskot, 16 years ago

Component: CoreXML Tests
Milestone: imported
Reporter: changed from mateusz@… to mloskot
Resolution: fixed
Status: closedreopened
Version: 3.0.0svn-trunk

comment:3 by mloskot, 16 years ago

Milestone: 3.0.0
Resolution: fixed
Status: reopenedclosed

comment:4 by mloskot, 16 years ago

Resolution: fixed
Status: closedreopened

comment:5 by mloskot, 16 years ago

Owner: changed from to strk@…
Status: reopenednew

comment:6 by mloskot, 16 years ago

Resolution: fixed
Status: newclosed

comment:7 by mloskot, 16 years ago

Priority: 2major
Severity: UnassignedSignificant

comment:8 by (none), 15 years ago

Milestone: 3.0.0

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.