Summary: | Compile error on Solaris 9 - kalziumutils.cpp gives a finite() undefined error | ||
---|---|---|---|
Product: | [Applications] kalzium | Reporter: | Bernd Kuhls <bernd.kuhls> |
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: |
Description
Bernd Kuhls
2005-11-16 18:13:21 UTC
SVN commit 480820 by pino: Fix the compilation on Solaris. Hope to backport it to the 3.5 branch before KDE 3.5.0. CCBUG: 116507 M +4 -0 kalziumutils.cpp --- trunk/KDE/kdeedu/kalzium/src/kalziumutils.cpp #480819:480820 @@ -14,6 +14,7 @@ #include "kalziumutils.h" #include <qfont.h> +#include <qglobal.h> #include <qrect.h> #include <qpainter.h> @@ -26,6 +27,9 @@ #include "prefs.h" #include <math.h> +#if defined(Q_OS_SOLARIS) +#include <ieeefp.h> +#endif int KalziumUtils::maxSize( const QString& string, const QRect& rect, QFont font, QPainter* p, int minFontSize, int maxFontSize ) { SVN commit 480823 by pino: Fix compilation on Solaris. Don't know if it will actually be in KDE 3.5.0. For sure it will be in KDE 3.5.1. BUG: 116507 M +4 -0 kalziumutils.cpp --- branches/KDE/3.5/kdeedu/kalzium/src/kalziumutils.cpp #480822:480823 @@ -16,8 +16,12 @@ #include <qfont.h> #include <qrect.h> #include <qpainter.h> +#include <qglobal.h> #include <math.h> +#if defined(Q_OS_SOLARIS) +#include <ieeefp.h> +#endif int KalziumUtils::maxSize( const QString& string, const QRect& rect, QFont font, QPainter* p, int minFontSize, int maxFontSize ) { |