Ticket #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: | 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
Change History
Note: See
TracTickets for help on using
tickets.

