Summary: | Compile error on Solaris 8 - parser.cpp uses isblank, which is not available | ||
---|---|---|---|
Product: | [Applications] kalzium | Reporter: | Steve Evans <stevee> |
Component: | general | Assignee: | Kalzium Developers <kalzium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Steve Evans
2005-10-21 15:36:10 UTC
SVN commit 472788 by thiago: Fix code compilation on Solaris 8. isblank is not available outside the GNU C library: isblank() checks for a blank character; that is, a space or a tab. This function is a GNU extension. Instead, let's rely on QChar, which is always fully Unicode. To the Kalzium developers: m_str is a QString, so why is m_nextChar an int, instead of a QChar? BUG:114817 M +1 -1 parser.cpp --- branches/KDE/3.5/kdeedu/kalzium/src/parser.cpp #472787:472788 @@ -165,7 +165,7 @@ int Parser::skipWhitespace() { - while (isblank(m_nextChar)) + while (QChar(m_nextChar).isSpace()) getNextChar(); return m_nextChar; |