Ticket #34 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

isspace is not a member of std in XMLTester.cpp

Reported by: mloskot Owned by: strk@…
Priority: major Milestone:
Component: XML Tests Version: svn-trunk
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

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

Change History

Changed 7 years ago by mateusz@…

Patch proposal created using cvs diff -Nua

Changed 7 years ago by strk@…

  • resolution changed from none to fixed

Changed 6 years ago by mloskot

  • status changed from closed to reopened
  • reporter changed from mateusz@… to mloskot
  • component changed from Core to XML Tests
  • version changed from 3.0.0 to svn-trunk
  • milestone imported deleted
  • resolution fixed deleted

Changed 6 years ago by mloskot

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 3.0.0

Changed 6 years ago by mloskot

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 6 years ago by mloskot

  • owner changed from to strk@…
  • status changed from reopened to new

Changed 6 years ago by mloskot

  • status changed from new to closed
  • resolution set to fixed

Changed 5 years ago by mloskot

  • priority changed from 2 to major
  • severity changed from Unassigned to Significant

Changed 4 years ago by anonymous

  • milestone 3.0.0 deleted

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.